ipython / ipython/ipykernel

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

Aperta
#603 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
734
Fork
412
Merge medio
1g 5h
PR unite (30g)
8

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.