Opened 21 months ago

#95784 new enhancement

OperationalError: database is locked

Reported by: anonymous Owned by:
Priority: major Milestone: Commissioning
Component: Database Version: 2.0
Severity: major Keywords:


How to Reproduce

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

(please provide additional details here)

Request parameters:

{u'__FORM_TOKEN': u'33c691a9eb7c48f6a7f27b40',
 u'action': u'leave',
 u'author': u'anonymous',
 u'comment': u'Great post please watch new',
 u'field_component': u'Database',
 u'field_keywords': u'pywhers',
 u'field_milestone': u'Commissioning',
 u'field_priority': u'major',
 u'field_severity': u'medium',
 u'field_summary': u'The Benefits of Getting a Pre-Purchase Inspection',
 u'field_type': u'defect',
 u'field_version': u'2.0',
 'id': u'80',
 u'replyto': u'',
 u'start_time': u'1662444598354659',
 u'submit': u'Submit changes',
 u'view_time': u'1662444598354659'}

User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

System Information

System information not available

Enabled Plugins

Plugin information not available

Interface Customization

Interface customization information not available

Python Traceback

Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/trac/web/", line 648, in _dispatch_request
  File "build/bdist.linux-x86_64/egg/trac/web/", line 249, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-x86_64/egg/trac/ticket/", line 174, in process_request
    return self._process_ticket_request(req)
  File "build/bdist.linux-x86_64/egg/trac/ticket/", line 667, in _process_ticket_request
    self._do_save(req, ticket, action)
  File "build/bdist.linux-x86_64/egg/trac/ticket/", line 1434, in _do_save
  File "build/bdist.linux-x86_64/egg/trac/ticket/", line 390, in save_changes
    """, (, when_ts, author, cnum, comment))
  File "build/bdist.linux-x86_64/egg/trac/db/", line 155, in __exit__
OperationalError: database is locked

Change History (0)

Note: See TracTickets for help on using tickets.