hi,
when i try to create a new environment with
trac-admin /path/trac/project initenv
appears following fault
Creating and Initializing Project
Failed to create environment. global name 'sqlite' is not defined
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/trac/scripts/admin.py", line 613, in
do_initenv
options=options)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/trac/env.py", line 124, in __init__
self.create(options)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/trac/env.py", line 229, in create
DatabaseManager(self).init_db()
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/trac/db/api.py", line 69, in init_db
connector.init_db(**args)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/trac/db/sqlite_backend.py", line 121, 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 "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/trac/scripts/admin.py", line 617, in
do_initenv
sys.exit(1)
SystemExit: 1
localhost:~/source/trac-0.10.3/scripts user1$
I'm using trac 0.10.3. on an Macbook with Mac OS X 10.4.9
I installed all needed packages with a script from the trac homepage
FAQ.
what is wrong?
thx, michael --
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---