Problem with MySQLdb and mod_python

Cyril Bazin cyril.bazin at info.unicaen.fr
Thu Jul 17 13:48:21 CEST 2008


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 fault (11)
[Tue Jul 15 23:31:19 2008] [notice] mod_python (pid=11764,
interpreter='www.toto.fr'): Importing module
'/usr/local/apache2/htdocs/intranet/courrier/test.py'
[Tue Jul 15 23:31:19 2008] [notice] child pid 11764 exit signal
Segmentation fault (11)

I think the problem comes from the MySQLdb module.
If I can't find another solution, I think I will downgrade the MySQLdb
version to 1.2.1

Cyril

On Thu, Jul 17, 2008 at 7:27 AM, Lawrence D'Oliveiro
<ldo at geek-central.gen.new_zealand> wrote:
> In message <mailman.109.1216158151.922.python-list at python.org>, 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
>



More information about the Python-list mailing list