Created
July 23, 2017 08:02
-
-
Save anonymous/315bd47066da568cded8805506d9e94c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[E 2017-07-23 08:02:29.020 JupyterHub web:1025] Failed to flush partial response | |
Traceback (most recent call last): | |
File "/srv/venv/site-packages/tornado/web.py", line 1022, in send_error | |
self.finish() | |
File "/srv/venv/site-packages/jupyterhub/handlers/base.py", line 98, in finish | |
super().finish(*args, **kwargs) | |
File "/srv/venv/site-packages/tornado/web.py", line 993, in finish | |
self._log() | |
File "/srv/venv/site-packages/tornado/web.py", line 1540, in _log | |
self.application.log_request(self) | |
File "/srv/venv/site-packages/tornado/web.py", line 2053, in log_request | |
self.settings["log_function"](handler) | |
File "/srv/venv/site-packages/jupyterhub/log.py", line 90, in log_request | |
user = handler.get_current_user() | |
File "/srv/venv/site-packages/jupyterhub/handlers/base.py", line 219, in get_current_user | |
user = self.get_current_user_token() | |
File "/srv/venv/site-packages/jupyterhub/handlers/base.py", line 177, in get_current_user_token | |
orm_token = orm.APIToken.find(self.db, token) | |
File "/srv/venv/site-packages/jupyterhub/orm.py", line 363, in find | |
for orm_token in prefix_match: | |
File "/srv/venv/site-packages/sqlalchemy/orm/query.py", line 2854, in __iter__ | |
self.session._autoflush() | |
File "/srv/venv/site-packages/sqlalchemy/orm/session.py", line 1397, in _autoflush | |
self.flush() | |
File "/srv/venv/site-packages/sqlalchemy/orm/session.py", line 2171, in flush | |
self._flush(objects) | |
File "/srv/venv/site-packages/sqlalchemy/orm/session.py", line 2235, in _flush | |
assert _reg, "Failed to add object to the flush context!" | |
AssertionError: Failed to add object to the flush context! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment