-----
Error:
File "/usr/local/lib/python2.5/site-packages/trac/db/
sqlite_backend.py", line 140, in __init__
assert have_pysqlite > 0
AssertionError
-----
A sanity check shows:
Python 2.5 (r25:51908, Feb 16 2007, 16:53:41)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-3)] on linux2
>>> 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'
-----
Python sys.path shows:
/usr/local/lib/python25.zip
/usr/local/lib/python2.5
/usr/local/lib/python2.5/plat-linux2
/usr/local/lib/python2.5/lib-tk
/usr/local/lib/python2.5/lib-dynload
/usr/local/lib/python2.5/site-packages
-----
A quick search for dbapi2.py finds
/usr/local/lib/python2.5/sqlite3/dbapi2.py
/usr/local/lib/python2.5/sqlite3/dbapi2.pyo
/usr/local/lib/python2.5/sqlite3/dbapi2.pyc
/usr/local/lib/python2.5/site-packages/pysqlite2/dbapi2.py
/usr/local/lib/python2.5/site-packages/pysqlite2/dbapi2.pyc
/usr/local/src/Python-2.5/Lib/sqlite3/dbapi2.py
/usr/local/src/pysqlite-2.3.3/pysqlite2/dbapi2.py
/usr/local/src/pysqlite-2.3.3/build/lib.linux-i686-2.5/pysqlite2/
dbapi2.py
-----
Trac runs using Tracd, grrr. Anybody see what I'm missing?
I do not think this will help you, but it's worth a shot and certainly
won't hurt. Although I had different errors, I had similar problems
with sqlite not being found after a fresh install of Trac. The
problem was that "ldconfig" was not performed during the installation
process.
Just on a whim, as root user, try running "ldconfig", and see if it
can find sqlite afterwards. If not, ummm... I dunno. ;)
Thanks.
--
Samuel A. Falvo II
And thanks for replying to this thread but it looks like this problem
is caused by something else.
HTH,
Manu
--
Manu
Python sys.version 2.5 (r25:51908, Feb 16 2007, 16:53:41) [GCC 3.4.6
20060404 (Red Hat 3.4.6-3)]
thank you for your suggestion!
On Feb 22, 4:09 pm, "Emmanuel Blot" <manu.b...@gmail.com> wrote:
> Did you check that mod_python effectively uses python2.5, not another
> python release ?
>
> HTH,
> Manu
>