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]
pgpRvf937MjIj.pgp
Description: PGP signature