Created
April 13, 2013 10:08
-
-
Save leafduo/5377825 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Traceback (most recent call last): | |
| File "/usr/lib/python2.6/site-packages/tornado-2.4-py2.6.egg/tornado/web.py", line 1042, in _execute | |
| getattr(self, self.request.method.lower())(*args, **kwargs) | |
| File "/home/tornado/web-secret-server/comment.py", line 92, in get | |
| ret['total'] = self.db.query( "select count(1) as t from comments where status='publish' and article_id=%s"%aid )[0]["t"] | |
| File "/usr/lib/python2.6/site-packages/tornado-2.4-py2.6.egg/tornado/database.py", line 120, in query | |
| self._execute(cursor, query, parameters) | |
| File "/usr/lib/python2.6/site-packages/tornado-2.4-py2.6.egg/tornado/database.py", line 208, in _execute | |
| return cursor.execute(query, parameters) | |
| File "/usr/lib64/python2.6/site-packages/MySQLdb/cursors.py", line 173, in execute | |
| self.errorhandler(self, exc, value) | |
| File "/usr/lib64/python2.6/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler | |
| raise errorclass, errorvalue | |
| OperationalError: (2006, 'MySQL server has gone away') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment