[mod_python] help with python_handler: make_obcallback returned no obCallBack!

Kit Wetzler kitwetzler at mindspring.com
Thu Aug 16 15:33:18 EST 2001

argh.  I've been reading the archives, and I can't find a solution to this
problem.  I apologize, I am a new python/mod_python user.  Sorry, I know the
last thing you guys want to answer is a newbie install question...

But... here's results from telnetting to port 80...

	HTTP/1.1 200 OK
	Date: Fri, 17 Aug 2001 00:46:55 GMT
	Server: Apache/1.3.14 (Unix)  (Red-Hat/Linux) PHP/4.0.4 mod_python/2.7.1
	Connection: close
	Content-Type: text/html

I have installed the rpm of mod_python/2.7.1, because I couldn't get the
2.7.6 distro installed properly.  (it compiled ok, but apache kept seg
faulting, with the module as a DSO)  I have the standard Redhat 6.2 distro
installed on the machine, with python 1.5.2 installed.

In httpd.conf, I have:

# Adds Python Stuff
    AddHandler python-program .py
    PythonHandler mptest
    PythonDebug on

As part of my main <Directory /home/httpd/html> directive.  (Is that ok to
do?)  I got the same error with a seperate python directory directive.
Running mptest.py in the /home/httpd/html/python directory gives me the
dreaded make_obcallback error.

I'm at a loss.  :)  Please help!

thanks all.

	-kit wetzler

More information about the Mod_python mailing list