You are not logged in.
I'm running ntlmaps (or apserver as it's called on the AUR) to allow http-traffic on my work's LAN. I'm using the PKGBUILD I posted as a comment on the AUR.
Last Friday, when I started using ntlmaps, everything went fine. I even wrote a little script to start the proxy should I need it. However, as of today, it won't start anymore. I get the following error:
[10:00:22|root@sws00444:/etc/ntlmaps] $ /usr/bin/python2.4 /usr/lib/python2.4/site-packages/ntlmaps/main.py -c /etc/ntlmaps/server.cfg
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/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'
I don't have any Python knowledge, but it seems to me that's the result of a programming error. Last Friday, the Python package was upgraded ([09/29/06 13:11] upgraded python (2.4.3-1 -> 2.4.3-3)), but I've seen ntlmaps work after that for an entire day!
Does anyone know how to fix this? Or an alternative to ntlmaps, perhaps?
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline
Apparently, it's caused by a wrongful import: discussion thread
However, there's no clear fix given. Just "renaming config.py fixed it". How do I solve this without breaking other Python programs?
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline
I fixed it by renaming /usr/lib/python2.4/site-packages/config.py and /usr/lib/python2.4/site-packages/config.pyc and now ntlmaps is working again. A cleaner fix is appreciated tho.
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline