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
I keep getting this error again and again when using Spyder, and I haven't quite figured out what causes it to happen, but it's happened about a thousand times the past week so I figured I'll submit it. Sorry I don't have more details, except I'm on macOS M1, and running a program which involves both Cython and multithreading.
Traceback
Exception in callback BaseAsyncIOLoop._handle_events(352, 1)
handle: <Handle BaseAsyncIOLoop._handle_events(352, 1)>
Traceback (most recent call last):
File "/Users/mike/Library/miniconda3/envs/spyder-env/lib/python3.11/asyncio/events.py", line 80, in _runself._context.run(self._callback, *self._args)
File "/Users/mike/Library/miniconda3/envs/spyder-env/lib/python3.11/site-packages/tornado/platform/asyncio.py", line 206, in _handle_events
handler_func(fileobj, events)
File "/Users/mike/Library/miniconda3/envs/spyder-env/lib/python3.11/site-packages/zmq/eventloop/zmqstream.py", line 614, in _handle_events
zmq_events =self.socket.EVENTS^^^^^^^^^^^^^^^^^^
File "/Users/mike/Library/miniconda3/envs/spyder-env/lib/python3.11/site-packages/zmq/sugar/attrsettr.py", line 56, in __getattr__returnself._get_attr_opt(upper_key, opt)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/mike/Library/miniconda3/envs/spyder-env/lib/python3.11/site-packages/zmq/sugar/attrsettr.py", line 68, in _get_attr_optreturnself.get(opt)
^^^^^^^^^^^^^
File "zmq/backend/cython/socket.pyx", line 512, in zmq.backend.cython.socket.Socket.get
File "zmq/backend/cython/socket.pyx", line 270, in zmq.backend.cython.socket._getsockopt
File "zmq/backend/cython/checkrc.pxd", line 28, in zmq.backend.cython.checkrc._check_rczmq.error.ZMQError: Socket operation on non-socket
I'm not certain if the following could be related - something about zmq anyway? although a different code location in the following
I've seen the following notification from jupyter_client on the console, when running a Spyder installed on FreeBSD 13.2
<project_path>/env3.10/lib/python3.10/site-packages/jupyter_client/threaded.py:73: RuntimeWarning: ZMQStream only supports the base zmq.Socket class.
Use zmq.Socket(shadow=other_socket)
or `ctx.socket(zmq.SUB, socket_class=zmq.Socket)`
to create a base zmq.Socket object,
no matter what other kind of socket your Context creates.
self.stream = zmqstream.ZMQStream(self.socket, self.ioloop)
This is appearing with jupyter_client-7.4.9, pyzmq-25.0.0. I've seen a similar message with a virtualenv installed for Python 3.11
Description
What steps will reproduce the problem?
I keep getting this error again and again when using Spyder, and I haven't quite figured out what causes it to happen, but it's happened about a thousand times the past week so I figured I'll submit it. Sorry I don't have more details, except I'm on macOS M1, and running a program which involves both Cython and multithreading.
Traceback
Versions
Dependencies
The text was updated successfully, but these errors were encountered: