[mod_python] mod_python + MySQLdb + Apache strange behavoir

Graham Dumpleton grahamd at dscpl.com.au
Wed Sep 14 12:36:22 EDT 2005

If none of the suggestions by others have worked, then you really
need to post the actual error messages and specific symptoms as I
asked for originally.

BTW, can you please try and keep followups on the mailing list.
I am traveling on holidays with days at a time without any
Internet access. If you keep the discussion on the list, others
may still be able to help if I am not reading email.


On 10/09/2005, at 4:55 AM, Earle Ady wrote:

> Graham,
> Thanks for your response!
> The problem does not occur in PSP without the use of MySQLdb.  I am 
> only
> using AddHandler mod_python.psp (for .psp, and again for .psp_).  I am 
> not
> importing psp from any of the pages.  Is this something I need to be 
> importing?
> The problem is extremely obtrusive at this point.  Any other 
> suggestions?
> I take it this is a non-normal problem I'm having?  At this point, it 
> seems we've
> wasted a tremendous amount of time using python as opposed to PHP.  Is
> this just a specific case?
> Best,
> earle.
> On Sep 9, 2005, at 4:38 AM, Graham Dumpleton wrote:
>> There are known problems, but without the error messages from the 
>> Apache
>> error log file, we would be guessing.
>> Does the problem occur in PSP code independent of use of MySQLDB? Are 
>> you
>> mixing use of mod_python.psp and mod_python.publisher and thus are 
>> using
>> "from mod_python import psp" or "import mod_python.psp" explicitly?
>> You might try latest beta of mod_python 3.2 as some issues related to
>> module importing when using mod_python.publisher and mod_python.psp
>> together are addressed.
>> Graham

More information about the Mod_python mailing list