On Mar 11, 1:02 pm, Bruno Desthuilliers <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] a écrit : > > > > > Hi, > > > I am trying to setup Apache with Trac which uses mod_python. I get the > > following error: > > > assert have_pysqlite > 0 > > > And I have verify this via command line as well, that seem no > > problem. > > (snip) > > What do you get using tracd (the standalone server) ?
I am using apache with mod_python. I have done a sanity check with command prompt, it can find 'pysqlite', But when I access Trac using Apache (via mod_python), it somehow can't find 'pysqlite' and gives me an error. So my question is how python command prompt loads library differently from mod_python? # python Python 2.3.4 (#1, Feb 2 2005, 11:44:49) [GCC 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import trac.db.sqlite_backend >>> trac.db.sqlite_backend._ver (3, 3, 13) >>> trac.db.sqlite_backend.have_pysqlite 2 >>> trac.db.sqlite_backend.sqlite.version '2.3.3'
-- http://mail.python.org/mailman/listinfo/python-list