Edgewall Software

Ticket #6925 (closed defect: fixed)

Opened 6 months ago

Last modified 6 months ago

trac 10.4 on windows

Reported by: justniky@… Owned by: jonas
Priority: highest Milestone:
Component: general Version: 0.10.4
Severity: major Keywords:
Cc:

Description

Hello!

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

options=options)

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

sys.exit(1)

SystemExit:1

Thank you for your help,

regards.

Attachments

Change History

Changed 6 months ago by justniky@…

  • status changed from new to closed
  • resolution set to fixed

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

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

Regards,

Add/Change #6925 (trac 10.4 on windows)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.