Opened 7 years ago
#12015 new Bugs
OperationalError: database is locked
Reported by: | Andrey Semashev | Owned by: | Douglas Gregor |
---|---|---|---|
Milestone: | To Be Determined | Component: | trac / subversion |
Version: | Boost 1.61.0 | Severity: | Problem |
Keywords: | Cc: |
Description
How to Reproduce
While doing a POST operation on /query
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'0_component': u'parameter', '0_component_mode': u'', '0_status': [u'assigned', u'new', u'reopened'], '__FORM_TOKEN': u'8e9714cb184b0eedee99acb4', 'add_clause_1': u'', 'add_filter_0': u'', 'col': ['id', u'summary', u'status', u'type', u'milestone', u'component'], 'group': u'', 'max': u'100', 'order': u'priority', 'update': u'Update'}
User agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0
System Information
System information not available
Enabled Plugins
Plugin information not available
Python Traceback
Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/Trac-0.12.2-py2.6.egg/trac/web/main.py", line 511, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.6/site-packages/Trac-0.12.2-py2.6.egg/trac/web/main.py", line 237, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.6/site-packages/Trac-0.12.2-py2.6.egg/trac/ticket/query.py", line 925, in process_request req.redirect(query.get_href(req.href)) File "/usr/lib/python2.6/site-packages/Trac-0.12.2-py2.6.egg/trac/web/api.py", line 362, in redirect self.session.save() # has to be done before the redirect is sent File "/usr/lib/python2.6/site-packages/Trac-0.12.2-py2.6.egg/trac/web/session.py", line 105, in save @self.env.with_transaction() File "/usr/lib/python2.6/site-packages/Trac-0.12.2-py2.6.egg/trac/db/api.py", line 77, in transaction_wrapper fn(ldb) File "/usr/lib/python2.6/site-packages/Trac-0.12.2-py2.6.egg/trac/web/session.py", line 140, in save_session """, (self.sid, authenticated)) File "/usr/lib/python2.6/site-packages/Trac-0.12.2-py2.6.egg/trac/db/util.py", line 65, in execute return self.cursor.execute(sql_escape_percent(sql), args) File "/usr/lib/python2.6/site-packages/Trac-0.12.2-py2.6.egg/trac/db/sqlite_backend.py", line 78, in execute result = PyFormatCursor.execute(self, *args) File "/usr/lib/python2.6/site-packages/Trac-0.12.2-py2.6.egg/trac/db/sqlite_backend.py", line 56, in execute args or []) File "/usr/lib/python2.6/site-packages/Trac-0.12.2-py2.6.egg/trac/db/sqlite_backend.py", line 48, in _rollback_on_error return function(self, *args, **kwargs) OperationalError: database is locked
Note:
See TracTickets
for help on using tickets.