ipython / ipython/ipykernel

[SpyderKernelApp] WARNING | Invalid Messagein kernelbase.py, line 896, in _input_request

未關閉
#603 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
734
分支
412
平均合併
1 天 5 小時
30 天內合併 PR
8

描述

I was debugging some random code in Spyder 4.2.3/ipython7.21.0/ipykernel 5.3.4 today and pressed the stop (debugging) button when the following warning appeared. Funny thing is, I can't quit from the ipdb now. The message appears again and again if I try to. And I can't restart the kernel, except starting a new console. What can I do to help this?

[SpyderKernelApp] WARNING | Invalid Message:
Traceback (most recent call last):
File "k:\conda\pixels\lib\site-packages\ipykernel\kernelbase.py", line 896, in _input_request
[self.stdin_socket], [], [self.stdin_socket], 0.01
File "k:\conda\pixels\lib\site-packages\zmq\sugar\poll.py", line 147, in select
return_sockets = zmq_poll(sockets, timeout)
File "zmq/backend/cython/_poll.pyx", line 143, in zmq.backend.cython._poll.zmq_poll
File "zmq/backend/cython/_poll.pyx", line 123, in zmq.backend.cython._poll.zmq_poll
File "zmq/backend/cython/checkrc.pxd", line 13, in zmq.backend.cython.checkrc._check_rc
File "k:\conda\pixels\lib\site-packages\spyder_kernels\customize\spyderpdb.py", line 216, in sigint_handler
self.set_trace(sys._getframe())
File "k:\conda\pixels\lib\bdb.py", line 92, in trace_dispatch
return self.dispatch_return(frame, arg)
File "k:\conda\pixels\lib\bdb.py", line 154, in dispatch_return
if self.quitting: raise BdbQuit
bdb.BdbQuit

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。