From: Julien A. <jul...@kd...> - 2005-03-03 12:22:07
|
I cant seem to get apt-proxy-v2 working.=20 apt-proxy.log contains, after an "apt-get update" on the clients : 2005/03/03 13:23 CET [Channel,48,192.168.1.2] [debug] Headers: Host:=20 192.168.1.3:9999, Connection: keep-alive, User-Agent: Debian APT-HTTP/1.3 2005/03/03 13:23 CET [Channel,48,192.168.1.2] [debug] Request:=20 GET /dists/unstable/non-free/binary-i386/Release 2005/03/03 13:23 CET [Channel,48,192.168.1.2] [debug] Adding dists backend= =20 dynamicaly 2005/03/03 13:23 CET [Channel,48,192.168.1.2] Traceback (most recent call=20 last): =A0 =A0 =A0 =A0 =A0 File "/usr/lib/python2.3/site-packages/twisted/internet= /default.py",=20 line 526, in doSelect =A0 =A0 =A0 =A0 =A0 =A0 _logrun(selectable, _drdw, selectable, method, dict) =A0 =A0 =A0 =A0 =A0 File "/usr/lib/python2.3/site-packages/twisted/python/l= og.py", line=20 65, in callWithLogger =A0 =A0 =A0 =A0 =A0 =A0 callWithContext({"system": lp}, func, *args, **kw) =A0 =A0 =A0 =A0 =A0 File "/usr/lib/python2.3/site-packages/twisted/python/l= og.py", line=20 52, in callWithContext =A0 =A0 =A0 =A0 =A0 =A0 return context.call({ILogContext: newCtx}, func, *a= rgs, **kw) =A0 =A0 =A0 =A0 =A0 File "/usr/lib/python2.3/site-packages/twisted/python/c= ontext.py",=20 line 43, in callWithContext =A0 =A0 =A0 =A0 =A0 =A0 return func(*args,**kw) =A0 =A0 =A0 =A0 --- <exception caught here> --- =A0 =A0 =A0 =A0 =A0 File "/usr/lib/python2.3/site-packages/twisted/internet= /default.py",=20 line 535, in _doReadOrWrite =A0 =A0 =A0 =A0 =A0 =A0 why =3D getattr(selectable, method)() =A0 =A0 =A0 =A0 =A0 File "/usr/lib/python2.3/site-packages/twisted/internet= /tcp.py",=20 line 255, in doRead =A0 =A0 =A0 =A0 =A0 =A0 return self.protocol.dataReceived(data) =A0 =A0 =A0 =A0 =A0 File "/usr/lib/python2.3/site-packages/twisted/protocol= s/basic.py",=20 line 223, in dataReceived =A0 =A0 =A0 =A0 =A0 =A0 why =3D self.lineReceived(line) =A0 =A0 =A0 =A0 =A0 File "/usr/lib/python2.3/site-packages/twisted/protocol= s/http.py",=20 line 965, in lineReceived =A0 =A0 =A0 =A0 =A0 =A0 self.allContentReceived() =A0 =A0 =A0 =A0 =A0 File "/usr/lib/python2.3/site-packages/apt_proxy/apt_pr= oxy.py", line=20 1628, in allContentReceived =A0 =A0 =A0 =A0 =A0 =A0 http.HTTPChannel.allContentReceived(self) =A0 =A0 =A0 =A0 =A0 File "/usr/lib/python2.3/site-packages/twisted/protocol= s/http.py",=20 line 1006, in allContentReceived =A0 =A0 =A0 =A0 =A0 =A0 req.requestReceived(command, path, version) =A0 =A0 =A0 =A0 =A0 File "/usr/lib/python2.3/site-packages/twisted/protocol= s/http.py",=20 line 557, in requestReceived =A0 =A0 =A0 =A0 =A0 =A0 self.process() =A0 =A0 =A0 =A0 =A0 File "/usr/lib/python2.3/site-packages/apt_proxy/apt_pr= oxy.py", line=20 1349, in process =A0 =A0 =A0 =A0 =A0 =A0 self.backend =3D Backend(self.uri[1:].split('/')[0]= , self.factory =A0 =A0 =A0 =A0 exceptions.AttributeError: Factory instance has no __call__= method any clue ?? (Debian SID system) Julien Antille |