Modify ↓
#6925 closed defect (invalid)
trac 10.4 on windows
| Reported by: | Owned by: | Jonas Borgström | |
|---|---|---|---|
| Priority: | highest | Milestone: | |
| Component: | general | Version: | 0.10.4 |
| Severity: | major | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description (last modified by )
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 (0)
Change History (2)
comment:1 by , 18 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:2 by , 13 years ago
| Description: | modified (diff) |
|---|---|
| Resolution: | fixed → invalid |
Note:
See TracTickets
for help on using tickets.



I installed another version of pysqlite and that fixed my problem.
I installed pysqlite-2.3.2.win32-py2.4.exe
Regards,