Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#12008 closed defect (bug) (fixed)

OperationalError: database is locked

Reported by: rfair404's profile rfair404 Owned by: ryan's profile ryan
Milestone: Priority: normal
Severity: normal Version:
Component: Site Keywords:
Focuses: Cc:


How to Reproduce

While doing a GET operation on /report/24, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'id': u'24'}

System Information

Trac 0.11.6
Python 2.4.4 (#1, Oct 22 2008, 20:17:05)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)]
setuptools 0.6c9
SQLite 3.3.8
pysqlite 2.3.2
Genshi 0.5
Pygments 0.10
RPC 1.0.6
Subversion 1.4.2 (r22196)

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/web/", line 450, in _dispatch_request
  File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/web/", line 229, in dispatch
  File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/web/", line 100, in save
  File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/db/", line 64, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/db/", line 80, in execute
    PyFormatCursor.execute(self, *args)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/db/", line 59, in execute
    args or [])
  File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/db/", line 51, in _rollback_on_error
    return function(self, *args, **kwargs)
OperationalError: database is locked

Attachments (1)

Screenshot-1.png (132.5 KB) - added by rfair404 14 years ago.
Screenshot of error.

Download all attachments as: .zip

Change History (5)

14 years ago

Screenshot of error.

#1 @nacin
14 years ago

  • Component changed from General to
  • Milestone changed from Unassigned to site
  • Owner set to ryan

Yea, happens sometimes...

#2 @ryan
14 years ago

Fixing this requires switching DB backends, which is on the big to-do list.

#3 @scribu
14 years ago

  • Milestone site deleted
  • Resolution set to fixed
  • Status changed from new to closed


#4 @nacin
14 years ago

Servers have been shifted, but we're still on sqlite, not mysql. It'll happen eventually though. No problems closing this.

Note: See TracTickets for help on using tickets.