Something unusual here:

C:\Python24\Lib makes me think you've installed Python from
ActiveState or the like, whereas your prompt looks like you're using
Cygwin...

Which Python release are you actually using - and where did you get it ?

Cheers,
Manu


On 3/29/06, Sommers, Elizabeth <[EMAIL PROTECTED]> wrote:
>
> I am trying to build trac on a windows box.  Any help would be appreciated.
>
> My environment is
>
> $ sqlite
> SQLite version 3.3.4
> Enter ".help" for instructions
> sqlite> .exit
>
> [EMAIL PROTECTED] /cygdrive/c/Python24/Lib
> $ ls site-packages
> README.txt  pyPgSQL  pysqlite-2.1.3-py2.4.egg-info  pysqlite2  trac
>
> The error I get is:
>
> Creating and Initializing Project
> Failed to create environment. global name 'sqlite' is not defined
> Traceback (most recent call last):
>   File "/usr/lib/python2.4/site-packages/trac/scripts/admin.py", line 139,
> in env_create
>     self.__env = Environment(self.envname, create=True, db_str=db_str)
>   File "/usr/lib/python2.4/site-packages/trac/env.py", line 79, in __init__
>     self.create(db_str)
>   File "/usr/lib/python2.4/site-packages/trac/env.py", line 197, in create
>     db.init_db(self.path, db_str)
>   File "/usr/lib/python2.4/site-packages/trac/db.py", line 442, in init_db
>     cls.init_db(**args)
>   File "/usr/lib/python2.4/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 "/usr/lib/python2.4/site-packages/trac/scripts/admin.py", line 594,
> in do_initenv
>     self.env_create(db_str)
>   File "/usr/lib/python2.4/site-packages/trac/scripts/admin.py", line 144,
> in env_create
>     sys.exit(1)
> SystemExit: 1
>
>
>
>
> ____________________________
> http://www.pragmatics.com
> _______________________________________________
> Trac mailing list
> [email protected]
> http://lists.edgewall.com/mailman/listinfo/trac
>


--
Manu
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to