[mod_python] Database access problems

Sean Davis sdavis2 at mail.nih.gov
Fri Aug 29 11:17:06 EDT 2008

On Fri, Aug 29, 2008 at 10:56 AM, Peter Bleackley
<Peter.Bleackley at rd.bbc.co.uk> wrote:
> At 14:58 29/08/2008, William Witteman wrote:
>> Post a minimal sample of code if this doesn't help.
> It seems that
> from pysqlite2 import dbapi2 as sqlite
> demographics=sqlite.connect('/home/data/demographics.db')
> is enough to cause a segmentation fault.

And this works at the command line or in a separate script not under
mod_python?  (Obvious question, I know, but just to be clear.)


More information about the Mod_python mailing list