Hello All,
WOW, in 9 years working with Linux I have never had problems
installing software on Linux like TRAC is giving me.
System RHEL4 Update 4 64-BIT
I have the following installed:
RHEL 4 / Apache 2.0.52 / subversion-1.2.1 / Kerberos Authentication
(This all works fine)
=======================
TRAC .11 from source
Genshi-0.3.6
python 2.4 from source installed to /usr/local/bin
/usr/local/lib/python2.4
sqlite-3.1.2-2.99_2.el4.at.x86_64.rpm
python-sqlite-1.1.7-1.2.0.99_4.el4.at.x86_64.rpm
Am I missing something?
I don't know what to do about the sqlite errors below.
======================================================
python /usr/local/bin/trac-admin /usr/local/trac/ initenv
<snip>
Path to repository [/path/to/repos]> /usr/local/trac
Please enter location of Trac page templates.
Default is the location of the site-wide templates installed with Trac.
Templates directory [/usr/local/share/trac/templates]>
Creating and Initializing Project
Failed to create environment. global name 'sqlite' is not defined
Traceback (most recent call last):
File "/usr/local/lib/python2.4/site-packages/trac/admin/console.py",
line 560, in do_initenv
options=options)
File "/usr/local/lib/python2.4/site-packages/trac/env.py", line 160,
in __init__
self.create(options)
File "/usr/local/lib/python2.4/site-packages/trac/env.py", line 270,
in create
DatabaseManager(self).init_db()
File "/usr/local/lib/python2.4/site-packages/trac/db/api.py", line 69,
in init_db
connector.init_db(**args)
File
"/usr/local/lib/python2.4/site-packages/trac/db/sqlite_backend.py", line
133, 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/local/lib/python2.4/site-packages/trac/admin/console.py",
line 564, in do_initenv
sys.exit(1)
SystemExit: 1
====================================================
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
On Behalf Of Emmanuel Blot
Sent: Tuesday, February 27, 2007 2:04 PM
To: [email protected]
Subject: [Trac] Re: No such file or directory.
> NameError: global name 'sqlite' is not defined
> Failed to initialize environment. 1
It usually means that PySQLite is not installed properly.
Cheers,
Manu
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---