[Mapit] Mapit! on Debian?
jan at intevation.de
Tue May 24 20:49:55 CEST 2005
On Tue, May 24, 2005 at 12:19:48PM -0500, Neil Best wrote:
> Hello. Mapit! users. Is anyone out there using Mapit on a Debian
> system? I have tried to follow the instructions, but I get this
> diagnostic from the server:
> Mod_python error: "PythonHandler modmapit"
> Traceback (most recent call last):
> File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line 287, in HandlerDispatch
> File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line 454, in import_module
> f, p, d = imp.find_module(parts[i], path)
> ImportError: No module named modmapit
> I am not sure what I am doing wrong. I am new to python and mod_python,
> so please take nothing for granted. I will be glad to provide more
> details to anyone willing to lend a hand. Thanks.
Python does not find the module. It must be in a directory listed
in the environment variable PYTHON_PATH or in the systems ones.
I do not recommend to place it somewhere on the systems area manually.
Better place it somewhere else and set the PYTHONPATH accordingly.
Jan-Oliver Wagner http://intevation.de/~jan/
Intevation GmbH http://intevation.de/
Kolab Konsortium http://kolab-konsortium.de/
More information about the Mapit