[Trac] install problem, something to do with sqlite

David Baggaley david.baggaley at legendplc.com
Fri Aug 12 06:45:23 CDT 2005


Hi

I have managed to install python, sqlite, pysqlite and trac but when I try 
view trac via a broswer I get this error message.

Trac detected an internal error:

'module' object has no attribute 'connect'
Traceback (most recent call last):
  File "/usr/local/lib/python2.3/site-packages/trac/core.py", line 531, in 
cgi_start
    real_cgi_start()
  File "/usr/local/lib/python2.3/site-packages/trac/core.py", line 513, in 
real_cgi_start
    env = open_environment()
  File "/usr/local/lib/python2.3/site-packages/trac/core.py", line 190, in 
open_environment
    version = env.get_version()
  File "/usr/local/lib/python2.3/site-packages/trac/Environment.py", line 160, 
in get_version
    cnx = self.get_db_cnx()
  File "/usr/local/lib/python2.3/site-packages/trac/Environment.py", line 87, 
in get_db_cnx
    return sqlite.connect(os.path.join(self.path, db_str[7:]),
AttributeError: 'module' object has no attribute 'connect'


Any help you be appreciated.

Also is there a way to search the back archives to see if this question has 
been asked before?


More information about the Trac mailing list