Hello David Yes - I had to do the following: 1) Add "/usr/lib" and "/usr/local/lib" to /etc/ld.so.conf 2) Run ldconfig (in /sbin).
And then it worked. Hope it helps for you as well. Regards Phil -------- Original-Nachricht -------- Datum: Tue, 11 Jul 2006 14:01:24 -0500 Von: David Dahl An: [EMAIL PROTECTED] Betreff: [Trac] AssertionError - assert have_pysqlite > 0 > Did you ever figure this out? I have the same issue. > > > We have a RedHat linux installation. > > > > After doing an up2date we have the following problem with Trac: > > trac.web.modpython_frontend: AssertionError > > > > [error] PythonHandler trac.web.modpython_frontend: Traceback (most > > recent > > call last): > > [error] PythonHandler trac.web.modpython_frontend: File > > "/usr/lib/python2.3/site-packages/mod_python/apache.py", line 299, in > > HandlerDispatch\n result = object(req) > > [error] PythonHandler trac.web.modpython_frontend: File > > "/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py", > > line 199, > > in handler\n env = get_environment(mpr, project_opts) > > [error] PythonHandler trac.web.modpython_frontend: File > > "/usr/lib/python2.3/site-packages/trac/web/main.py", line 335, in > > get_environment\n return _open_environment(env_path, threaded) > > [error] PythonHandler trac.web.modpython_frontend: File > > "/usr/lib/python2.3/site-packages/trac/web/main.py", line 51, in > > _open_environment\n env_cache[env_path] = open_environment > > (env_path) > > [error] PythonHandler trac.web.modpython_frontend: File > > "/usr/lib/python2.3/site-packages/trac/env.py", line 375, in > > open_environment\n if env.needs_upgrade(): > > [error] PythonHandler trac.web.modpython_frontend: File > > "/usr/lib/python2.3/site-packages/trac/env.py", line 279, in > > needs_upgrade\n > > db = self.get_db_cnx() > > [error] PythonHandler trac.web.modpython_frontend: File > > "/usr/lib/python2.3/site-packages/trac/env.py", line 137, in > > get_db_cnx\n > > return self.__cnx_pool.get_cnx() > > [error] PythonHandler trac.web.modpython_frontend: File > > "/usr/lib/python2.3/site-packages/trac/db.py", line 157, in get_cnx > > \n cnx > > = self._cnx_class(**self._args) > > [error] PythonHandler trac.web.modpython_frontend: File > > "/usr/lib/python2.3/site-packages/trac/db.py", line 256, in __init__\n > > assert have_pysqlite > 0 > > [error] PythonHandler trac.web.modpython_frontend: AssertionError > > > > If I start python as root I have no problems importing sqlite (or > > pysqlite2) > > which seems to set have_pysqlite variable. > > > > Any help appreciated. > > > > Regards > > Phil > > > David Dahl -- "Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ... Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail _______________________________________________ Trac mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac
