<class '_mysql_exceptions.OperationalError'>
Python 2.7.6: /usr/bin/python
Fri Feb 22 15:24:06 2019

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/python2.7/dist-packages/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/python2.7/dist-packages/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': '/usr/lib/cgi-bin/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_CONNECTION': 'Keep-Alive', 'HTTP_HOST': 'mobiblocks.cointech.net', 'HTTP_USER_AGENT': 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'PATH_INFO': '/0000000000006314063f8293c7944b8f337c636f02ca0d305814f726eeb5b3c1', 'PATH_TRANSLATED': '/usr/lib/cgi-bin//block/0000000000006314063f8293c7944b8f337c636f02ca0d305814f726eeb5b3c1', 'QUERY_STRING': '', ...}, start_response = <function start_response>
 /usr/local/lib/python2.7/dist-packages/Abe/abe.py in __call__(abe=<__main__.Abe instance>, env={'DOCUMENT_ROOT': '/usr/lib/cgi-bin/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_CONNECTION': 'Keep-Alive', 'HTTP_HOST': 'mobiblocks.cointech.net', 'HTTP_USER_AGENT': 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'PATH_INFO': '/0000000000006314063f8293c7944b8f337c636f02ca0d305814f726eeb5b3c1', 'PATH_TRANSLATED': '/usr/lib/cgi-bin//block/0000000000006314063f8293c7944b8f337c636f02ca0d305814f726eeb5b3c1', 'QUERY_STRING': '', ...}, start_response=<function start_response>)
    263             return ''
    264         except Exception:
=>  265             abe.store.rollback()
    266             raise
    267 
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.7/dist-packages/Abe/DataStore.py in rollback(store=<Abe.DataStore.DataStore object>)
    255     def rollback(store):
    256         if store._sql is not None:
=>  257             store._sql.rollback()
    258 
    259     def sql(store, stmt, params=()):
store = <Abe.DataStore.DataStore object>, store._sql = <Abe.SqlAbstraction.SqlAbstraction object>, store._sql.rollback = <bound method SqlAbstraction.rollback of <Abe.SqlAbstraction.SqlAbstraction object>>
 /usr/local/lib/python2.7/dist-packages/Abe/SqlAbstraction.py in rollback(sql=<Abe.SqlAbstraction.SqlAbstraction object>)
    618         except sql.module.OperationalError as e:
    619             sql.log.warning("Reconnecting after rollback error: %s", e)
=>  620             sql.reconnect()
    621 
    622     def close(sql):
sql = <Abe.SqlAbstraction.SqlAbstraction object>, sql.reconnect = <bound method SqlAbstraction.reconnect of <Abe.SqlAbstraction.SqlAbstraction object>>
 /usr/local/lib/python2.7/dist-packages/Abe/SqlAbstraction.py in reconnect(sql=<Abe.SqlAbstraction.SqlAbstraction object>)
    298         except Exception:
    299             pass
=>  300         return sql.conn()
    301 
    302     # Run transform_chunk on each chunk between string literals.
sql = <Abe.SqlAbstraction.SqlAbstraction object>, sql.conn = <bound method SqlAbstraction.conn of <Abe.SqlAbstraction.SqlAbstraction object>>
 /usr/local/lib/python2.7/dist-packages/Abe/SqlAbstraction.py in conn(sql=<Abe.SqlAbstraction.SqlAbstraction object>)
    281     def conn(sql):
    282         if sql._conn is None:
=>  283             sql._conn = sql.connect()
    284         return sql._conn
    285 
sql = <Abe.SqlAbstraction.SqlAbstraction object>, sql._conn = None, sql.connect = <bound method SqlAbstraction.connect of <Abe.SqlAbstraction.SqlAbstraction object>>
 /usr/local/lib/python2.7/dist-packages/Abe/SqlAbstraction.py in connect(sql=<Abe.SqlAbstraction.SqlAbstraction object>)
    242         else:
    243             try:
=>  244                 conn = sql._connect(cargs)
    245             except UnicodeError:
    246                 # Perhaps this driver needs its strings encoded.
conn undefined, sql = <Abe.SqlAbstraction.SqlAbstraction object>, sql._connect = <bound method SqlAbstraction._connect of <Abe.SqlAbstraction.SqlAbstraction object>>, cargs = {u'db': u'mobichain', u'passwd': u'Sfws324_wsRkf3', u'user': u'mobi'}
 /usr/local/lib/python2.7/dist-packages/Abe/SqlAbstraction.py in _connect(sql=<Abe.SqlAbstraction.SqlAbstraction object>, cargs={u'db': u'mobichain', u'passwd': u'Sfws324_wsRkf3', u'user': u'mobi'})
    274                 return sql.module.connect(nkwargs, **cargs)
    275             else:
=>  276                 return sql.module.connect(**cargs)
    277         if isinstance(cargs, list):
    278             return sql.module.connect(*cargs)
sql = <Abe.SqlAbstraction.SqlAbstraction object>, sql.module = <module 'MySQLdb' from '/usr/lib/python2.7/dist-packages/MySQLdb/__init__.pyc'>, sql.module.connect = <function Connect>, cargs = {u'db': u'mobichain', u'passwd': u'Sfws324_wsRkf3', u'user': u'mobi'}
 /usr/lib/python2.7/dist-packages/MySQLdb/__init__.py in Connect(*args=(), **kwargs={u'db': u'mobichain', u'passwd': u'Sfws324_wsRkf3', u'user': u'mobi'})
     79     """Factory function for connections.Connection."""
     80     from connections import Connection
=>   81     return Connection(*args, **kwargs)
     82 
     83 connect = Connection = Connect
Connection = <class 'MySQLdb.connections.Connection'>, args = (), kwargs = {u'db': u'mobichain', u'passwd': u'Sfws324_wsRkf3', u'user': u'mobi'}
 /usr/lib/python2.7/dist-packages/MySQLdb/connections.py in __init__(self=<_mysql.connection closed at 7f27ac00c540>, *args=(), **kwargs={u'db': u'mobichain', u'passwd': u'Sfws324_wsRkf3', u'user': u'mobi'})
    185         kwargs2['client_flag'] = client_flag
    186 
=>  187         super(Connection, self).__init__(*args, **kwargs2)
    188 
    189         self.encoders = dict([ (k, v) for k, v in conv.items()
builtin super = <type 'super'>, global Connection = <class 'MySQLdb.connections.Connection'>, self = <_mysql.connection closed at 7f27ac00c540>, ).__init__ = <bound method Connection.__init__ of <_mysql.connection closed at 7f27ac00c540>>, args = (), kwargs2 = {'client_flag': 196608, 'conv': {0: <class 'decimal.Decimal'>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None>, ...}, u'db': u'mobichain', u'passwd': u'Sfws324_wsRkf3', u'user': u'mobi'}

<class '_mysql_exceptions.OperationalError'>: (2002, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)")
      args = (2002, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)")
      message = ''