Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

#7753 closed defect (invalid)

OperationalError: database is locked

Reported by: p.walaszek@… Owned by:
Priority: normal Milestone:
Component: general Version: 0.11.1
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

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

Randomly occuring error.

Request parameters:

{'__FORM_TOKEN': u'005111c14092be81c67003af',
 'add_filter': u'',
 'col': ['id',
         u'summary',
         u'hours',
         u'due_close',
         u'component',
         u'status',
         u'type'],
 'component': u'',
 'component_mode': u'!',
 'due_close': u'',
 'due_close_mode': u'~',
 'group': u'priority',
 'hours': u'',
 'hours_mode': u'~',
 'max': u'100',
 'order': u'due_close',
 'owner': u'fizol',
 'owner_mode': u'',
 'status': [u'assigned', u'new', u'reopened'],
 'update': u'Update'}

User Agent was: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092816 Iceweasel/3.0.3 (Debian-3.0.3-2)

System Information

Trac 0.11.1
Python 2.4.4 (#1, Apr 15 2008, 23:37:53)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)]
setuptools 0.6c8
SQLite 3.3.8
pysqlite 2.3.2
Genshi 0.5
mod_python 3.2.10
Pygments 0.10
Subversion 1.4.2 (r22196)
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 423, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 197, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/trac/ticket/query.py", line 797, in process_request
    req.redirect(query.get_href(req.href))
  File "/usr/lib/python2.4/site-packages/trac/web/api.py", line 266, in redirect
    self.session.save() # has to be done before the redirect is sent
  File "/usr/lib/python2.4/site-packages/trac/web/session.py", line 97, in save
    (self.sid,))
  File "/usr/lib/python2.4/site-packages/trac/db/util.py", line 50, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "/usr/lib/python2.4/site-packages/trac/db/sqlite_backend.py", line 58, in execute
    args or [])
  File "/usr/lib/python2.4/site-packages/trac/db/sqlite_backend.py", line 50, in _rollback_on_error
    return function(self, *args, **kwargs)
OperationalError: database is locked

Attachments (0)

Change History (1)

comment:1 by Emmanuel Blot, 16 years ago

Resolution: invalid
Status: newclosed

Please re-read the NewTicketGuidelines, especially the section about duplicates.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.