Skip to content
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

Open existing Notebook without kernel #4040

Open
davidchall opened this issue Feb 27, 2018 · 7 comments
Open

Open existing Notebook without kernel #4040

davidchall opened this issue Feb 27, 2018 · 7 comments
Assignees
Milestone

Comments

@davidchall
Copy link

There are times when opening a Notebook does not require a new kernel to be started (e.g. reading or only editing Markdown cells). Currently these functions are still possible after you have shutdown the kernel.

Although starting up a kernel is usually inexpensive, there are times when this isn't the case (e.g. connecting a PySpark kernel to YARN). There may also be times when you want to view a Notebook but don't have the right kernel installed.

Perhaps we could have a new option in the "Open With" menu for this purpose? I suggest it might be called "Notebook (no kernel)".

@thincal
Copy link

thincal commented May 8, 2019

+1

@ian-r-rose
Copy link
Member

@davidchall Note that you can achieve this by opening a new notebook from the file menu and selecting "No Kernel" from the selection dropdown.

@thavidu
Copy link

thavidu commented Feb 14, 2020

Seems like this could be an opposite default of the existing

    // Shut down kernel
    // Whether to shut down or not the kernel when closing a notebook.
    "kernelShutdown": false,

setting

I wish there was something like:

// Whether to automatically start a kernel when opening a notebook
"kernelAutostart": true,

@tilusnet
Copy link

@davidchall Note that you can achieve this by opening a new notebook from the file menu and selecting "No Kernel" from the selection dropdown.

I am not sure I follow. The OP wants to open an existing notebook without kernel, not a new notebook.

@davidchall davidchall changed the title Open Notebook without kernel Open existing Notebook without kernel Sep 16, 2020
@rvalieris
Copy link
Contributor

I will go a step further and say that instead of an option, it should behave like on google colab, where a kernel is only started if the user tries to execute a code cell.

very often I will open a old notebook just to check what I did last time, if I am not careful I end up with a bunch of idle kernels open because of this, I need to manually close each one.

there are also other bugs related to this behavior, such as: #8574, and related discussions: #5241

@ellisonbg ellisonbg self-assigned this Aug 23, 2021
@giacomolanciano
Copy link

+1

@jasongrout
Copy link
Contributor

#12019 discusses some ideas for how to implement opening a notebook without starting a kernel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants