Your message dated Mon, 22 Jan 2007 18:30:55 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#359921: apt-proxy stalls on cache-misses (twisted 2.2
problem?)
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: apt-proxy
Version: 1.9.33
Severity: important
Hello,
w/o using force, I have arrived at apt-proxy plus twisted 2.2 which is
incompatible with apt-proxy. I think it shows. This happens when
apt-proxy receives a request for a non-existant file:
2006/03/29 16:45 CEST [Channel,21,192.168.1.22] [FetcherCachedFile] Serving
from cache: /mnt/deb/debian/pool/ma
in/t/tcpdump/tcpdump_3.8.3-5sarge1_i386.deb size:238642
2006/03/29 16:45 CEST [Channel,21,192.168.1.22] Traceback (most recent call
last):
File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line
53, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line
38, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/usr/lib/python2.3/site-packages/twisted/python/context.py",
line 59, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/lib/python2.3/site-packages/twisted/python/context.py",
line 37, in callWithContext
return func(*args,**kw)
--- <exception caught here> ---
File
"/usr/lib/python2.3/site-packages/twisted/internet/selectreactor.py", line 139,
in _doReadOrWrite
why = getattr(selectable, method)()
File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line
349, in doRead
return self.protocol.dataReceived(data)
File "/usr/lib/python2.3/site-packages/twisted/protocols/basic.py",
line 232, in dataReceived
why = self.lineReceived(line)
File "/usr/lib/python2.3/site-packages/twisted/web/http.py", line
961, in lineReceived
self.allContentReceived()
File "/usr/share/python-support/apt-proxy/apt_proxy/apt_proxy.py",
line 1661, in allContentReceived
http.HTTPChannel.allContentReceived(self)
File "/usr/lib/python2.3/site-packages/twisted/web/http.py", line
1002, in allContentReceived
req.requestReceived(command, path, version)
File "/usr/lib/python2.3/site-packages/twisted/web/http.py", line
557, in requestReceived
self.process()
File "/usr/share/python-support/apt-proxy/apt_proxy/apt_proxy.py",
line 1400, in process
self.fetch()
File "/usr/share/python-support/apt-proxy/apt_proxy/apt_proxy.py",
line 1471, in fetch
running[self.uri].insert_request(self)
File "/usr/share/python-support/apt-proxy/apt_proxy/apt_proxy.py",
line 1163, in insert_request
self.start_transfer(request)
File "/usr/share/python-support/apt-proxy/apt_proxy/apt_proxy.py",
line 1184, in start_transfer
file = open(self.local_file,'rb')
-- Systeptions.IOError: [Errno 2] No such file or directory:
'/mnt/deb/debian/pool/main/t/tcpdump/tcpdump_3.8.3-5sarge1_i386.deb'
2006/03/29 16:45 CEST [Channel,21,192.168.1.22] [Fetcher] Last request removed
2006/03/29 16:45 CEST [Channel,21,192.168.1.22] [debug] Client connection closed
Noteworthy is that it takes considerable time, apparently almost a
minute, between where apt-proxy spits out the first parts of that
backtrace and the last parts of it, after which it looks like it resumes
operation, but doesn't really answer. Subsequent requests look like this
from the client side:
After unpacking 44.1MB of additional disk space will be used.
Do you want to continue? [Y/n]
Err http://192.168.1.5 stable/main less 382-1
Connection failed
Failed to fetch
http://192.168.1.5:9999/debian/pool/main/l/less/less_382-1_i386.deb
Connection failed
E: Unable to fetch some archives, maybe run apt-get update or try with
--fix-missing?
Which, in effect, means that I have to restart the daemon.
Best,
--Toni++
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27-2-686-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages apt-proxy depends on:
ii adduser 3.85 Add and remove users and groups
ii bzip2 1.0.3-2 high-quality block-sorting file co
ii debconf [debconf-2.0] 1.4.72 Debian configuration management sy
ii logrotate 3.7.1-2 Log rotation utility
ii python 2.3.5-5 An interactive high-level object-o
ii python-bsddb3 3.3.0-6 Python interface to libdb3
ii python-support 0.1.1 automated rebuilding support for p
ii python-twisted 2.2.0-1 Event-based framework for internet
ii python-twisted-web 0.5.0-4 An HTTP protocol implementation to
ii python2.3 2.3.5-9.1 An interactive high-level object-o
apt-proxy recommends no packages.
-- debconf information:
* apt-proxy/upgrading-v2:
* apt-proxy/upgrading-v2-result:
--- End Message ---
--- Begin Message ---
Hi Toni
I've not heard from you since August, so I assume you aren't seeing this any
more. Thanks for your report.
Chris
On Saturday 12 August 2006 14:28, Chris Halls wrote:
> Hi Toni
>
> On Saturday 12 August 2006 14:22, you wrote:
> > I think so, although I currently have some difficulty verifying that,
> > due to the twisted 2.4 problem. :-}
>
> Even with the version in unstable (1.9.34)? That should be fixed now.
>
> Chris
--- End Message ---