Make WordPress Core

Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#12008 closed defect (bug) (fixed)

OperationalError: database is locked

Reported by: rfair404 Owned by: ryan
Milestone: Priority: normal
Severity: normal Version:
Component: WordPress.org 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/main.py", line 450, in _dispatch_request
  File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/web/main.py", line 229, in dispatch
  File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/web/session.py", line 100, in save
  File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/db/util.py", 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/sqlite_backend.py", line 80, in execute
    PyFormatCursor.execute(self, *args)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/db/sqlite_backend.py", line 59, in execute
    args or [])
  File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/db/sqlite_backend.py", 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 12 years ago.
Screenshot of error.

Download all attachments as: .zip

Change History (5)

12 years ago

Screenshot of error.

#1 @nacin
12 years ago

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

Yea, happens sometimes...

#2 @ryan
12 years ago

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

#3 @scribu
11 years ago

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


#4 @nacin
11 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.