Modify

Opened 10 years ago

Closed 10 years ago

#1225 closed Bug (Wont Fix)

OperationalError: database is locked

Reported by: anonymous Owned by:
Milestone: Component: Other
Version: Other Severity: None
Keywords: Cc:

Description

How to Reproduce

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

(please provide additional details here)

Request parameters:

{'__FORM_TOKEN': u'4f4a865c9e0cdf1963f600ad',
 'author': u'anonymous',
 'field_cc': u'',
 'field_component': u'Documentation',
 'field_description': u'In the help file for DLLCall is says \r\n{{{\r\nFailure: szt @error\r\n}}}\r\n\r\nI believe it should be "set"\r\n ',
 'field_keywords': u'',
 'field_status': u'new',
 'field_summary': u'Typo In DLLCall Documentation ',
 'field_type': u'Bug',
 'field_version': u'3.3.1.3',
 'submit': u'Create ticket'}

User Agent was: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)

System Information

Trac 0.11.5
Python 2.4.3 (#1, Jul 27 2009, 17:56:30)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-44)]
setuptools 0.6c7
SQLite 3.3.6
pysqlite 1.1.7
Genshi 0.5.1
mod_python 3.2.8
Subversion 1.6.5 (r38866)
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 444, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 205, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/trac/ticket/web_ui.py", line 183, in process_request
    return self._process_newticket_request(req)
  File "/usr/lib/python2.4/site-packages/trac/ticket/web_ui.py", line 392, in _process_newticket_request
    valid = self._validate_ticket(req, ticket)
  File "/usr/lib/python2.4/site-packages/trac/ticket/web_ui.py", line 970, in _validate_ticket
    for field, message in manipulator.validate_ticket(req, ticket):
  File "/var/www/vhosts/autoitscript.com/au3_services/trac/autoit/plugins/TracSpamFilter-0.2.1.2dev-py2.4.egg/tracspamfilter/adapters.py", line 67, in validate_ticket
  File "/var/www/vhosts/autoitscript.com/au3_services/trac/autoit/plugins/TracSpamFilter-0.2.1.2dev-py2.4.egg/tracspamfilter/api.py", line 133, in test
  File "/var/www/vhosts/autoitscript.com/au3_services/trac/autoit/plugins/TracSpamFilter-0.2.1.2dev-py2.4.egg/tracspamfilter/model.py", line 135, in insert
  File "/usr/lib/python2.4/site-packages/trac/db/util.py", line 59, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "/usr/lib64/python2.4/site-packages/sqlite/main.py", line 255, in execute
    self.rs = self.con.db.execute(SQL % parms)
OperationalError: database is locked


Attachments (0)

Change History (1)

comment:1 Changed 10 years ago by Valik

  • Resolution set to Wont Fix
  • Status changed from new to closed

This happens too infrequently to care about. Also I don't really know why it happens and is probably something I can't fix anyway without spending weeks learning the Trac codebase.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.