| <class '_mysql_exceptions.OperationalError'> | Python 2.6.5: /usr/bin/python Sat Feb 11 05:27:08 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.
| /societies/cub/public_html/index.cgi in |
| 70 else: |
| 71 page = Error(404, "Page not found") |
| 72 |
| 73 # Print the page |
| 74 page.flush(pagetarget) |
| page = <python.records.Records instance>, page.flush = <bound method Records.flush of <python.records.Records instance>>, pagetarget = 'records' |
| /societies/cub/public_html/python/page.py in flush(self=<python.records.Records instance>, path='records') |
| 48 return [self.HTML] |
| 49 def flush(self, path): |
| 50 self.content(path) |
| 51 for key in self.headers.keys(): |
| 52 print key+": "+self.headers[key] |
| self = <python.records.Records instance>, self.content = <bound method Records.content of <python.records.Records instance>>, path = 'records' |
| /societies/cub/public_html/python/records.py in content(self=<python.records.Records instance>, path='records') |
| 200 |
| 201 # get data from Ian's database |
| 202 iandb = MySQLdb.connect(host=MYSQL_HOST, user=MYSQL_USER, db=MYSQL_DB, port=MYSQL_PORT, ssl={"key":MYSQL_SSLKEY,"cert":MYSQL_SSLCERT}) |
| 203 c = iandb.cursor() |
| 204 c.callproc("getrecords") |
| iandb undefined, global MySQLdb = <module 'MySQLdb' from '/usr/lib/pymodules/python2.6/MySQLdb/__init__.pyc'>, MySQLdb.connect = <function Connect>, host undefined, global MYSQL_HOST = 'server.murleen.org', user undefined, global MYSQL_USER = 'cubsite', db undefined, global MYSQL_DB = 'cubsite', port undefined, global MYSQL_PORT = 13306, ssl undefined, global MYSQL_SSLKEY = '/societies/cub/keys/cubsite.key', global MYSQL_SSLCERT = '/societies/cub/keys/cubsite.cert' |
| /usr/lib/pymodules/python2.6/MySQLdb/__init__.py in Connect(*args=(), **kwargs={'db': 'cubsite', 'host': 'server.murleen.org', 'port': 13306, 'ssl': {'cert': '/societies/cub/keys/cubsite.cert', 'key': '/societies/cub/keys/cubsite.key'}, 'user': 'cubsite'}) |
| 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': 'cubsite', 'host': 'server.murleen.org', 'port': 13306, 'ssl': {'cert': '/societies/cub/keys/cubsite.cert', 'key': '/societies/cub/keys/cubsite.key'}, 'user': 'cubsite'} |
| /usr/lib/pymodules/python2.6/MySQLdb/connections.py in __init__(self=<_mysql.connection closed at 2722940>, *args=(), **kwargs={'db': 'cubsite', 'host': 'server.murleen.org', 'port': 13306, 'ssl': {'cert': '/societies/cub/keys/cubsite.cert', 'key': '/societies/cub/keys/cubsite.key'}, 'user': 'cubsite'}) |
| 168 kwargs2['client_flag'] = client_flag |
| 169 |
| 170 super(Connection, self).__init__(*args, **kwargs2) |
| 171 |
| 172 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 2722940>, ).__init__ = <bound method Connection.__init__ of <_mysql.connection closed at 2722940>>, 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': 'cubsite', 'host': 'server.murleen.org', 'port': 13306, 'ssl': {'cert': '/societies/cub/keys/cubsite.cert', 'key': '/societies/cub/keys/cubsite.key'}, 'user': 'cubsite'} |
<class '_mysql_exceptions.OperationalError'>: (2026, 'SSL connection error')
args =
(2026, 'SSL connection error')
message =
''