[wp-trac] [WordPress Trac] #37109: OperationalError: (1213, 'Deadlock found when trying to get lock; try restarting transaction')

WordPress Trac noreply at wordpress.org
Wed Jun 15 15:57:32 UTC 2016


#37109: OperationalError: (1213, 'Deadlock found when trying to get lock; try
restarting transaction')
--------------------------+-----------------------------
 Reporter:  Presskopp     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 ==== How to Reproduce ====

 While doing a GET operation on `/report/21`, Trac issued an internal
 error.

 ''(please provide additional details here)''

 Request parameters:
 {{{
 {'id': u'21'}
 }}}

 User agent: `#USER_AGENT#`

 ==== 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 234, in dispatch
     req.send(output, content_type or 'text/html')
   File "/usr/local/lib/python2.7/dist-
 packages/Trac-1.0.1-py2.7.egg/trac/web/api.py", line 490, in send
     self.send_response(status)
   File "/usr/local/lib/python2.7/dist-
 packages/Trac-1.0.1-py2.7.egg/trac/web/main.py", line 79, in send_response
     self.session.save()
   File "/usr/local/lib/python2.7/dist-
 packages/Trac-1.0.1-py2.7.egg/trac/web/session.py", line 183, in save
     """, (mintime,))
   File "/usr/local/lib/python2.7/dist-
 packages/Trac-1.0.1-py2.7.egg/trac/db/util.py", line 121, in execute
     cursor.execute(query, params)
   File "/usr/local/lib/python2.7/dist-
 packages/Trac-1.0.1-py2.7.egg/trac/db/util.py", line 65, in execute
     return self.cursor.execute(sql_escape_percent(sql), args)
   File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 174, in
 execute
     self.errorhandler(self, exc, value)
   File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36,
 in defaulterrorhandler
     raise errorclass, errorvalue
 OperationalError: (1213, 'Deadlock found when trying to get lock; try
 restarting transaction')
 }}}

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


More information about the wp-trac mailing list