Python trouble
Hi Sugree, a while ago I posted on assigning priorities here. Now I needed this feature urgently, so I tried using BTQueue from svn, just to be sure not to miss something. Unfortunately I updated my Python to 2.4.4 at the same time (my box is MacOSX 10.4, Python via MacPorts). Now I get the following errors (either w/ btq 0.1.4 or 0.1.3 489):
Traceback (most recent call last):
File "/usr/local/lib/python2.4/site-packages/BitQueue/manager.py", line 1882, in mainloop
self.cmdloop()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/cmd.py", line 142, in cmdloop
stop = self.onecmd(line)
File "/usr/local/lib/python2.4/site-packages/BitQueue/manager.py", line 1351, in onecmd
ret = cmd.Cmd.onecmd(self,l)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/cmd.py", line 218, in onecmd
return self.default(line)
File "/usr/local/lib/python2.4/site-packages/BitQueue/manager.py", line 1819, in default
res = self.manager.default(line)
File "/usr/local/lib/python2.4/site-packages/BitQueue/xmlrpc.py", line 143, in __call__
dict = self.__send(self.__name,(self.__id,)+args)
File "/usr/local/lib/python2.4/site-packages/BitQueue/xmlrpc.py", line 184, in __request
verbose=self.__verbose
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/xmlrpclib.py", line 1131, in request
errcode, errmsg, headers = h.getreply()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/httplib.py", line 1137, in getreply
response = self._conn.getresponse()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/httplib.py", line 866, in getresponse
response.begin()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/httplib.py", line 336, in begin
version, status, reason = self._read_status()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/httplib.py", line 294, in _read_status
line = self.fp.readline()
File "/usr/local/lib/python2.4/site-packages/BitQueue/timeoutsocket.py", line 381, in readline
buf = self.recv(bufsize)
File "/usr/local/lib/python2.4/site-packages/BitQueue/timeoutsocket.py", line 298, in recv
raise Timeout("Recv timed out")
Timeout: Recv timed outI have absolutely no idea debugging python - so please help ;-) Perhaps this is of interest: python bugs - perhaps ... I would like to stick w/ BTQ because I have similar plans like you using BTQ on Embedded Devices, but unlike you not on a "pre-build router" but on something like a Soekris or a WRAP-board (just for your info, perhaps one of these is of interest for you also). Many thanks in advance !
- 3027 reads


possible problems
There are so many possible problems that you should check them one by one.
Please let me know what you get.
Sugree, thank you very much
Post new comment