Ticket #7109 (closed defect: worksforme)
Sqlite: cannot start a transaction within a transaction
| Reported by: | jsinger@… | Owned by: | jonas |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.11b2 |
| Severity: | major | Keywords: | sqlite osx |
| Cc: |
Description
compare to Error #3471
How to Reproduce
While doing a GET operation on /timeline, Trac issued an internal error.
Machine in question is a Power Mac G5 running Mac OS X 10.4.11 Trac, Python, mod_python subversion have been specifically compiled for the machine using the latest avalilable versions.
Trac has just been setup, there are no contents yet anywhere. As soon as timeline is selected the error appears.
System Information
| Trac | 0.11b2 |
| Python | 2.5.2 (r252:60911, Apr 12 2008, 11:53:13) [GCC 4.0.1 (Apple Computer, Inc. build 5370)] |
| setuptools | 0.6c8 |
| SQLite | 3.1.3 |
| pysqlite | 2.4.1 |
| Genshi | 0.4.4 |
| mod_python | 3.3.1 |
| Subversion | 1.4.6 (r28521) |
Python Traceback
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/web/main.py", line 419, in _dispatch_request
dispatcher.dispatch(req)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/web/main.py", line 221, in dispatch
req.session.save()
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/web/session.py", line 179, in save
(self.sid,))
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/db/util.py", line 50, in execute
return self.cursor.execute(sql_escape_percent(sql), args)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/db/sqlite_backend.py", line 58, in execute
args or [])
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/db/sqlite_backend.py", line 50, in _rollback_on_error
return function(self, *args, **kwargs)
OperationalError: cannot start a transaction within a transaction
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


