BAE Statement may not be safe to log in statement format
python + tornado + torndb 出现这样的错误几率还挺高。
Traceback (most recent call last):
File "/home/bae/instanceall/instance1/pyruntime/lib/python2.7/site-packages/tornado/web.py", line 954, in _execute
getattr(self, self.request.method.lower())(*args, **kwargs)
File "/home/bae/instanceall/instance1/codefs/xxxxxx/views.py", line 415, in get
self.db.execute("UPDATE ........."))
File "/home/bae/instanceall/instance1/codefs/xxxxxx/torndb.py", line 151, in execute
return self.execute_lastrowid(query, *parameters)
File "/home/bae/instanceall/instance1/codefs/xxxxxx/torndb.py", line 157, in execute_lastrowid
self._execute(cursor, query, parameters)
File "/home/bae/instanceall/instance1/codefs/xxxxxx/torndb.py", line 219, in _execute
return cursor.execute(query, parameters)
File "/home/bae/instanceall/instance1/pyruntime/lib/python2.7/site-packages/MySQLdb/cursors.py", line 176, in execute
if not self._defer_warnings: self._warning_check()
File "/home/bae/instanceall/instance1/pyruntime/lib/python2.7/site-packages/MySQLdb/cursors.py", line 92, in _warning_check
warn(w[-1], self.Warning, 3)
Warning: Statement may not be safe to log in statement format.
0
See Also
- YouBBS for BAE v1.04.2 发布
- ijd8和saepy-log比,有什么不同?
- 关于BAE缓存的问题
- 又开源一个运行在BAE和SAE上的blog程序
- BAE v1.03注册不了怎么解决?
Nearby
- 上一篇 › 国庆放假,SAE 部分节点出错
- 下一篇 › 这个论坛程序没有版块功能吗?