Bug Tracker

Modify

Ticket #3130 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

mysql server has gone away

Reported by: m0n5t3r Owned by: john
Priority: major Milestone:
Component: site Version:
Keywords: Cc:
Blocking: Blocked by:

Description

... and I can't search for a previously reported similar issue :)

How to Reproduce

While doing a GET operation on /query, Trac issued an internal error.

came here from a Google search

Request parameters:

{'status': [u'new', u'assigned', u'reopened'], 'verbose': u'1'}

System Information

Trac 0.11dev-r5354
Python 2.3.4 (#1, Oct 11 2006, 06:18:43)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-3)]
setuptools 0.6c5
MySQL server: "5.0.27-log", client: "5.0.27", thread-safe: 0
MySQLdb 1.2.2
Genshi 0.4
Subversion 1.4.3 (r23084)

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/Trac-0.11dev_r5354-py2.3.egg/trac/web/main.py", line 429, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.3/site-packages/Trac-0.11dev_r5354-py2.3.egg/trac/web/main.py", line 234, in dispatch
    req.session.save()
  File "/usr/lib/python2.3/site-packages/Trac-0.11dev_r5354-py2.3.egg/trac/web/session.py", line 179, in save
    (self.sid,))
  File "/usr/lib/python2.3/site-packages/Trac-0.11dev_r5354-py2.3.egg/trac/db/util.py", line 50, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "/usr/lib/python2.3/site-packages/Trac-0.11dev_r5354-py2.3.egg/trac/db/util.py", line 50, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "build/bdist.linux-i686/egg/MySQLdb/cursors.py", line 166, in execute
  File "build/bdist.linux-i686/egg/MySQLdb/connections.py", line 35, in defaulterrorhandler
OperationalError: (2006, 'MySQL server has gone away')

Change History

comment:1 Changed 5 years ago by flesler

  • Owner set to john

comment:2 Changed 5 years ago by john

  • Status changed from new to closed
  • Resolution set to fixed

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.