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

ssteinerX@gmail.com ssteinerx at gmail.com
Sun Jan 17 13:21:06 CET 2010

On Jan 17, 2010, at 2:21 AM, Dieter Maurer wrote:

> 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.

Thanks.  Unfortunately I don't have access to the remote -- it's a service run by another company.

This seems to have occurred during shutdown when the connection was trying to close itself but the Fault object had already been removed.



More information about the XML-SIG mailing list