| 353 | // 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. |
| 354 | Creating and Initializing Project |
| 355 | Failed to create environment. global name 'sqlite' is not defined |
| 356 | Traceback (most recent call last): |
| 357 | 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 |
| 358 | options=options) |
| 359 | File "/usr/local/python2.6/lib/python2.6/site-packages/Trac-0.11-py2.6.egg/trac/env.py", line 188, in __init__ |
| 360 | self.create(options) |
| 361 | File "/usr/local/python2.6/lib/python2.6/site-packages/Trac-0.11-py2.6.egg/trac/env.py", line 311, in create |
| 362 | DatabaseManager(self).init_db() |
| 363 | 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 |
| 364 | connector.init_db(**args) |
| 365 | 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 |
| 366 | cnx = sqlite.connect(path, timeout=int(params.get('timeout', 10000))) |
| 367 | NameError: global name 'sqlite' is not defined |