Your message dated Thu, 28 Sep 2006 11:33:54 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#389868: ntlmaps breaks whith python2.4
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: ntlmaps
Version: 0.9.9.0.1-3
Severity: important
ntlmpaps breaks with python2.4 due to the missing attribute 'read_config' on
module 'config'.
---
$python2.4 /usr/share/ntlmaps/main.py -c -c /etc/ntlmaps/server.cfg
Traceback (most recent call last):
File "/usr/share/ntlmaps/main.py", line 31, in ?
conf =
config.read_config(config.findConfigFileNameInArgv(sys.argv,
__init__.ntlmaps_dir+'/'))
AttributeError: 'module' object has no attribute 'read_config'
---
$python2.3 /usr/share/ntlmaps/main.py -c /etc/ntlmaps/server.cfg
NTLM authorization Proxy Server v0.9.9.0.1
Copyright (C) 2001-2004 by Dmitry Rozmanov and others.
Now listening at ig0933 on port 5865
Regards.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (800, 'unstable'), (700, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-1-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages ntlmaps depends on:
ii debconf [debconf-2.0] 1.5.5 Debian configuration management sy
ii python 2.4.3-11 An interactive high-level object-o
ii python-support 0.5.2 automated rebuilding support for p
ntlmaps recommends no packages.
--- End Message ---
--- Begin Message ---
On Thursday 28 September 2006 11:22, Carlos Galisteo de Cabo wrote:
> On Thu, 28 Sep 2006 09:23:11 +0100, David Watson <[EMAIL PROTECTED]>
wrote:
> > Can you confirm that you don't have any other python modules
> > called
> > config that are being imported.
>
> Now that you mentioned it...it seems that python2.4 imports
> /usr/lib/python2.4/site-packages/config.py [1] instead of
> /usr/share/ntlmaps/lib/config.py.
>
> I was wrongly thinking that 'config' was a built-in module with changes
> between python versions or something, but it turns out to be just a "very
> popular" module name (22 different config.py in my box).
>
> Renaming /usr/lib/python2.4/site-packages/config.py did it. ntlmaps works
> with python2.4 now :)
>
> Admitting my mistake... Shouldn't we be more careful with too much generic
> modules names?
We probably should, but this is how upstream have named the module.
> > And can you check that you only used one '-c' in the python2.4 command.
>
> That was just a copy&paste issue. The command was launched with a single
> '-c'. Sorry.
>
> Thanks.
>
> [1]http://www.red-dove.com/python_config.html
No problem, thanks for taking the time to resolve this. I'll close this bug
now.
--
David Watson
Lugmaster, Programmer, Bass Player
http://planetwatson.co.uk/blog
http://liverpool.lug.org.uk
IM(jabber): [EMAIL PROTECTED]
pgp8dwseEGFOI.pgp
Description: PGP signature
--- End Message ---