Ticket #2879 (closed defect: worksforme)
Error Message: Failed to create environment. You can only execute one statement at a time.
| Reported by: | hobbeston@… | Owned by: | daniel |
|---|---|---|---|
| Priority: | highest | Milestone: | |
| Component: | admin/console | Version: | 0.9.4 |
| Severity: | critical | Keywords: | |
| Cc: |
Description (last modified by cmlenz) (diff)
My configuration:
- trac: 0.9.4
- sqlite: 2.8.17
- pysqlite: 2.0.5
- clearsilver: 0.10.1
- Python: 2.4.2
- svn: 1.3.0
I get the following error when initializing an environment:
Creating and Initializing Project
Failed to create environment. You can only execute one statement at a time.
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 326, in init_db
cursor.execute(stmt)
Warning: You can only execute one statement at a time.
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
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


