Modify ↓
#10499 closed defect (duplicate)
OperationalError: database is locked
Reported by: | byldas | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.12 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to Reproduce
While doing a GET operation on /
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{}
User agent: #USER_AGENT#
System Information
Trac | 0.12
|
Genshi | 0.6
|
mod_python | 3.3.1
|
Pygments | 1.3.1
|
pysqlite | 2.4.1
|
Python | 2.6.6 (r266:84292, Dec 26 2010, 22:48:11) [GCC 4.4.5]
|
pytz | 2010b
|
setuptools | 0.6
|
SQLite | 3.7.3
|
Subversion | 1.6.12 (r955767)
|
jQuery | #JQUERY#
|
Enabled Plugins
Python Traceback
Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/Trac-0.12-py2.6.egg/trac/web/main.py", line 513, in _dispatch_request dispatcher.dispatch(req) File "/usr/local/lib/python2.6/dist-packages/Trac-0.12-py2.6.egg/trac/web/main.py", line 258, in dispatch req.session.save() File "/usr/local/lib/python2.6/dist-packages/Trac-0.12-py2.6.egg/trac/web/session.py", line 88, in save @self.env.with_transaction() File "/usr/local/lib/python2.6/dist-packages/Trac-0.12-py2.6.egg/trac/db/api.py", line 77, in transaction_wrapper fn(ldb) File "/usr/local/lib/python2.6/dist-packages/Trac-0.12-py2.6.egg/trac/web/session.py", line 132, in delete_session_cookie """, (self.last_visit, self.sid, authenticated)) File "/usr/local/lib/python2.6/dist-packages/Trac-0.12-py2.6.egg/trac/db/util.py", line 65, in execute return self.cursor.execute(sql_escape_percent(sql), args) File "/usr/local/lib/python2.6/dist-packages/Trac-0.12-py2.6.egg/trac/db/sqlite_backend.py", line 78, in execute result = PyFormatCursor.execute(self, *args) File "/usr/local/lib/python2.6/dist-packages/Trac-0.12-py2.6.egg/trac/db/sqlite_backend.py", line 56, in execute args or []) File "/usr/local/lib/python2.6/dist-packages/Trac-0.12-py2.6.egg/trac/db/sqlite_backend.py", line 48, in _rollback_on_error return function(self, *args, **kwargs) OperationalError: database is locked
Attachments (0)
Change History (2)
comment:1 by , 13 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
comment:2 by , 13 years ago
Also, in your specific case: try upgrading PySqlite to the latest released version (2.6.3).
Note:
See TracTickets
for help on using tickets.
Duplicate of #10077.