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:
Cc:

Description

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 https://worldtechfit.blogspot.com/2022/10/pasoori-song-lyrics-ali-sethi-ft-shae.html',
 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/106.0.0.0 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/main.py", line 648, in _dispatch_request
    dispatcher.dispatch(req)
  File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 249, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-x86_64/egg/trac/ticket/web_ui.py", line 174, in process_request
    return self._process_ticket_request(req)
  File "build/bdist.linux-x86_64/egg/trac/ticket/web_ui.py", line 667, in _process_ticket_request
    self._do_save(req, ticket, action)
  File "build/bdist.linux-x86_64/egg/trac/ticket/web_ui.py", line 1434, in _do_save
    replyto=req.args.get('replyto'))
  File "build/bdist.linux-x86_64/egg/trac/ticket/model.py", line 390, in save_changes
    """, (self.id, when_ts, author, cnum, comment))
  File "build/bdist.linux-x86_64/egg/trac/db/api.py", line 155, in __exit__
    self.db.commit()
OperationalError: database is locked

Change History (0)

Note: See TracTickets for help on using tickets.