[XML-SIG] xmlrpclib.py exception while trying to raise exception

Dieter Maurer dieter at handshake.de
Sun Jan 17 08:21:53 CET 2010


ssteinerX at gmail.com wrote at 2010-1-15 21:47 -0500:
>This just popped up in a program that has successfully (in this run) made thousands of multicall()s.
> ...
>Anyone have any clues about why the exception itself wouldn't be defined or should I just file a bug?
> ...
>File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xmlrpclib.py", line 1042,                   
>in __call__                                                                                                         
>    return MultiCallIterator(self.__server.system.multicall(marshalled_list))                                       
>  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xmlrpclib.py", line 1199, in __call__                                                                                                         
>    return self.__send(self.__name, args)                                                                           
>  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xmlrpclib.py", line 1489, in __request                                                                                                       
>    verbose=self.__verbose                                                                                          
>  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xmlrpclib.py", line 1253, in request                                                                                                         
>    return self._parse_response(h.getfile(), sock)                                                                  
>  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response                                                                                                  
>    return u.close()                                                                                                
>  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xmlrpclib.py", line 838, in close                                                                                                              
>    raise Fault(**self._stack[0])                                                                                   
>Fault: <Fault 1: "<type 'exceptions.NameError'>:global name 'Fault' is not defined">

Almost surely, the "NameError" comes from your XMLRPC server, not
the XMLRPC client.

If you are lucky, your server logs sufficient information for exceptions
(e.g. the traceback) to allow you to find out where the exception
occurred.



-- 
Dieter


More information about the XML-SIG mailing list