--> --> -->
 
 
<class '_mysql_exceptions.OperationalError'>
Python 2.7.6: /usr/bin/python
Sat Jan 20 18:17:35 2018

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

 /data/project/pirsquared/public_html/ts_archive/mzmcbride/yanker.py in ()
    109     domain = None
    110 
=>  111 namespace_names = get_namespace_names(db)
    112 
    113 print """\
namespace_names undefined, get_namespace_names = <function get_namespace_names>, db = 'enwiki_p'
 /data/project/pirsquared/public_html/ts_archive/mzmcbride/yanker.py in get_namespace_names(db='enwiki_p')
     56     conn = MySQLdb.connect(host='enwiki.labsdb',
     57                            db='s51892_toolserverdb_p',
=>   58                            read_default_file=os.path.expanduser('~/replica.my.cnf'))
     59     cursor = conn.cursor()
     60     cursor.execute('''
read_default_file undefined, global os = <module 'os' from '/usr/lib/python2.7/os.pyc'>, os.path = <module 'posixpath' from '/usr/lib/python2.7/posixpath.pyc'>, os.path.expanduser = <function expanduser>
 /usr/lib/python2.7/dist-packages/MySQLdb/__init__.py in Connect(*args=(), **kwargs={'db': 's51892_toolserverdb_p', 'host': 'enwiki.labsdb', 'read_default_file': '/data/project/pirsquared/replica.my.cnf'})
     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 = {'db': 's51892_toolserverdb_p', 'host': 'enwiki.labsdb', 'read_default_file': '/data/project/pirsquared/replica.my.cnf'}
 /usr/lib/python2.7/dist-packages/MySQLdb/connections.py in __init__(self=<_mysql.connection closed at 1ab6560>, *args=(), **kwargs={'db': 's51892_toolserverdb_p', 'host': 'enwiki.labsdb', 'read_default_file': '/data/project/pirsquared/replica.my.cnf'})
    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 1ab6560>, ).__init__ = <bound method Connection.__init__ of <_mysql.connection closed at 1ab6560>>, 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': 's51892_toolserverdb_p', 'host': 'enwiki.labsdb', 'read_default_file': '/data/project/pirsquared/replica.my.cnf'}

<class '_mysql_exceptions.OperationalError'>: (1044, "Access denied for user 's51433'@'%' to database 's51892_toolserverdb_p'")
      args = (1044, "Access denied for user 's51433'@'%' to database 's51892_toolserverdb_p'")
      message = ''