Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#3496 closed defect (invalid)

Errors when attempting to run trac-admin /patrh/to/project initenv

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 (last modified by Emmanuel Blot)

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

Attachments (0)

Change History (4)

comment:1 by anonymous, 18 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #3488

comment:2 by anonymous, 18 years ago

Installation problems should start at the trac Mailing List first.

comment:3 by Emmanuel Blot, 18 years ago

Description: modified (diff)
Priority: highnormal
Resolution: duplicate
Severity: blockernormal
Status: closedreopened

Please search the ticket DB for similar issues before submitting a new ticket.

Btw, this is not really a dup of #3488 (which is about a request to improve the error message)

comment:4 by Emmanuel Blot, 18 years ago

Resolution: invalid
Status: reopenedclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain daniel.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from daniel to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.