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

WordPress Trac noreply at wordpress.org
Thu Nov 17 09:07:56 UTC 2022


#57133: OperationalError: database is locked
--------------------------+-----------------------------
 Reporter:  useflali      |      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 `/prefs/notification`, Trac issued an
 internal error.

 ''(please provide additional details here)''

 Request parameters:
 {{{
 {u'__FORM_TOKEN': u'8df9e86eb5c35288f18bb17f',
  u'action': u'replace_all',
  u'format-email': u'',
  u'new-adverb-email': u'always',
  u'new-rule-email': u'TicketOwnerSubscriber',
  'panel_id': u'notification'}
 }}}

 User agent: `Mozilla/5.0 (Linux; Android 11; SM-A505F) AppleWebKit/537.36
 (KHTML, like Gecko) Chrome/107.0.0.0 Mobile 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 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/prefs/web_ui.py", line 111, in
 process_request
     chosen_provider.render_preference_panel(req, panel_id)
   File "build/bdist.linux-x86_64/egg/trac/notification/prefs.py", line 70,
 in render_preference_panel
     req.redirect(req.href.prefs('notification'))
   File "build/bdist.linux-x86_64/egg/trac/web/api.py", line 659, in
 redirect
     self.send_response(status)
   File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 109, in
 send_response
     self.session.save()
   File "build/bdist.linux-x86_64/egg/trac/web/session.py", line 204, in
 save
     session_saved = True
   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/57133>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list