Hi guys
I have this configuration:
Apache 2.2.6
mod_python 3.3.1
python 2.5.1
django 0.97-pre-SVN-7543
In httpd.conf there is configuration of my dj project:
<Location "/kb/">
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE dj_01.settings
PythonDebug On
PythonPath "['c:/utils/python_pro','c:/utils/python_pro/jd_01'] +
sys.path"
</Location>
It works fine when I fire apache from command line:
httpd
But when I install service:
httpd -k install -name "django"
httpd -k start
It won't work and thow this in error.log:
# This done during start service
[Wed Jul 16 10:08:34 2008] [error] python_init: Python version
mismatch, expected '2.5', found '2.5.1'.
[Wed Jul 16 10:08:34 2008] [error] python_init: Python executable
found 'C:\\utils\\Apache2.2\\bin\\httpd.exe'.
[Wed Jul 16 10:08:34 2008] [error] python_init: Python path being used
'c:\\utils\\python25;c:\\utils\\python25\\python25.zip;C:\\utils\
\Python25\\Lib;C:\\Python25\\DLLs;C:\\Python25\\Lib\\lib-tk;;C:\\utils\
\Apache2.2\\bin'.
[Wed Jul 16 10:08:34 2008] [notice] mod_python: Creating 8 session
mutexes based on 0 max processes and 250 max threads.
[Wed Jul 16 10:08:34 2008] [notice] Child 4716: Child process is
running
[Wed Jul 16 10:08:34 2008] [notice] Child 4716: Acquired the start
mutex.
[Wed Jul 16 10:08:34 2008] [notice] Child 4716: Starting 250 worker
threads.
[Wed Jul 16 10:08:34 2008] [notice] Child 4716: Starting thread to
listen on port 80.
# This when I touch some url in my project
[Wed Jul 16 10:08:57 2008] [error] make_obcallback: could not import
mod_python.apache.\n
[Wed Jul 16 10:08:57 2008] [error] make_obcallback: Python path being
used "['c:\\\\utils\\\\python25', 'c:\\\\utils\\\\python25\\\
\python25.zip', 'C:\\\\utils\\\\Python25\\\\Lib', 'C:\\\\Python25\\\
\DLLs', 'C:\\\\Python25\\\\Lib\\\\lib-tk', 'C:\\\\utils\\\\Apache2.2',
'C:\\\\utils\\\\Apache2.2\\\\bin', 'c:\\\\utils\\\\Python25\\\
\reportlab', 'C:\\\\utils\\\\Python25\\\\lib\\\\site-packages', 'C:\\\
\utils\\\\Python25\\\\lib\\\\site-packages\\\\PIL', 'C:\\\\utils\\\
\Python25\\\\lib\\\\site-packages\\\\win32', 'C:\\\\utils\\\\Python25\\
\\lib\\\\site-packages\\\\win32\\\\lib', 'C:\\\\utils\\\\Python25\\\
\lib\\\\site-packages\\\\Pythonwin', 'C:\\\\utils\\\\Python25\\\\lib\\\
\site-packages\\\\wx-2.8-msw-unicode']".
[Wed Jul 16 10:08:57 2008] [error] get_interpreter: no interpreter
callback found.
[Wed Jul 16 10:08:57 2008] [error] [client 192.168.2.49]
python_handler: Can't get/create interpreter.
Anyone has a suggestion??
regards
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---