V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX Workspace
https://workspace.v2ex.com/
wdd2007
V2EX  ›  Project Stormwind

在 workspace 里添加团队成员时报错

  •  
  •   wdd2007 · 2014-01-14 18:31:04 +08:00 · 6611 次点击
    这是一个创建于 3996 天前的主题,其中的信息可能已经有所发展或是发生改变。
    @livid

    Traceback (most recent call last):
    File "/Library/Python/2.7/site-packages/tornado/web.py", line 1141, in _when_complete
    callback()
    File "/Library/Python/2.7/site-packages/tornado/web.py", line 1162, in _execute_method
    self._when_complete(method(*self.path_args, **self.path_kwargs),
    File "/www/workspace/workspace/security.py", line 44, in wrapper
    return method(self, *args, **kwargs)
    File "/www/workspace/workspace/handlers/desktop/project/team/__init__.py", line 124, in post
    self.store.flush()
    File "/Library/Python/2.7/site-packages/storm/store.py", line 501, in flush
    self._flush_one(obj_info)
    File "/Library/Python/2.7/site-packages/storm/store.py", line 538, in _flush_one
    result = self._connection.execute(expr)
    File "/Library/Python/2.7/site-packages/storm/databases/mysql.py", line 88, in execute
    result = Connection.execute(self, statement, params)
    File "/Library/Python/2.7/site-packages/storm/database.py", line 241, in execute
    raw_cursor = self.raw_execute(statement, params)
    File "/Library/Python/2.7/site-packages/storm/database.py", line 374, in raw_execute
    self._run_execution(raw_cursor, args, params, statement)
    File "/Library/Python/2.7/site-packages/storm/database.py", line 388, in _run_execution
    self._check_disconnect(raw_cursor.execute, *args)
    File "/Library/Python/2.7/site-packages/storm/database.py", line 454, in _check_disconnect
    return function(*args, **kwargs)
    File "/Library/Python/2.7/site-packages/MySQLdb/cursors.py", line 205, in execute
    self.errorhandler(self, exc, value)
    File "/Library/Python/2.7/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
    raise errorclass, errorvalue
    OperationalError: (1364, "Field 'last_signin' doesn't have a default value")
    1 条回复
    Livid
        1
    Livid  
    MOD
       2014-01-14 20:09:08 +08:00
    多谢反馈。现在请再试试吧。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   4792 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 03:57 · PVG 11:57 · LAX 19:57 · JFK 22:57
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.