Opened 8 years ago

Closed 7 years ago

#2859 closed Defect (Fixed)

OperationalError: database is locked

Reported by: omni Owned by: Rinoa
Component: Web Site Version:
Severity: Normal Keywords:
Cc:

Description

How to Reproduce

While doing a POST operation on /register, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'__FORM_TOKEN': u'94a3f1eb7d7fde398ea785d2',
 'action': u'create',
 'email': u'xxxxxxxxxx@gmail.com',
 'name': u'',
 'password': u'*iP624)LW8D.tzQuKpqb',
 'password_confirm': u'*iP624)LW8D.tzQuKpqb',
 'user': u'omni'}

User Agent was: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.186 Safari/535.1

System Information

Trac 0.11.4
Python 2.4.3 (#1, May 5 2011, 16:39:09)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-50)]
setuptools 0.6c5
SQLite 3.3.6
pysqlite 2.6.0
Genshi 0.5
Subversion 1.6.16 (r1073529)
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/home2/javelin/webapps/colloquy_trac/lib/python2.4/Trac-0.11.4-py2.4.egg/trac/web/main.py", line 435, in _dispatch_request
    dispatcher.dispatch(req)
  File "/home2/javelin/webapps/colloquy_trac/lib/python2.4/Trac-0.11.4-py2.4.egg/trac/web/main.py", line 205, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 400, in process_request
  File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 85, in _create_user
  File "/home2/javelin/webapps/colloquy_trac/lib/python2.4/Trac-0.11.4-py2.4.egg/trac/db/util.py", line 50, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "/home2/javelin/webapps/colloquy_trac/lib/python2.4/Trac-0.11.4-py2.4.egg/trac/db/sqlite_backend.py", line 58, in execute
    args or [])
  File "/home2/javelin/webapps/colloquy_trac/lib/python2.4/Trac-0.11.4-py2.4.egg/trac/db/sqlite_backend.py", line 50, in _rollback_on_error
    return function(self, *args, **kwargs)
OperationalError: database is locked


Apparently this is a feature of Trac...

Change History (1)

comment:1 Changed 7 years ago by zach

  • Resolution set to Fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.