Bugs item #2794073, was opened at 2009-05-19 20:45
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=540672&aid=2794073&group_id=74338
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: SqlObject fails in mod_python because of KeyError
Initial Comment:
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.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=540672&aid=2794073&group_id=74338
|