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
When I run Spyder it sometimes crush without a valid reason.
Traceback
Traceback (most recent call last):
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\asyncio\tasks.py", line 234, in __step
result = coro.throw(exc)
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\site-packages\jupyter_client\manager.py", line 636, in _async_waitawait asyncio.sleep(pollinterval)
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\asyncio\tasks.py", line 605, in sleepreturnawait future
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\asyncio\futures.py", line 285, in __await__yieldself# This tells Task to wait for completion.
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\asyncio\tasks.py", line 304, in __wakeup
future.result()
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\asyncio\futures.py", line 196, in resultraise exc
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\asyncio\tasks.py", line 456, in wait_forreturn fut.result()
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\asyncio\futures.py", line 196, in resultraise exc
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\site-packages\jupyter_client\manager.py", line 424, in _async_finish_shutdownawait asyncio.wait_for(
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\asyncio\tasks.py", line 458, in wait_forraise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\site-packages\spyder\plugins\ipythonconsole\widgets\client.py", line 768, in _restart_thread_mainself.shellwidget.kernel_manager.restart_kernel(
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\site-packages\jupyter_client\utils.py", line 30, in wrappedraise e
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\site-packages\jupyter_client\utils.py", line 27, in wrappedreturn loop.run_until_complete(future)
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\site-packages\nest_asyncio.py", line 90, in run_until_completereturn f.result()
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\asyncio\futures.py", line 201, in resultraiseself._exception.with_traceback(self._exception_tb)
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\asyncio\tasks.py", line 232, in __step
result = coro.send(None)
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\site-packages\jupyter_client\manager.py", line 535, in _async_restart_kernelawait ensure_async(self.shutdown_kernel(now=now, restart=True))
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\site-packages\jupyter_client\utils.py", line 30, in wrappedraise e
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\site-packages\jupyter_client\utils.py", line 27, in wrappedreturn loop.run_until_complete(future)
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\site-packages\nest_asyncio.py", line 90, in run_until_completereturn f.result()
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\asyncio\futures.py", line 201, in resultraiseself._exception.with_traceback(self._exception_tb)
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\asyncio\tasks.py", line 232, in __step
result = coro.send(None)
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\site-packages\jupyter_client\manager.py", line 83, in wrapperraise e
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\site-packages\jupyter_client\manager.py", line 75, in wrapper
out =await method(self, *args, **kwargs)
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\site-packages\jupyter_client\manager.py", line 498, in _async_shutdown_kernelawait ensure_async(self.finish_shutdown(restart=restart))
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\site-packages\jupyter_client\utils.py", line 30, in wrappedraise e
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\site-packages\jupyter_client\utils.py", line 27, in wrappedreturn loop.run_until_complete(future)
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\site-packages\nest_asyncio.py", line 90, in run_until_completereturn f.result()
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\asyncio\futures.py", line 201, in resultraiseself._exception.with_traceback(self._exception_tb)
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\asyncio\tasks.py", line 232, in __step
result = coro.send(None)
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\site-packages\jupyter_client\manager.py", line 430, in _async_finish_shutdownawait ensure_async(self._send_kernel_sigterm())
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\site-packages\jupyter_client\utils.py", line 30, in wrappedraise e
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\site-packages\jupyter_client\utils.py", line 27, in wrappedreturn loop.run_until_complete(future)
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\site-packages\nest_asyncio.py", line 90, in run_until_completereturn f.result()
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\asyncio\futures.py", line 201, in resultraiseself._exception.with_traceback(self._exception_tb)
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\asyncio\tasks.py", line 232, in __step
result = coro.send(None)
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\site-packages\spyder\plugins\ipythonconsole\utils\manager.py", line 118, in _async_send_kernel_sigtermawaitself.kill_proc_tree(self.provisioner.process.pid)
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\site-packages\spyder\plugins\ipythonconsole\utils\manager.py", line 67, in kill_proc_tree
child_process.send_signal(sig)
File "C:\Users\SX578CX\AppData\Local\anaconda3\lib\site-packages\psutil\__init__.py", line 277, in wrapperraise NoSuchProcess(self.pid, self._name, msg=msg)
psutil.NoSuchProcess: process no longer exists (pid=30804)
Hey @Enrik9294, thanks for reporting. I don't understand very well what happened, but we'll catch the error you reported in our next version (5.4.4), so it's not shown to users. That version will be released in a couple of weeks.
ccordoba12
changed the title
Crushed environmentpsutil.NoSuchProcess is raised when killing kernel
Jun 11, 2023
Description
What steps will reproduce the problem?
When I run Spyder it sometimes crush without a valid reason.
Traceback
Versions
Dependencies
The text was updated successfully, but these errors were encountered: