Edgewall Software

Opened 18 years ago

Last modified 18 years ago

#3496 closed defect

Errors when attempting to run trac-admin /patrh/to/project initenv — at Initial Version

Reported by: jon@… Owned by: daniel
Priority: normal Milestone:
Component: admin/console Version: 0.9.6
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

After installing svn and trac by following the meticulious directions at http://trac.edgewall.org/wiki/TracOnOsxNoFink, I'm getting errors every time I run trac-admin /patrh/to/project initenv

Here are the errors from the last run;

Creating and Initializing Project Failed to create environment. global name 'sqlite' is not defined Traceback (most recent call last):

File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/trac/scripts/admin.py", line 139, in env_create

self.env = Environment(self.envname, create=True, db_str=db_str)

File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/trac/env.py", line 79, in init

self.create(db_str)

File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/trac/env.py", line 197, in create

db.init_db(self.path, db_str)

File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/trac/db.py", line 442, in init_db

cls.init_db(args)

File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/trac/db.py", line 321, 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 "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/trac/scripts/admin.py", line 594, in do_initenv

self.env_create(db_str)

File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/trac/scripts/admin.py", line 144, in env_create

sys.exit(1)

SystemExit: 1

Change History (0)

Note: See TracTickets for help on using tickets.