Edgewall Software

Opened 12 years ago

Closed 12 years ago

Last modified 7 years ago

#6925 closed defect (invalid)

trac 10.4 on windows

Reported by: justniky@… Owned by: Jonas Borgström
Priority: highest Milestone:
Component: general Version: 0.10.4
Severity: major Keywords:
Cc: Branch:
Release Notes:
API Changes:

Description (last modified by Christian Boos)


I've tried to install trac 10.4 on windows xp; however, when initializing the environment I keep getting the same error.

I am using python 2.4 . I tried to install trac 0.11dev and everything worked out just fine. Nevertheless, I need to use the version 10.4

The error I get when creating the environment is the following,

Failed to create environment. database parameter must be string or APSW Connection object
Traceback (most recent call last):
   File "c:\python24\Lib\site-packages\trac\scripts\admin.py", line 63, in do_initenv
   File "C:\Python24\Lib\site-packages\trac\env.py", line 145, in __init__ self.create(options)
   File "c:\python24\lib\site-packages\trac\db\api.py", line 70, in init_db connector.init_db(**args)
   File "c:\python24\lib\site-packages\trac\db\sqlite_backend.py", line 121, in init_db
       cnx = sqlite.connect(path, timeout=int(params.get('timeout', 10000)))
ValueError: database parameter must be string or APSW Connection object
Failed to initialize environment. 1
Traceback (most recent call last):
   File "C:\python24\lib\site-packages\trac\scripts\admin.py", line 617, in do_initenv

Thank you for your help,


Attachments (0)

Change History (2)

comment:1 by justniky@…, 12 years ago

Resolution: fixed
Status: newclosed

I installed another version of pysqlite and that fixed my problem.

I installed pysqlite-2.3.2.win32-py2.4.exe


comment:2 by Christian Boos, 7 years ago

Description: modified (diff)
Resolution: fixedinvalid

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to as closed The owner will be changed from Jonas Borgström to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.