From: Gordon H. <go...@he...> - 2003-10-27 12:16:46
|
Hello, I am having some problems with apt-proxy-v2. It was working great and then I installed the latest version of python-apt with was put against python2.3 and it hasn't worked since. I have triied rolling it back to the previous version but no such luck. I triied upgrading the cvs and again no luck. Can someone please help. Gordon. Below is the output from the apt-proxy-v2 log file. 2003/10/27 22:56 EST [*AptProxy*] [recycle:9]RECYCLING:/debian/pool/contrib/t/tomcat4/tomcat4_4.1.24.orig.tar.gz 2003/10/27 22:56 EST [*AptProxy*] Traceback (most recent call last): File "/usr/lib/python2.2/site-packages/twisted/python/log.py", line 52, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib/python2.2/site-packages/twisted/python/context.py", line 32, in callWithContext return func(*args,**kw) File "/usr/lib/python2.2/site-packages/twisted/internet/default.py", line 122, in run self.mainLoop() File "/usr/lib/python2.2/site-packages/twisted/internet/default.py", line 130, in mainLoop self.runUntilCurrent() --- <exception caught here> --- File "/usr/lib/python2.2/site-packages/twisted/internet/base.py", line 368, in runUntilCurrent call.func(*call.args, **call.kw) File "/usr/lib/python2.2/site-packages/apt_proxy/misc.py", line 152, in process self.factory.access_times[uri] = os.path.getatime(path) File "/usr/lib/python2.2/shelve.py", line 77, in __setitem__ self.dict[key] = f.getvalue() bsddb.error: (22, 'Invalid argument') 2003/10/27 22:56 EST [FetcherHttp,client] Traceback (most recent call last): File "/usr/lib/python2.2/site-packages/twisted/internet/default.py", line 472, in doSelect _logrun(selectable, _drdw, selectable, method, dict) File "/usr/lib/python2.2/site-packages/twisted/python/log.py", line 65, in callWithLogger callWithContext({"system": lp}, func, *args, **kw) File "/usr/lib/python2.2/site-packages/twisted/python/log.py", line 52, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib/python2.2/site-packages/twisted/python/context.py", line 32, in callWithContext return func(*args,**kw) --- <exception caught here> --- File "/usr/lib/python2.2/site-packages/twisted/internet/default.py", line 481, in _doReadOrWrite why = getattr(selectable, method)() File "/usr/lib/python2.2/site-packages/twisted/internet/tcp.py", line 216, in doRead return self.protocol.dataReceived(data) File "/usr/lib/python2.2/site-packages/twisted/protocols/basic.py", line 184, in dataReceived return self.rawDataReceived(data) File "/usr/lib/python2.2/site-packages/apt_proxy/apt_proxy.py", line 504, in rawDataReceived http.HTTPClient.rawDataReceived(self, data) File "/usr/lib/python2.2/site-packages/twisted/protocols/http.py", line 354, in rawDataReceived self.handleResponseEnd() File "/usr/lib/python2.2/site-packages/twisted/protocols/http.py", line 336, in handleResponseEnd self.handleResponse(b) File "/usr/lib/python2.2/site-packages/apt_proxy/apt_proxy.py", line 509, in handleResponse self.apDataEnd(buffer) File "/usr/lib/python2.2/site-packages/apt_proxy/apt_proxy.py", line 338, in apDataEnd self.factory.file_served(self.request.uri) File "/usr/lib/python2.2/site-packages/apt_proxy/apt_proxy.py", line 1418, in file_served self.access_times[uri]=time.time() File "/usr/lib/python2.2/shelve.py", line 77, in __setitem__ self.dict[key] = f.getvalue() bsddb.error: (22, 'Invalid argument') 2003/10/27 22:56 EST [FetcherHttp,client] Stopping factory <twisted.internet.base.BCFactory instance at 0x83c27fc> 2003/10/27 23:06 EST [FetcherHttp,client] Traceback (most recent call last): File "/usr/lib/python2.2/site-packages/twisted/internet/default.py", line 472, in doSelect _logrun(selectable, _drdw, selectable, method, dict) File "/usr/lib/python2.2/site-packages/twisted/python/log.py", line 65, in callWithLogger callWithContext({"system": lp}, func, *args, **kw) File "/usr/lib/python2.2/site-packages/twisted/python/log.py", line 52, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib/python2.2/site-packages/twisted/python/context.py", line 32, in callWithContext return func(*args,**kw) --- <exception caught here> --- File "/usr/lib/python2.2/site-packages/twisted/internet/default.py", line 481, in _doReadOrWrite why = getattr(selectable, method)() File "/usr/lib/python2.2/site-packages/twisted/internet/tcp.py", line 216, in doRead return self.protocol.dataReceived(data) File "/usr/lib/python2.2/site-packages/twisted/protocols/basic.py", line 184, in dataReceived return self.rawDataReceived(data) File "/usr/lib/python2.2/site-packages/apt_proxy/apt_proxy.py", line 504, in rawDataReceived http.HTTPClient.rawDataReceived(self, data) File "/usr/lib/python2.2/site-packages/twisted/protocols/http.py", line 354, in rawDataReceived self.handleResponseEnd() File "/usr/lib/python2.2/site-packages/twisted/protocols/http.py", line 336, in handleResponseEnd self.handleResponse(b) File "/usr/lib/python2.2/site-packages/apt_proxy/apt_proxy.py", line 509, in handleResponse self.apDataEnd(buffer) File "/usr/lib/python2.2/site-packages/apt_proxy/apt_proxy.py", line 338, in apDataEnd self.factory.file_served(self.request.uri) File "/usr/lib/python2.2/site-packages/apt_proxy/apt_proxy.py", line 1418, in file_served self.access_times[uri]=time.time() File "/usr/lib/python2.2/shelve.py", line 77, in __setitem__ self.dict[key] = f.getvalue() bsddb.error: (22, 'Invalid argument') 2003/10/27 23:06 EST [FetcherHttp,client] Stopping factory <twisted.internet.base.BCFactory instance at 0x841a52c> -- Gordon Heydon <go...@he...> |