ipython / ipython/ipykernel

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

Open
#603 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
734
Forks
412
Avg merge
1d 5h
Merged PRs (30d)
8

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.