-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Select Kernel" Does not Use kernelspec
Information
#15074
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
If I am reading it correctly, this appears to have been fixed by #12858 which was included in JupyterLab 4.0. Can you take a look at that PR/try the new version to confirm? |
Hi @krassowski thanks for looking into this. I just ran the test with version 4.0.5 and it behaves still as I described. I see the preferred kernel option now but I would still expect that the kernel named in the If I re-enable |
In version 4.0.5 did you enable |
I didn't set |
Description
When a notebook is opened without a kernel (eg. if
notebook_starts_kernel = False
) and a cell is run, the "Select Kernel" dialog comes up. If the notebook was previously run with a kernel, information about it will be stored in thekernelspec
section of the notebook's metadata. When this notebook is run again the dialog box comes up again even if thekernelspec
data is present and would have caused a kernel to be created correctly ifnotebook_starts_kernel
was True.Reproduce
notebook_starts_kernel = False
)Expected behavior
If a notebook previous run with a valid kernel is reopened and run, it should choose a kernel if possible given the
kernelspec
data and only bring up the "Select Kernel" dialog if necessary.What I'd like to be able to do is open and close notebooks just to read or check their contents without starting kernels. This is to reduce clutter but also not open a notebook multiple times if I've accessed Jupyter through multiple browsers or browser tabs. When I do want to run a kernel it would be a little more usable to not see the "Select Kernel" dialog when I don't need to. If I wouldn't see this dialog when a kernel starts automatically on notebook opening, I shouldn't see it when running a cell in a notebook that didn't have a kernel running yet.
Context
Troubleshoot Output
Command Line Output
Browser Output
The text was updated successfully, but these errors were encountered: