Re: Problem with MySQLdb and mod_python

2008-07-18 Thread Graham Dumpleton
On Jul 18, 3:28 pm, John Nagle <[EMAIL PROTECTED]> wrote: > Cyril Bazin wrote: > > Thanks for your reply > > > The apache log contains lines like : > > > [Tue Jul 15 23:31:01 2008] [notice]mod_python(pid=11836, > > interpreter='www.toto.fr'):Importing module > > '/usr/local/apache2/htdocs/intranet/

Re: Problem with MySQLdb and mod_python

2008-07-17 Thread John Nagle
Cyril Bazin wrote: Thanks for your reply The apache log contains lines like : [Tue Jul 15 23:31:01 2008] [notice] mod_python (pid=11836, interpreter='www.toto.fr'): Importing module '/usr/local/apache2/htdocs/intranet/courrier/test.py' [Tue Jul 15 23:31:02 2008] [notice] child pid 11836 exit si

Re: Problem with MySQLdb and mod_python

2008-07-17 Thread Cyril Bazin
Thanks for your reply The apache log contains lines like : [Tue Jul 15 23:31:01 2008] [notice] mod_python (pid=11836, interpreter='www.toto.fr'): Importing module '/usr/local/apache2/htdocs/intranet/courrier/test.py' [Tue Jul 15 23:31:02 2008] [notice] child pid 11836 exit signal Segmentation fau

Re: Problem with MySQLdb and mod_python

2008-07-16 Thread Lawrence D'Oliveiro
In message <[EMAIL PROTECTED]>, Cyril Bazin wrote: > But it seems, after many tests, that the script stops at the > instruction : "c.execute(requete)" What's the error message? This should be in Apache's error_log file. -- http://mail.python.org/mailman/listinfo/python-list

Problem with MySQLdb and mod_python

2008-07-15 Thread Cyril Bazin
Hi, I installed an apache server with mod_python. I have got a problem with the mysql connection of my python script. In fact I tried this file : - import os os.environ["PYTHON_EGG_CACHE"] = "/tmp" import MySQLdb from mod_python import apache def test(req): db