I have read this too http://threebit.net/mail-archive/trac/msg00127.html
But that still does not solve my problem: I put this in my python.conf <Location /tracprojects/sample> SetHandler mod_python PythonDebug on PythonHandler trac.web.modpython_frontend PythonOption TracEnv /srv/svn/tracenv/sample PythonPath "sys.path+['/usr/local/lib/svn-python']+['/usr/local/lib/ pysqlite2']" PassEnv LD_LIBRARY_PATH PythonOption TracUriRoot /tracprojects/sample </Location> <Location /trac> SetHandler mod_python SetEnv PYTHON_EGG_CACHE /tmp/eggcache PassEnv LD_LIBRARY_PATH </Location> On Mar 10, 2:41 pm, [EMAIL PROTECTED] wrote: > I am trying to setup Apache with Trac. I get the following error: > assert have_pysqlite > 0 > > I have read this > posting,http://groups.google.com/group/trac-users/browse_thread/thread/6b6eb6..., > > And I have verify this as well, that seem no problem. > # 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.dqlite_backend > > Traceback (most recent call last): > File "<stdin>", line 1, in ? > ImportError: No module named dqlite_backend>>> 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' > > And I only have 1 python install in my system. Can you please help me > figure out my problem? What am I missing? > > File "/usr/lib/python2.3/site-packages/trac/db/pool.py", line 101, in > get_cnx > cnx = self._connector.get_connection(**self._kwargs) > > File "/usr/lib/python2.3/site-packages/trac/db/sqlite_backend.py", > line 113, in get_connection > return SQLiteConnection(path, params) > > File "/usr/lib/python2.3/site-packages/trac/db/sqlite_backend.py", > line 140, in __init__ > assert have_pysqlite > 0 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
