Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#37452 closed defect (bug) (invalid)

OperationalError: database is locked

Reported by: gkloveweb's profile gk.loveweb Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.6
Component: General Keywords:
Focuses: 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'9ccb28aaea88f3c88c801f91',
 'attachment': u'on',
 'field_component': u'Widgets',
 'field_description': u'Title text of widget section overflow',
 'field_focuses': u'ui, accessibility, administration',
 'field_keywords': u'',
 'field_owner': u'< default >',
 'field_severity': u'normal',
 'field_summary': u'Widget Title text overflow',
 'field_type': u'defect (bug)',
 'field_version': u'4.5.3',
 'sfp_email': u'',
 'sfph_mail': u'',
 'submit': u'Create ticket'}

User agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36

System Information

System information not available

Enabled Plugins

Plugin information not available

Python Traceback

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.1-py2.7.egg/trac/web/main.py", line 497, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.1-py2.7.egg/trac/web/main.py", line 214, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.1-py2.7.egg/trac/ticket/web_ui.py", line 180, in process_request
    return self._process_newticket_request(req)
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.1-py2.7.egg/trac/ticket/web_ui.py", line 465, in _process_newticket_request
    self._do_create(req, ticket) # (redirected if successful)
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.1-py2.7.egg/trac/ticket/web_ui.py", line 1289, in _do_create
    ticket.insert()
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.1-py2.7.egg/trac/ticket/model.py", line 249, in insert
    """, [(tkt_id, c, self[c]) for c in custom_fields])
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.1-py2.7.egg/trac/db/api.py", line 155, in __exit__
    self.db.commit()
OperationalError: database is locked

Change History (2)

#1 @bravokeyl
9 years ago

  • Keywords close added

Hi @gk.loveweb,

I guess this is not the correct place to post trac related issues. There is a meta trac for this.

#2 @pento
9 years ago

  • Keywords close removed
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

This is currently being tracked in #meta1785.

Note: See TracTickets for help on using tickets.