#4 Crashes when using remote

closed-fixed
5
2004-11-03
2004-10-22
Anonymous
No

[jocke@c-655ee353 bin]$ btqueue.py daemon
[jocke@c-655ee353 bin]$ btqueue.py remote
>>> list
Traceback (most recent call last):
File "/usr/lib/python2.3/site-
packages/BitQueue/manager.py", line 1502, in mainloop
self.cmdloop()
File "/usr/lib/python2.3/cmd.py", line 133, in cmdloop
stop = self.onecmd(line)
File "/usr/lib/python2.3/cmd.py", line 210, in onecmd
return func(arg)
File "/usr/lib/python2.3/site-
packages/BitQueue/manager.py", line 1626, in do_list
res = self.manager.do_list(line)
File "/usr/lib/python2.3/site-
packages/BitQueue/xmlrpc.py", line 124, in __call__
dict = self.__send(self.__name,(self.__id,)+args)
File "/usr/lib/python2.3/site-
packages/BitQueue/xmlrpc.py", line 164, in __request
verbose=self.__verbose
File "/usr/lib/python2.3/xmlrpclib.py", line 1080, in
request
return self._parse_response(h.getfile(), sock)
File "/usr/lib/python2.3/xmlrpclib.py", line 1219, in
_parse_response
return u.close()
File "/usr/lib/python2.3/xmlrpclib.py", line 742, in close
raise Fault(**self._stack[0])
Fault: <Fault 1: "exceptions.AttributeError:class
SimpleXMLRPCRequestHandler has no
attribute '_dispatch'">

Discussion

  • Logged In: YES
    user_id=101538

    xmlrpclib.py in python 2.3 is incompatible with one in
    python 2.2. I will find a way to make it work on both version.

     
    • assigned_to: nobody --> xgie
    • status: open --> closed-fixed