Ticket #4331 (closed defect: fixed)
"ProgrammingError: library routine called out of sequence" in _rollback_on_error()
| Reported by: | ErikRose | Owned by: | cboos |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.10.4 |
| Component: | general | Version: | 0.10.2 |
| Severity: | critical | Keywords: | pysqlite |
| Cc: |
Description
This is rather like #2969, but the traceback bears no resemblance, and I'm not using mod_python, so I'm opening a new ticket.
On Debian Testing, using Apache 2.0.55, FastCGI, SQLite, and Trac 0.10.2, I intermittently get this traceback when loading the front wiki page (or doing anything, probably):
File "/var/lib/python-support/python2.4/trac/web/main.py", line 387, in dispatch_request
dispatcher.dispatch(req)
File "/var/lib/python-support/python2.4/trac/web/main.py", line 190, in dispatch
req.authname = self.authenticate(req)
File "/var/lib/python-support/python2.4/trac/web/main.py", line 146, in authenticate
authname = authenticator.authenticate(req)
File "/var/lib/python-support/python2.4/trac/web/auth.py", line 69, in authenticate
authname = self._get_name_for_cookie(req, req.incookie['trac_auth'])
File "/var/lib/python-support/python2.4/trac/web/auth.py", line 179, in _get_name_for_cookie
(cookie.value, req.remote_addr))
File "/var/lib/python-support/python2.4/trac/db/util.py", line 50, in execute
return self.cursor.execute(sql_escape_percent(sql), args)
File "/var/lib/python-support/python2.4/trac/db/sqlite_backend.py", line 56, in execute
args or [])
File "/var/lib/python-support/python2.4/trac/db/sqlite_backend.py", line 48, in _rollback_on_error
return function(self, *args, **kwargs)
ProgrammingError: library routine called out of sequence
Once the error occurs, it happens on every request until I restart Apache. Then things are fine for another week or so.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


