|
Jurgielewicz, Mariusz
Mariusz_Jurgielewicz at NAI.com
Wed Oct 24 13:32:44 EST 2001
I am trying to check different things. When I tried manually compile
apache.py in \lib\mod_python dirctory I got this error:
C:\Dev\Python\Lib\mod_python>python apache.py
Traceback (most recent call last):
File "apache.py", line 55, in ?
import _apache
ImportError: No module named _apache
I got no _apache.py:
Directory of C:\Dev\Python\Lib\mod_python
10/23/01 05:47p <DIR> .
10/23/01 05:47p <DIR> ..
05/24/01 08:27p 22,622 apache.py
10/23/01 05:47p 23,294 apache.pyc
12/05/00 08:05p 4,964 cgihandler.py
12/05/00 08:05p 14,617 httpdapi.py
05/14/01 03:17p 10,589 publisher.py
12/13/00 04:45p 10,538 util.py
12/05/00 08:05p 3,270 zhandler.py
12/05/00 08:05p 2,365 __init__.py
10/23/01 05:47p 239 __init__.pyc
11 File(s) 92,498 bytes
I guess this error occures too when tries to execute 'PythonHandler mptest'
and mptest.py fails to import apache.py module.
-----Original Message-----
From: piet at cs.uu.nl [mailto:piet at cs.uu.nl]
Sent: Wednesday, October 24, 2001 1:28 AM
To: Jurgielewicz, Mariusz
Cc: 'mod_python at modpython.org'
Subject: Re: [mod_python] Apache cannot start after installing
mod_python on WinNT
>>>>> "Jurgielewicz, Mariusz" <Mariusz_Jurgielewicz at NAI.com> (JM) writes:
JM> Apache cannot start after installing mod-python under Windows NT.
JM> Windows: NT 4.0 SP6a
JM> Apache: 1.3.22
JM> Python: 2.1.1
JM> mod_python:
JM> mod_python.dll from python2.1-apache1.3.20.zip,
JM> python\lib\mod_python from mod_python-2.7.4.tgz
Your apache is 1.3.22 and the dll is for 1.3.20. Maybe that is the problem?
JM> Error:
JM> Could not start the Apache on \\machinename
JM> Error 2140: An internal Windows NT error occurred.
JM> I think I did what was described in
JM> http://www.modpython.org/live/mod_python-2.7.6/doc-html/app-wininst.html
JM> With one exception, here is no mod_python-x\lib\mod_python directory
instead
JM> I got mod_python-x\lib\python\mod_python. I assumed that simply
mod_python
JM> should be in \python\lib.
That is how it should be read. \python\lib\mod_python should contain the
files with no subdirectories in it.
--
Piet van Oostrum <piet at cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: P.van.Oostrum at hccnet.nl
|