Result cannot be set twice.
Traceback (most recent call last):
File ".../webapp2.py", line 1511, in __call__
rv = self.handle_exception(request, response, e)
File ".../webapp2.py", line 1505, in __call__
rv = self.router.dispatch(request, response)
File ".../webapp2.py", line 1253, in default_dispatcher
return route.handler_adapter(request, response)
File ".../webapp2.py", line 1077, in __call__
return handler.dispatch()
File ".../webapp2.py", line 547, in dispatch
return self.handle_exception(e, self.app.debug)
File ".../webapp2.py", line 545, in dispatch
return method(*args, **kwargs)
File ".../ndb/context.py", line 1062, in add_context_wrapper
ctx.flush().check_success()
File ".../ndb/tasklets.py", line 273, in check_success
self.wait()
File ".../ndb/tasklets.py", line 257, in wait
if not ev.run1():
File ".../ndb/eventloop.py", line 190, in run1
delay = self.run0()
File ".../ndb/eventloop.py", line 179, in run0
callback(*args, **kwds)
File ".../ndb/eventloop.py", line 94, in help_multi_rpc_along
c(*a, **k)
File ".../ndb/tasklets.py", line 378, in _on_rpc_completion
self._help_tasklet_along(gen, result)
File ".../ndb/tasklets.py", line 326, in _help_tasklet_along
self.set_result(result)
File ".../ndb/tasklets.py", line 217, in set_result
raise RuntimeError('Result cannot be set twice.')
RuntimeError: Result cannot be set twice.