You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When disconnecting from an appmode app (e.g. by closing the browser window), the request to delete the kernel fails (500 DELETE) with TypeError: '_asyncio.Future' object is not subscriptable in server_extension.AppmodeHandler.delete, line 97.
As of notebook versions 4.2 and 5.7, respectively, SessionManager.get_session and SessionManager.delete_session are both coroutines and should be awaited.
This issue causes old kernels to keep running, consuming server resources.
I'm seeing this issue in appmode 0.6.0 with Python 3.6.7, notebook 6.0.0, ipython 7.7.0, tornado 6.0.3.
The text was updated successfully, but these errors were encountered:
Thanks for reporting! I guess, we should use inspect.iscoroutinefunction to retain backwards compatibility. Do you want to create a pull request to fix this?
When disconnecting from an appmode app (e.g. by closing the browser window), the request to delete the kernel fails (500 DELETE) with
TypeError: '_asyncio.Future' object is not subscriptable
inserver_extension.AppmodeHandler.delete
, line 97.As of
notebook
versions 4.2 and 5.7, respectively,SessionManager.get_session
andSessionManager.delete_session
are both coroutines and should be awaited.This issue causes old kernels to keep running, consuming server resources.
I'm seeing this issue in appmode 0.6.0 with Python 3.6.7, notebook 6.0.0, ipython 7.7.0, tornado 6.0.3.
The text was updated successfully, but these errors were encountered: