notebook: sequential queueing of cells not working

I’m having issues similar to #5098 #4825 and #6794 which are all unresolved.

  • Jupyter version 6.5.4
  • OS: ubuntu 20.04

When i first run cells in a new notebook, new environment with just python3.9 and ipykernel, things work fine.

image

But if I try to queue up some more cells, only the first one runs.

image

Notice the “executed in 0ms” messages after trying to run those cells.

In the jupyter console I get these “Kernel does not exist” messages, not sure if it is related or not:

[I 15:02:27.694 NotebookApp] Starting buffering for 9216ccef-4201-4342-bc52-a028f811bfca:b304d623d91440c28393f63ec065f24e
[I 15:02:27.936 NotebookApp] Kernel restarted: 9216ccef-4201-4342-bc52-a028f811bfca
[I 15:02:27.955 NotebookApp] Restoring connection for 9216ccef-4201-4342-bc52-a028f811bfca:b304d623d91440c28393f63ec065f24e
CONDA_PREFIX=/home/aolab/miniconda3/envs/jupyter-test
[I 15:02:28.959 NotebookApp] Replaying 3 buffered messages
[W 15:02:36.955 NotebookApp] 404 GET /api/kernels/10e459da-d08b-49dc-a304-fe18f07016aa/channels?session_id=965d2597cca643449e915aff27ecf6b6 (128.95.205.111): Kernel does not exist: 10e459da-d08b-49dc-a304-fe18f07016aa
[W 15:02:36.956 NotebookApp] 404 GET /api/kernels/10e459da-d08b-49dc-a304-fe18f07016aa/channels?session_id=965d2597cca643449e915aff27ecf6b6 (128.95.205.111) 2.120000ms referer=None

This wasn’t a problem until about a month ago when it started happening all the time. Don’t know what changed. Tried updating notebook and ipykernel but neither made a difference.

About this issue

  • Original URL
  • State: open
  • Created a year ago
  • Comments: 18 (3 by maintainers)

Most upvoted comments

After playing around with this a bit more, I found that disabling the “Variable Inspector” nbextension solved my issues. I see from your screenshot that you have it enabled @leoscholl. Hopefully that fixes it for you as well, albeit 6 months late 😃

Thank you @danielqu22.

@leoscholl, if this issue is still relevant, could you please check if you have “Variable Inspector” nbextension installed (jupyter notebook extension list in terminal)? And if yes, please try disabling it and see if problem goes away.