You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the expected output? What do you see instead?
Please provide any additional information below
File "C:\ProgramData\Anaconda2\lib\site-packages\spyder\plugins\ipythonconsole.py", line 1236, in close_client
client.stop_button_click_handler()
File "C:\ProgramData\Anaconda2\lib\site-packages\spyder\widgets\ipythonconsole\client.py", line 235, in stop_button_click_handler
self.interrupt_kernel()
File "C:\ProgramData\Anaconda2\lib\site-packages\spyder\widgets\ipythonconsole\client.py", line 391, in interrupt_kernel
self.shellwidget.request_interrupt_kernel()
File "C:\ProgramData\Anaconda2\lib\site-packages\qtconsole\frontend_widget.py", line 345, in request_interrupt_kernel
self.interrupt_kernel()
File "C:\ProgramData\Anaconda2\lib\site-packages\qtconsole\frontend_widget.py", line 638, in interrupt_kernel
self.kernel_manager.interrupt_kernel()
File "C:\ProgramData\Anaconda2\lib\site-packages\jupyter_client\manager.py", line 408, in interrupt_kernel
raise RuntimeError("Cannot interrupt kernel. No kernel is running!")
RuntimeError: Cannot interrupt kernel. No kernel is running!
@dalthviz, please work on this one. The fix simply consists in surrounding client.stop_button_click_handler() with a try/except that catches RuntimeError.
Description
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Please provide any additional information below
File "C:\ProgramData\Anaconda2\lib\site-packages\spyder\plugins\ipythonconsole.py", line 1236, in close_client
client.stop_button_click_handler()
File "C:\ProgramData\Anaconda2\lib\site-packages\spyder\widgets\ipythonconsole\client.py", line 235, in stop_button_click_handler
self.interrupt_kernel()
File "C:\ProgramData\Anaconda2\lib\site-packages\spyder\widgets\ipythonconsole\client.py", line 391, in interrupt_kernel
self.shellwidget.request_interrupt_kernel()
File "C:\ProgramData\Anaconda2\lib\site-packages\qtconsole\frontend_widget.py", line 345, in request_interrupt_kernel
self.interrupt_kernel()
File "C:\ProgramData\Anaconda2\lib\site-packages\qtconsole\frontend_widget.py", line 638, in interrupt_kernel
self.kernel_manager.interrupt_kernel()
File "C:\ProgramData\Anaconda2\lib\site-packages\jupyter_client\manager.py", line 408, in interrupt_kernel
raise RuntimeError("Cannot interrupt kernel. No kernel is running!")
RuntimeError: Cannot interrupt kernel. No kernel is running!
Version and main components
Dependencies
The text was updated successfully, but these errors were encountered: