A simple python handler in apache which uses sqlobject fails because of a KeyError.
sqlobject/main.py in line 762:
mod = sys.modules[cls.__module__]
Uncommenting the lines makes sqlobject work as intended.
Attached is the test script and the debug output from the script when run as a mod_python handler.
I do not have the error when running test scripts in the console. I am guessing it must be something that mod_python is doing when importing sqlobject.
Log in to post a comment.