Skip to content

OperationalError: (2006, 'MySQL server has gone away') #101

@ext

Description

@ext
Automatically imported from Trac.
Originally reported by 'ext' as #136.
500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/cherrypy/_cprequest.py", line 656, in respond
    response.body = self.handler()
  File "/usr/lib64/python2.7/site-packages/cherrypy/lib/encoding.py", line 188, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/cherrypy/_cpdispatch.py", line 34, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/home/ext/slideshow-src/slideshow/lib/template.py", line 51, in wrapper
    stream = func(*args, **kwargs)
  File "/home/ext/slideshow-src/slideshow/pages/slides.py", line 41, in list
    queues = queue.all(cherrypy.thread_data.db)
  File "/home/ext/slideshow-src/slideshow/lib/queue.py", line 51, in all
    """).fetchall()]
  File "/home/ext/slideshow-src/slideshow/lib/browser/_mysql.py", line 65, in execute
    self.func_wrapper(self.cursor.execute, args, kwargs)
  File "/home/ext/slideshow-src/slideshow/lib/browser/_mysql.py", line 62, in func_wrapper
    return func(*args, **kwargs)
  File "/home/ext/slideshow-src/slideshow/lib/browser/_mysql.py", line 21, in execute
    return DictCursor.execute(self, query, args)
  File "/usr/lib64/python2.7/site-packages/MySQLdb/cursors.py", line 174, in execute
    self.errorhandler(self, exc, value)
  File "/usr/lib64/python2.7/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
    raise errorclass, errorvalue
OperationalError: (2006, 'MySQL server has gone away')

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions