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 just ran my program and after 10 iterations of my code, in the ninth or tenth iteration (depending on the execution), the Issue reporter popped up on my screen. Despite this, the program finished properly, so I do not know why this is happening. I am using the python multiprocessing library.
Traceback
File "/home/mario/.conda/envs/myenv/lib/python3.9/site-packages/zmq/eventloop/zmqstream.py", line 444, in _run_callback
callback(*args, **kwargs)
File "/home/mario/.conda/envs/myenv/lib/python3.9/site-packages/jupyter_client/threaded.py", line 92, in _handle_recv
msg =self.session.deserialize(smsg)
File "/home/mario/.conda/envs/myenv/lib/python3.9/site-packages/jupyter_client/session.py", line 921, in deserializeraiseValueError("Duplicate Signature: %r"% signature)
ValueError: Duplicate Signature: b'ec129b406721161d312f56ca32f9616d1efe3af28aebe29f861c342a124273a7'
ERROR:tornado.general:Uncaught exception in zmqstream callback
Traceback (most recent call last):
File "/home/mario/.conda/envs/myenv/lib/python3.9/site-packages/zmq/eventloop/zmqstream.py", line 462, in _handle_eventsself._handle_recv()
File "/home/mario/.conda/envs/myenv/lib/python3.9/site-packages/zmq/eventloop/zmqstream.py", line 492, in _handle_recvself._run_callback(callback, msg)
File "/home/mario/.conda/envs/myenv/lib/python3.9/site-packages/zmq/eventloop/zmqstream.py", line 444, in _run_callback
callback(*args, **kwargs)
File "/home/mario/.conda/envs/myenv/lib/python3.9/site-packages/jupyter_client/threaded.py", line 92, in _handle_recv
msg =self.session.deserialize(smsg)
File "/home/mario/.conda/envs/myenv/lib/python3.9/site-packages/jupyter_client/session.py", line 921, in deserializeraiseValueError("Duplicate Signature: %r"% signature)
ValueError: Duplicate Signature: b'ec129b406721161d312f56ca32f9616d1efe3af28aebe29f861c342a124273a7'
ERROR:tornado.application:Exception in callback functools.partial(<function ZMQStream._update_handler.<locals>.<lambda> at 0x7f5565ebff70>)
Traceback (most recent call last):
File "/home/mario/.conda/envs/myenv/lib/python3.9/site-packages/tornado/ioloop.py", line 741, in _run_callback
ret = callback()
File "/home/mario/.conda/envs/myenv/lib/python3.9/site-packages/zmq/eventloop/zmqstream.py", line 548, in <lambda>self.io_loop.add_callback(lambda : self._handle_events(self.socket, 0))
File "/home/mario/.conda/envs/myenv/lib/python3.9/site-packages/zmq/eventloop/zmqstream.py", line 462, in _handle_eventsself._handle_recv()
File "/home/mario/.conda/envs/myenv/lib/python3.9/site-packages/zmq/eventloop/zmqstream.py", line 492, in _handle_recvself._run_callback(callback, msg)
File "/home/mario/.conda/envs/myenv/lib/python3.9/site-packages/zmq/eventloop/zmqstream.py", line 444, in _run_callback
callback(*args, **kwargs)
File "/home/mario/.conda/envs/myenv/lib/python3.9/site-packages/jupyter_client/threaded.py", line 92, in _handle_recv
msg =self.session.deserialize(smsg)
File "/home/mario/.conda/envs/myenv/lib/python3.9/site-packages/jupyter_client/session.py", line 921, in deserializeraiseValueError("Duplicate Signature: %r"% signature)
ValueError: Duplicate Signature: b'ec129b406721161d312f56ca32f9616d1efe3af28aebe29f861c342a124273a7'
Seems like a possible workaround is to have the function to be executed in a different file and do some other changes in the way you call the multiprocessing relaying code (I think is something related to spawning instead of forking new processes to prevent session ids clashing): jupyter/jupyter_client#541 (comment)
There is not much we can do over the Spyder side (I think) but hope the info above helps :)
Description
What steps will reproduce the problem?
I just ran my program and after 10 iterations of my code, in the ninth or tenth iteration (depending on the execution), the Issue reporter popped up on my screen. Despite this, the program finished properly, so I do not know why this is happening. I am using the python multiprocessing library.
Traceback
Versions
Dependencies
The text was updated successfully, but these errors were encountered: