[mod_python] need working fix for 'import site'aka'ImportError'aka'make_obcallback' error

kevin douglas fitnah55 at hotmail.com
Mon Jun 9 23:04:43 EST 2003


if I do an 'apachectl restart' several times, the amount of 'import
site'
errors grows accordingly :p

four restarts and its 7 times... five restarts and its 8 times... six
restarts
and its 9 times:

[Sun Jun 08 19:00:52 2003] [error] make_obcallback: could not import
mod_python.apache.

-----

'import site' failed; use -v for traceback
'import site' failed; use -v for traceback
'import site' failed; use -v for traceback
'import site' failed; use -v for traceback
'import site' failed; use -v for traceback
'import site' failed; use -v for traceback
'import site' failed; use -v for traceback
'import site' failed; use -v for traceback
'import site' failed; use -v for traceback
ImportError: No module named mod_python.apache
[Sun Jun 08 19:00:52 2003] [notice] SIGHUP received.  Attempting to
restart
[Sun Jun 08 19:00:53 2003] [notice] Apache/2.0.46 (Unix)
mod_python/3.0.3 Python/2.2.2 configured -- resuming normal operations

-----

to make matters worse, it worked once for no reason - and mod_python
just
displayed the 'test' handler as plaintext:

[Sun Jun 08 18:56:32 2003] [notice] Apache/2.0.46 (Unix)
mod_python/3.0.3 Python/2.2.2 configured -- resuming 
normal operations
[Sun Jun 08 18:56:50 2003] [notice] mod_python: (Re)importing module
'test'

now i can't get it to work again and nothing changed between the three
or
four start/restarts..



-----Original Message-----
From: mod_python-bounces at modpython.org
[mailto:mod_python-bounces at modpython.org] On Behalf Of kevin douglas
Sent: Monday, June 09, 2003 10:32 PM
To: mod_python at modpython.org
Subject: RE: [mod_python] need working fix for 'import
site'aka'ImportError'aka'make_obcallback' error


when I do an strace on httpd like it says with that no obCallBack error
in the faq (a different problem than i am having anyway), there's not
even a reference to it trying to find the mod_python python libs

i can only get it to show the errors when its shutting down too


-----Original Message-----
From: mod_python-bounces at modpython.org
[mailto:mod_python-bounces at modpython.org] On Behalf Of kevin douglas
Sent: Monday, June 09, 2003 10:16 PM
To: mod_python at modpython.org
Subject: RE: [mod_python] need working fix for 'import site'
aka'ImportError'aka'make_obcallback' error


I read the FAQ, I was about to post to the FAQ too but it seemed
pointless


-----Original Message-----
From: gnb at itga.com.au [mailto:gnb at itga.com.au] 
Sent: Monday, June 09, 2003 9:10 PM
To: fitnah55 at hotmail.com
Cc: mod_python at modpython.org
Subject: Re: [mod_python] need working fix for 'import site' aka
'ImportError'aka'make_obcallback' error 


>does anyone who actually has apache2/mod_python3 working even read this

>list?

Does anyone who posts to this list read the FAQ?


_______________________________________________
Mod_python mailing list
Mod_python at modpython.org
http://mailman.modpython.org/mailman/listinfo/mod_python
_______________________________________________
Mod_python mailing list
Mod_python at modpython.org
http://mailman.modpython.org/mailman/listinfo/mod_python


More information about the Mod_python mailing list