报错??
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/tornado/
web.py", line 1077, in _execute
*self.path_args, **self.path_kwargs)
File "/usr/local/lib/python2.7/site-packages/tornado/
web.py", line 1892, in wrapper
return method(self, *args, **kwargs)
File "/var/www/arbor/controllers/
user.py", line 366, in post
user = form.save(user)
File "/var/www/arbor/forms/
user.py", line 247, in save
user = user.update(data)
File "/var/www/arbor/models/
user.py", line 576, in update
commit()
File "/usr/local/lib/python2.7/site-packages/pony/
utils.py", line 74, in new_func
return old_func(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/pony/orm/
core.py", line 3435, in commit
reraise(CommitException, exceptions)
File "/usr/local/lib/python2.7/site-packages/pony/orm/
core.py", line 3429, in commit
try: primary_cache.commit()
File "/usr/local/lib/python2.7/site-packages/pony/orm/
core.py", line 3256, in commit
cache.save()
File "/usr/local/lib/python2.7/site-packages/pony/orm/
core.py", line 3309, in save
obj._save_()
File "/usr/local/lib/python2.7/site-packages/pony/orm/
core.py", line 3203, in _save_
elif status == 'updated': obj._save_updated_()
File "/usr/local/lib/python2.7/site-packages/pony/orm/
core.py", line 3140, in _save_updated_
throw(UnrepeatableReadError, 'Object %r was updated outside of current transaction' % obj)
File "/usr/local/lib/python2.7/site-packages/pony/
utils.py", line 101, in throw
raise exc
CommitException: Object <User: yanwen> was updated outside of current transaction