[wp-trac] [WordPress Trac] #55697: OperationalError: database is locked

WordPress Trac noreply at wordpress.org
Sat May 7 13:58:06 UTC 2022


#55697: OperationalError: database is locked
--------------------------+-----------------------------
 Reporter:  mrtransplant  |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 ==== How to Reproduce ====

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

 ''(please provide additional details here)''

 Request parameters:
 {{{
 {u'__FORM_TOKEN': u'173857fd800bb565269c1780',
  u'action': u'create',
  u'action_create_and_assign_reassign_owner': u'< default >',
  u'field_component': u'Menus',
  u'field_description': u'I create new menu>click pages>add to menu>
 nothing happens. I have deactivated all plugins and switched themes.
 Nothing. Bug?',
  u'field_focuses': u'',
  u'field_keywords': u'',
  u'field_severity': u'normal',
  u'field_summary': u'cant add to menu',
  u'field_type': u'defect (bug)',
  u'field_version': u'5.9.3',
  u'sfp_email': u'',
  u'sfph_mail': u'',
  u'submit': u'Create ticket'}
 }}}

 User agent: `Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:99.0)
 Gecko/20100101 Firefox/99.0`

 ==== 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 623, in
 _dispatch_request
     dispatcher.dispatch(req)
   File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 239, in
 dispatch
     resp = chosen_handler.process_request(req)
   File "build/bdist.linux-x86_64/egg/trac/ticket/web_ui.py", line 175, in
 process_request
     return self._process_newticket_request(req)
   File "build/bdist.linux-x86_64/egg/trac/ticket/web_ui.py", line 523, in
 _process_newticket_request
     self._do_create(req, ticket, action)
   File "build/bdist.linux-x86_64/egg/trac/ticket/web_ui.py", line 1382, in
 _do_create
     ticket.insert()
   File "build/bdist.linux-x86_64/egg/trac/ticket/model.py", line 287, in
 insert
     for c in custom_fields])
   File "build/bdist.linux-x86_64/egg/trac/db/api.py", line 155, in
 __exit__
     self.db.commit()
 OperationalError: database is locked
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55697>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list