注册了,无法登陆
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/tornado/
web.py", line 988, in _execute
getattr(self, self.request.method.lower())(*args, **kwargs)
File "/home/www/cheshang/view/
auth.py", line 38, in post
self.login(
ret.id)
File "/home/www/cheshang/view/
_base.py", line 39, in login
self.set_secure_cookie('S', session_new(uid))
File "/home/www/cheshang/model/
session.py", line 10, in session_new
s = Session.get(uid)
File "/home/www/cheshang/model/
kv.py", line 20, in get
cursor.execute('SELECT value FROM %s WHERE id=%%s' % self.table, id)
File "/usr/lib64/python2.7/site-packages/DBUtils-1.1-py2.7.egg/DBUtils/
SteadyDB.py", line 552, in tough_method
result = method(*args, **kwargs) # try to execute
File "/usr/lib64/python2.7/site-packages/MySQL_python-1.2.4-py2.7-linux-x86_64.egg/MySQLdb/
cursors.py", line 201, in execute
self.errorhandler(self, exc, value)
File "/usr/lib64/python2.7/site-packages/MySQL_python-1.2.4-py2.7-linux-x86_64.egg/MySQLdb/
connections.py", line 36, in defaulterrorhandler
raise errorclass, errorvalue
InterfaceError: (0, '')