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

The new version of apt-proxy fails to start.

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

There is some information in /var/log/apt-proxy.log; let me know what
other information you need.

2006/08/09 09:36 EDT [-] Log opened.
2006/08/09 09:36 EDT [-] twistd 2.4.0 (/usr/bin/python 2.3.5) starting up
2006/08/09 09:36 EDT [-] reactor class: <class
'twisted.internet.selectreactor.SelectReactor'>
2006/08/09 09:36 EDT [-] Loading /usr/sbin/apt-proxy...
2006/08/09 09:36 EDT [-]
/usr/lib/python2.3/site-packages/twisted/manhole/telnet.py:8:
exceptions.DeprecationWarning: As of Twisted 2.1,
twisted.protocols.telnet is deprecated.  See twisted.conch.telnet for
the current, supported API.
2006/08/09 09:36 EDT [-] Traceback (most recent call last):
2006/08/09 09:36 EDT [-]   File
"/usr/lib/python2.3/site-packages/twisted/application/app.py", line
159, in getApplication
2006/08/09 09:36 EDT [-]     application =
service.loadApplication(filename, style, passphrase)
2006/08/09 09:36 EDT [-]   File
"/usr/lib/python2.3/site-packages/twisted/application/service.py",
line 301, in loadApplication
2006/08/09 09:36 EDT [-]     application =
sob.loadValueFromFile(filename, 'application', passphrase)
2006/08/09 09:36 EDT [-]   File
"/usr/lib/python2.3/site-packages/twisted/persisted/sob.py", line 206,
in loadValueFromFile
2006/08/09 09:36 EDT [-]     exec fileObj in d, d
2006/08/09 09:36 EDT [-]   File "/usr/sbin/apt-proxy", line 47, in ?
2006/08/09 09:36 EDT [-]     config = apConfig(config_file)
2006/08/09 09:36 EDT [-]   File
"/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy_conf.py", line
144, in __init__
2006/08/09 09:36 EDT [-]     self.parseConfig(c)
2006/08/09 09:36 EDT [-]   File
"/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy_conf.py", line
197, in parseConfig
2006/08/09 09:36 EDT [-]     value = self.parseConfigValue(config,
DEFAULTSECT, name, default, getmethod)
2006/08/09 09:36 EDT [-]   File
"/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy_conf.py", line
266, in parseConfigValue
2006/08/09 09:36 EDT [-]     return getattr(config,
'get'+getmethod)(section, name)
2006/08/09 09:36 EDT [-]   File
"/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy_conf.py", line
65, in getproxyspec
2006/08/09 09:36 EDT [-]     p = ProxyConfig(self.get(section,option))
2006/08/09 09:36 EDT [-]   File
"/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy_conf.py", line
288, in __init__
2006/08/09 09:36 EDT [-]     m =
re.match('^((?P<user>.*):(?P<password>.*)@)?(?P<host>[a-zA-Z0-9_.+=-]+):(?P<port>[0-9]+)',
2006/08/09 09:36 EDT [-] NameError: global name 're' is not defined
2006/08/09 09:36 EDT [-] Failed to load application: global name 're'
is not defined
2006/08/09 09:36 EDT [-] Traceback (most recent call last):
         File "/usr/bin/twistd", line 25, in ?
           run()
         File "/usr/lib/python2.3/site-packages/twisted/scripts/twistd.py",
line 205, in run
           app.run(runApp, ServerOptions)
         File "/usr/lib/python2.3/site-packages/twisted/application/app.py",
line 278, in run
           runApp(config)
         File "/usr/lib/python2.3/site-packages/twisted/scripts/twistd.py",
line 195, in runApp
           application = app.getApplication(config, passphrase)
       --- <exception caught here> ---
         File "/usr/lib/python2.3/site-packages/twisted/application/app.py",
line 159, in getApplication
           application = service.loadApplication(filename, style, passphrase)
         File "/usr/lib/python2.3/site-packages/twisted/application/service.py",
line 301, in loadApplication
           application = sob.loadValueFromFile(filename,
'application', passphrase)
         File "/usr/lib/python2.3/site-packages/twisted/persisted/sob.py",
line 206, in loadValueFromFile
           exec fileObj in d, d
         File "/usr/sbin/apt-proxy", line 47, in ?
           config = apConfig(config_file)
         File "/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy_conf.py",
line 144, in __init__
           self.parseConfig(c)
         File "/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy_conf.py",
line 197, in parseConfig
           value = self.parseConfigValue(config, DEFAULTSECT, name,
default, getmethod)
         File "/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy_conf.py",
line 266, in parseConfigValue
           return getattr(config, 'get'+getmethod)(section, name)
         File "/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy_conf.py",
line 65, in getproxyspec
           p = ProxyConfig(self.get(section,option))
         File "/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy_conf.py",
line 288, in __init__
           m =
re.match('^((?P<user>.*):(?P<password>.*)@)?(?P<host>[a-zA-Z0-9_.+=-]+):(?P<port>[0-9]+)',
       exceptions.NameError: global name 're' is not defined



Note that apt-proxy seems to start properly if I comment out the
"http_proxy" in my configuration file. (But then it cannot retrieve
any files.)

-- graham


--- 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