Search the ML archive and Trac tickets: this issue is probably the
most common one when installing Trac, and has been addressed many
times.

Cheers,
Manu

On 3/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I have download and install Trac on RedHat 4.
> But when I create my project ' trac-admin /srv/svn/tracenv/snapshot/
> initenv'  I get this error: "global name 'sqlite' is not defined"
>
> I follow this document in setting up Trac on linux:
> http://www.darronschall.com/weblog/archives/000202.cfm
>
> Can you please tell me why? Thanks.
>
> Creating and Initializing Project
> Failed to create environment. global name 'sqlite' is not defined
> Traceback (most recent call last):
>   File "/usr/lib/python2.3/site-packages/trac/scripts/admin.py", line
> 613, in do_initenv
>     options=options)
>   File "/usr/lib/python2.3/site-packages/trac/env.py", line 124, in
> __init__
>     self.create(options)
>   File "/usr/lib/python2.3/site-packages/trac/env.py", line 229, in
> create
>     DatabaseManager(self).init_db()
>   File "/usr/lib/python2.3/site-packages/trac/db/api.py", line 69, in
> init_db
>     connector.init_db(**args)
>   File "/usr/lib/python2.3/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 "/usr/lib/python2.3/site-packages/trac/scripts/admin.py", line
> 617, in do_initenv
>     sys.exit(1)
> SystemExit: 1
>
>
> >
>


-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to