[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

apt-proxy 1.9.35~bpo.1 bug (missing attribute http_status)



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I have problems with apt-proxy 1.9.35~bpo.1:

Some apt-clients wait forever getting the packages list after this error:

2006/12/20 07:40 CET [FetcherHttpClient,client] Traceback (most recent call last):
          File "/usr/lib/python2.3/site-packages/twisted/application/app.py", line 95, in runReactorWithLogging
            reactor.run()
          File "/usr/lib/python2.3/site-packages/twisted/internet/default.py", line 126, in run
            self.mainLoop()
          File "/usr/lib/python2.3/site-packages/twisted/internet/default.py", line 137, in mainLoop
            self.doIteration(t)
          File "/usr/lib/python2.3/site-packages/twisted/internet/default.py", line 526, in doSelect
            _logrun(selectable, _drdw, selectable, method, dict)
        --- <exception caught here> ---
          File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 65, in callWithLogger
            callWithContext({"system": lp}, func, *args, **kw)
          File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 52, in callWithContext
            return context.call({ILogContext: newCtx}, func, *args, **kw)
          File "/usr/lib/python2.3/site-packages/twisted/python/context.py", line 43, in callWithContext
            return func(*args,**kw)
          File "/usr/lib/python2.3/site-packages/twisted/internet/default.py", line 549, in _doReadOrWrite
            selectable.connectionLost(f)
          File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line 447, in connectionLost
            Connection.connectionLost(self, reason)
          File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line 294, in connectionLost
            protocol.connectionLost(reason)
          File "/usr/lib/python2.3/site-packages/twisted/protocols/http.py", line 361, in connectionLost
            self.handleResponseEnd()
          File "/usr/lib/python2.3/site-packages/twisted/protocols/http.py", line 367, in handleResponseEnd
            self.handleResponse(b)
          File "/usr/lib/python2.3/site-packages/apt_proxy/fetchers.py", line 353, in handleResponse
            log.debug('handleResponse status=%s' % (self.http_status), 'http_client')
        exceptions.AttributeError: FetcherHttpClient instance has no attribute 'http_status'

Our python guru ;) looked at the packages python-twisted and apt-proxy and pointed out
that there simply is no attribute named "http_status". Sadly he has no time to fix this.

Regards,
Frank

- -- 
Frank Schubert
Systemadministration
EsPresto AG
Breite Str. 30-31
10178 Berlin/Germany
Tel: +49.(0)30.90 226.750
Fax: +49.(0)30.90 226.760
f.schubert@espresto.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFiOesiPTaK2Nc4GkRAscCAJ4nfyTeEKogZBOjLiV8uSepkXsCQACdFq6t
EcVq/IFbMup2EQGXQzauCxw=
=2R4x
-----END PGP SIGNATURE-----

Reply to: