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

RuntimeError: Cannot restart the kernel. No previous call to 'start_kernel'. #139

Open
cgahr opened this issue Sep 2, 2021 · 0 comments
Labels

Comments

@cgahr
Copy link
Collaborator

cgahr commented Sep 2, 2021

After connecting via Helium: Connect Kernel. Helium: Restart Kernel throws the following error:

Traceback (most recent call last):
  File "/home/cgahr/.config/sublime-text/Packages/Helium/lib/utils.py", line 43, in cb
    next_f = chain.send(*args, **kwargs)
  File "/home/cgahr/.config/sublime-text/Packages/Helium/helium.py", line 518, in _show_kernel_selection_menu
    cb(selected_kernel)a
  File "/home/cgahr/.config/sublime-text/Packages/Helium/lib/utils.py", line 43, in cb
    next_f = chain.send(*args, **kwargs)
  File "/home/cgahr/.config/sublime-text/Packages/Helium/helium.py", line 555, in _restart_kernel
    HeliumKernelManager.restart_kernel(selected_kernel["id"])
  File "/home/cgahr/.config/sublime-text/Packages/Helium/helium.py", line 202, in restart_kernel
    cls.get_kernel(kernel_id).restart_kernel()
  File "/home/cgahr/.config/sublime-text/Packages/Helium/lib/kernel.py", line 296, in restart_kernel
    def set_connection_name(self, new_name):
  File "/home/cgahr/.config/sublime-text/Packages/Helium/lib/client/jupyter_client/manager.py", line 356, in restart_kernel
    raise RuntimeError("Cannot restart the kernel. "
RuntimeError: Cannot restart the kernel. No previous call to 'start_kernel'.
@cgahr cgahr added the bug label Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant