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: | 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 )
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 , 18 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
comment:3 by , 18 years ago
Description: | modified (diff) |
---|---|
Priority: | high → normal |
Resolution: | duplicate |
Severity: | blocker → normal |
Status: | closed → reopened |
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 , 18 years ago
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
Note:
See TracTickets
for help on using tickets.
Duplicate of #3488