Public bug reported: Binary package hint: python-soappy
server.py: """ import SOAPpy def f(): raise SOAPpy.faultType(faultcode="this is the code",faultstring="this is the string") s = SOAPpy.SOAPServer(('',12345)) s.registerFunction(f) s.serve_forever() """ client.py: """ import SOAPpy s = SOAPpy.SOAPProxy('http://localhost:12345') s.f() """ This code works in python2.4, but it doesn't in python2.5, because in SOAPBuilder.py +283: """ meth = getattr(self, "dump_" + type(obj).__name__) """ type(obj) has changed (typeFault is subclass of Exception -through SOAPpy.Errors.Error-, and now Exception is a type instead of a class, and str(type(myfaultType)) is not "instance" but "faultType"). Adding this line at the end of the "dump_instance" definition (line 592 of SOAPBuilder.py): """ dump_faultType = dump_instance # For Python 2.5+ """ seems to fix it, but I don't know what kind of new errors it might add 0:-) ** Affects: python-soappy (Ubuntu) Importance: Undecided Status: Unconfirmed -- faultTypes serialization broken, exceptions are not being propagated https://bugs.launchpad.net/bugs/111509 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs