| <class '_mysql_exceptions.OperationalError'> | Python 2.6.5: /usr/bin/python Thu Feb 23 01:58:47 2012 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /usr/lib/pymodules/python2.6/flup/server/fcgi_base.py in run(self=<flup.server.fcgi_base.Request object>) |
| 556 """Runs the handler, flushes the streams, and ends the request.""" |
| 557 try: |
| 558 protocolStatus, appStatus = self.server.handler(self) |
| 559 except: |
| 560 traceback.print_exc(file=self.stderr) |
| protocolStatus undefined, appStatus undefined, self = <flup.server.fcgi_base.Request object>, self.server = <flup.server.fcgi.WSGIServer object>, self.server.handler = <bound method WSGIServer.handler of <flup.server.fcgi.WSGIServer object>> |
| /usr/lib/pymodules/python2.6/flup/server/fcgi_base.py in handler(self=<flup.server.fcgi.WSGIServer object>, req=<flup.server.fcgi_base.Request object>) |
| 1116 try: |
| 1117 try: |
| 1118 result = self.application(environ, start_response) |
| 1119 try: |
| 1120 for data in result: |
| result = None, self = <flup.server.fcgi.WSGIServer object>, self.application = <__main__.Abe instance>, environ = {'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CACHE_CONTROL': 'no-cache', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'aziat.yepcorp.com', 'HTTP_PRAGMA': 'no-cache', ...}, start_response = <function start_response> |
| /usr/local/lib/python2.6/dist-packages/Abe/abe.py in __call__(abe=<__main__.Abe instance>, env={'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CACHE_CONTROL': 'no-cache', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'aziat.yepcorp.com', 'HTTP_PRAGMA': 'no-cache', ...}, start_response=<function start_response>) |
| 197 return '' |
| 198 except: |
| 199 abe.store.rollback() |
| 200 raise |
| 201 |
| abe = <__main__.Abe instance>, abe.store = <Abe.DataStore.DataStore object>, abe.store.rollback = <bound method DataStore.rollback of <Abe.DataStore.DataStore object>> |
| /usr/local/lib/python2.6/dist-packages/Abe/DataStore.py in rollback(store=<Abe.DataStore.DataStore object>) |
| 576 if store.log_sql: |
| 577 print "SQL ROLLBACK" |
| 578 store.conn.rollback() |
| 579 |
| 580 def close(store): |
| store = <Abe.DataStore.DataStore object>, store.conn = <_mysql.connection open to 'localhost' at 129e220>, store.conn.rollback = <built-in method rollback of Connection object> |
<class '_mysql_exceptions.OperationalError'>: (2006, 'MySQL server has gone away')
args =
(2006, 'MySQL server has gone away')
message =
''