D'Arcy J.M. Cain <[EMAIL PROTECTED]> wrote:
>I managed to move everything into one test file and switched to the
>SimpleXMLRPCServer module but to no avail.  The new code is at
>ftp://ftp.druid.net/pub/distrib/test_2.5

It seems be this issue:

        http://bugs.python.org/issue1739842

Your handler in the server thread correctly catches the RuntimeException
and converts into a Fault object which it returns.  Unfortunately,
xmlrpclib then throws an exception instead of marshalling the Fault
object.  Your server catches the exception and turns it into a 500
HTTP server error.  The client thread then throws a ProtocolError,
which is uncaught.

So exceptions are working fine in your test case, the problem is that
xmlrpclib.dumps() can't marshall xmlrpclib.Fault objects in 2.5.

                                Ross Ridge

-- 
 l/  //   Ross Ridge -- The Great HTMU
[oo][oo]  [EMAIL PROTECTED]
-()-/()/  http://www.csclub.uwaterloo.ca/~rridge/ 
 db  //   
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to