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
kernel can only autorestart once #689
Comments
seems self.shutting_down in KernelManager never set to False ,after restart |
Hmm - I'm not experiencing this. If I kill the kernel pid, the auto-restart takes place each time (across all 3 attempts). That said, I see what you mean regarding |
this issue occurred when jupyter-client==7.0.2, and i add "self.shutting_down = False" in funciton "async def _async_post_start_kernel(self, **kw) -> None:" it will be ok |
Hi @mofanke - thanks for the update. Yes, that sounds like the correct approach. Did you want to go about creating a pull request for this? |
fixed |
kernel can only autorestart once
Name: jupyter-client
Version: 7.0.2
kill kernel process first time, it will autorestart . kill it agian , nothing will happen
The text was updated successfully, but these errors were encountered: