--> --> -->
 
 
<class '_mysql_exceptions.OperationalError'>
Python 2.7.5+: /usr/bin/python
Fri Sep 20 22:39:25 2024

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /www/crowfly.net/vreports/index.py in ()
      8 sys.path.append(libdir)
      9 
     10 from reportbase import ReportBase
=>   11 ReportBase().go()
     12 
ReportBase = <class 'reportbase.ReportBase'>, ).go = <unbound method ReportBase.go>
 /apps/vreports/lib/reportbase.py in __init__(self=<reportbase.ReportBase object>, report_name=None, allow_download=True, traceback_dir='')
     62 
     63         self.debug_cgi      = self.params.debug_cgi
=>   64         self.db             = db.Db(self.params.database)
     65         self.reportFilters  = ReportFilters(self.params)
     66         self.reportSummaries= ReportSummaries(self.params)
self = <reportbase.ReportBase object>, self.db undefined, global db = <module 'vlib.db' from '/usr/local/lib/python2.7/dist-packages/vlib/db.pyc'>, db.Db = <class 'vlib.db.Db'>, self.params = {'report_title': 'World Report', 'debug_cgi': Fa...'}], 'num_group_bys': 4, 'display_num_rows': 100}, self.params.database = {'engine': 'mysql', 'passwd': 'woodenships60', '...localhost', 'db': 'vreports', 'user': 'vreports'}
 /usr/local/lib/python2.7/dist-packages/vlib/db.py in __init__(self=<vlib.db.Db object>, params={'engine': 'mysql', 'passwd': 'woodenships60', '...localhost', 'db': 'vreports', 'user': 'vreports'})
     37 
     38         self.params = params
=>   39         self.connect(params)
     40 
     41     def connect(self, params):
self = <vlib.db.Db object>, self.connect = <bound method Db.connect of <vlib.db.Db object>>, params = {'engine': 'mysql', 'passwd': 'woodenships60', '...localhost', 'db': 'vreports', 'user': 'vreports'}
 /usr/local/lib/python2.7/dist-packages/vlib/db.py in connect(self=<vlib.db.Db object>, params={'engine': 'mysql', 'passwd': 'woodenships60', '...localhost', 'db': 'vreports', 'user': 'vreports'})
     61                 db      = params["db"],
     62                 port    = int(params.get('port', MYSQL_PORT)),
=>   63                 charset = "utf8")
     64 
     65         elif engine == 'mssql':
charset undefined
 /usr/local/lib/python2.7/dist-packages/MySQLdb/__init__.py in Connect(*args=(), **kwargs={'charset': 'utf8', 'db': 'vreports', 'host': 'localhost', 'passwd': 'woodenships60', 'port': 3306, 'user': 'vreports'})
     79     """Factory function for connections.Connection."""
     80     from MySQLdb.connections import Connection
=>   81     return Connection(*args, **kwargs)
     82 
     83 connect = Connection = Connect
Connection = <class 'MySQLdb.connections.Connection'>, args = (), kwargs = {'charset': 'utf8', 'db': 'vreports', 'host': 'localhost', 'passwd': 'woodenships60', 'port': 3306, 'user': 'vreports'}
 /usr/local/lib/python2.7/dist-packages/MySQLdb/connections.py in __init__(self=<_mysql.connection closed at 129d410>, *args=(), **kwargs={'charset': 'utf8', 'db': 'vreports', 'host': 'localhost', 'passwd': 'woodenships60', 'port': 3306, 'user': 'vreports'})
    191         autocommit = kwargs2.pop('autocommit', False)
    192 
=>  193         super(Connection, self).__init__(*args, **kwargs2)
    194         self.cursorclass = cursorclass
    195         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 129d410>, ).__init__ = <bound method Connection.__init__ of <_mysql.connection closed at 129d410>>, 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>, ...}, 'db': 'vreports', 'host': 'localhost', 'passwd': 'woodenships60', 'port': 3306, 'user': 'vreports'}

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