Your message dated Mon, 14 Aug 2006 15:47:12 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#382171: fixed in apt-proxy 1.9.35
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.34
Severity: normal

Hi Chris,
I have just tested the last version (1.9.34) and I have a bug
with the http_proxy option :

~# /etc/init.d/apt-proxy start
Starting apt-proxy
Failed to load application: global name 're' is not defined
.

You forgot the import "re" in the file "apt_proxy_conf.py"


After having corrected that, I have two others problems :
* First, the backends FTP don't use the http_proxy to connect.

* Second (more complex), when you connect the backends HTTP
to proxy with the method reactor.connectTCP at line 476 in file
"fecthers.py", the parameter "port" is a string. So, the method
connectTCP consider the port parameter as a service name
instead of a tcp port number (and thus tries to resolve it).

The backtrace :

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 348, 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 1004, in lineReceived
           self.allContentReceived()
         File "/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy.py",
line 366, in allContentReceived
           http.HTTPChannel.allContentReceived(self)
         File "/usr/lib/python2.3/site-packages/twisted/web/http.py",
line 1045, in allContentReceived
           req.requestReceived(command, path, version)
         File "/usr/lib/python2.3/site-packages/twisted/web/http.py",
line 601, in requestReceived
           self.process()
         File "/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy.py",
line 274, in process
           self.cacheEntry.add_request(self)
         File "/usr/lib/python2.3/site-packages/apt_proxy/cache.py",
line 98, in add_request
           self.get()
         File "/usr/lib/python2.3/site-packages/apt_proxy/cache.py",
line 157, in get
           self.start_download()
         File "/usr/lib/python2.3/site-packages/apt_proxy/cache.py",
line 285, in start_download
           self.backend.start_download(self)
         File "/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy.py",
line 139, in start_download
           self.queue.addFile(entry)
         File "/usr/lib/python2.3/site-packages/apt_proxy/fetchers.py",
line 1093, in addFile
           q.addFile(cacheEntry)
         File "/usr/lib/python2.3/site-packages/apt_proxy/fetchers.py",
line 1006, in addFile
           self.startNextDownload()
         File "/usr/lib/python2.3/site-packages/apt_proxy/fetchers.py",
line 1043, in startNextDownload
           d = self.fetcher.start(self.activeFile)
         File "/usr/lib/python2.3/site-packages/apt_proxy/fetchers.py",
line 53, in start
           self.start_download()
         File "/usr/lib/python2.3/site-packages/apt_proxy/fetchers.py",
line 100, in start_download
           self.activateNextBackendServer(self.fetcher)
         File "/usr/lib/python2.3/site-packages/apt_proxy/fetchers.py",
line 73, in activateNextBackendServer
           self.connectToBackend()
         File "/usr/lib/python2.3/site-packages/apt_proxy/fetchers.py",
line 78, in connectToBackend
           d = self.fetcher.connect()
         File "/usr/lib/python2.3/site-packages/apt_proxy/fetchers.py",
line 476, in connect
           reactor.connectTCP(host, port, factory,
self.backendServer.backend.config.timeout)
         File "/usr/lib/python2.3/site-packages/twisted/internet/posixbase.py",
line 392, in connectTCP
           c = tcp.Connector(host, port, factory, timeout, bindAddress, self)
         File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py",
line 835, in __init__
           raise error.ServiceNameUnknownError(string="%s (%r)" % (e, port))
       twisted.internet.error.ServiceNameUnknownError: Service name
given as port is unknown: service/proto not found ('8080').

Regards,
Thomas


-- System Information:
Debian Release: testing/unstable
 APT prefers testing
 APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-1-vserver-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages apt-proxy depends on:
ii  adduser                       3.95       Add and remove users and groups
ii  bzip2                         1.0.3-3    high-quality block-sorting file co
ii  debconf [debconf-2.0]         1.5.2      Debian configuration management sy
ii  logrotate                     3.7.1-3    Log rotation utility
ii  python                        2.3.5-11   An interactive high-level object-o
ii  python-apt                    0.6.19     Python interface to libapt-pkg
ii  python-central                0.5.4      register and build utility for Pyt
ii  python-twisted-web            0.6.0-1    An HTTP protocol implementation to

apt-proxy recommends no packages.

-- debconf information excluded


--- End Message ---
--- Begin Message ---
Source: apt-proxy
Source-Version: 1.9.35

We believe that the bug you reported is fixed in the latest version of
apt-proxy, which is due to be installed in the Debian FTP archive:

apt-proxy_1.9.35.dsc
  to pool/main/a/apt-proxy/apt-proxy_1.9.35.dsc
apt-proxy_1.9.35.tar.gz
  to pool/main/a/apt-proxy/apt-proxy_1.9.35.tar.gz
apt-proxy_1.9.35_all.deb
  to pool/main/a/apt-proxy/apt-proxy_1.9.35_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Halls <[EMAIL PROTECTED]> (supplier of updated apt-proxy package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


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

Format: 1.7
Date: Mon, 14 Aug 2006 23:00:56 +0100
Source: apt-proxy
Binary: apt-proxy
Architecture: source all
Version: 1.9.35
Distribution: unstable
Urgency: low
Maintainer: Chris Halls <[EMAIL PROTECTED]>
Changed-By: Chris Halls <[EMAIL PROTECTED]>
Description: 
 apt-proxy  - Debian archive proxy and partial mirror builder
Closes: 330202 331515 333847 336384 382012 382171 382193 382946
Changes: 
 apt-proxy (1.9.35) unstable; urgency=low
 .
   * http_proxy option:
     - Fix import error with option enabled. (Closes: #382171)
     - Fix authorisation header that is sent by http client
     - apt-proxy.conf.5: Document that http_proxy can take a username and
       password parameter
   * apt-proxy-import:
     - Fix import routine (Closes: #382012)
   * Add translations that got lost in previous version
     (Closes: #330202, #331515, #336384, #333847)
   * Tighten twisted dependency to twisted-web only to force upgrades for
     Etch users (Closes: #382193, #382946)
Files: 
 6d11c3398af753e74cf0a2d4a1fa52be 726 admin extra apt-proxy_1.9.35.dsc
 f8f44ca649ac62845f018c99ec60ee9e 100592 admin extra apt-proxy_1.9.35.tar.gz
 43dee3c0e9b0dce35b218989b0f363e5 77696 admin extra apt-proxy_1.9.35_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFE4PMOexmdExmX588RAnUmAJ9I/+v5PAhhSZ8fd654ozkCQFvh4ACeNRP8
1AIgQsLvu2wjLd43oYz0bFg=
=jM7w
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to