Hi all,
I've been running a while with a development snapshot of Trac and it worked
well. In the process of installing a more poweful server (!! :), I decided
to checkout the latest and greatest Trac version and to use Pysqlite 2.21
and sqlite 3.3.5 on a Redhat Enterprise Linux 4.
However, when I try to initialize a new environment I get the following....
Creating and Initializing Project
Failed to create environment. global name 'sqlite' is not defined
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/scripts/admin.py", line 601,
in do_initenv
options=options)
File "/usr/lib/python2.3/site-packages/trac/env.py", line 119, in
__init__
self.create(options)
File "/usr/lib/python2.3/site-packages/trac/env.py", line 226, in create
DatabaseManager(self).init_db()
File "/usr/lib/python2.3/site-packages/trac/db/api.py", line 65, in
init_db
connector.init_db(**args)
File "/usr/lib/python2.3/site-packages/trac/db/sqlite_backend.py", line
108, in init_db
cnx = sqlite.connect(path, timeout=int(params.get('timeout', 10000)))
NameError: global name 'sqlite' is not defined
Failed to initialize environment. 1
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/scripts/admin.py", line 605,
in do_initenv
sys.exit(1)
SystemExit: 1
any clue on what am I doing wrong???
thanks for such a great product!
Stephane Dalton
Genie Project leader
DALSA Coreco
514-333-3297, x290
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac