Opened 3 years ago

#95682 new defect

OperationalError: database is locked

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

Description

How to Reproduce

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

(please provide additional details here)

Request parameters:

{u'__FORM_TOKEN': u'59ceab7263dc70c13dc30f97',
 u'action': u'leave',
 u'author': u'bansiweb@gmail.com',
 u'comment': u'Great Article. I like it.\r\n[https://greatloveart.com/category/iphone-wallpaper/]',
 u'field_component': u'KATRIN HMI',
 u'field_keywords': u'',
 u'field_milestone': u'Commissioning',
 u'field_priority': u'major',
 u'field_severity': u'medium',
 u'field_summary': u'Top Rated Feedbacks On Website Reviewer',
 u'field_type': u'defect',
 u'field_version': u'2.0',
 'id': u'17522',
 u'replyto': u'',
 u'start_time': u'1652085153201885',
 u'submit': u'Submit changes',
 u'view_time': u'1652085153201885'}

User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 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.