360 | | // I haven't pysqlite installed. Because of Python's version is 2.6. Who can give me a help? by default python2.4 have been installed in the system. |
361 | | Creating and Initializing Project |
362 | | Failed to create environment. global name 'sqlite' is not defined |
363 | | Traceback (most recent call last): |
364 | | File "/usr/local/python2.6/lib/python2.6/site-packages/Trac-0.11-py2.6.egg/trac/admin/console.py", line 543, in do_initenv |
365 | | options=options) |
366 | | File "/usr/local/python2.6/lib/python2.6/site-packages/Trac-0.11-py2.6.egg/trac/env.py", line 188, in __init__ |
367 | | self.create(options) |
368 | | File "/usr/local/python2.6/lib/python2.6/site-packages/Trac-0.11-py2.6.egg/trac/env.py", line 311, in create |
369 | | DatabaseManager(self).init_db() |
370 | | File "/usr/local/python2.6/lib/python2.6/site-packages/Trac-0.11-py2.6.egg/trac/db/api.py", line 70, in init_db |
371 | | connector.init_db(**args) |
372 | | File "/usr/local/python2.6/lib/python2.6/site-packages/Trac-0.11-py2.6.egg/trac/db/sqlite_backend.py", line 136, in init_db |
373 | | cnx = sqlite.connect(path, timeout=int(params.get('timeout', 10000))) |
374 | | NameError: global name 'sqlite' is not defined |