I found a way to resolve this, however, I'm not sure #2 is the right way.

   1. Based on a recommenation from Christian Boos I set my
      $LD_LIBRARY_PATH to the directory that contains the latest SQLite
      libraries.  In my case this was /usr/local/lib/.
          * *NOTE: *If you run trac-admin as root you have to set the
            LD_LIBRARY_PATH as root.
   2. The file site-packages/trac/db/sqlite_backend.py seems to be wrong
      and is what's causing the error.  I'm not a Python developer, so I
      hope somebody can correct me and/or explain this problem in better
      detail.  It seems when sqlite is imported in the try block it is
      not given global scope.  I put the import line above the try block
      and it worked perfectly. (import pysqlite2.dbapi2 as sqlite)


Can somebody elaborate on why #2 was causing problems?

Thanks,
Jeremy

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to