Monitor crash when satellite exiting
The monitor some times crash when rebooting the red pitayas (not exiting gracefully)
Exception in thread Thread-7 (_monitor):
Traceback (most recent call last):
File "/home/clabdaq2/miniconda3/lib/python3.12/site-packages/constellation/core/cmdp.py", line 122, in recv
msg = self._socket.recv_multipart(flags)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/clabdaq2/miniconda3/lib/python3.12/site-packages/zmq/sugar/socket.py", line 805, in recv_multipart
parts = [self.recv(flags, copy=copy, track=track)]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "zmq/backend/cython/socket.pyx", line 805, in zmq.backend.cython.socket.Socket.recv
File "zmq/backend/cython/socket.pyx", line 838, in zmq.backend.cython.socket.Socket.recv
File "zmq/backend/cython/socket.pyx", line 138, in zmq.backend.cython.socket._check_closed
zmq.error.ZMQError: Socket operation on non-socket
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/clabdaq2/miniconda3/lib/python3.12/threading.py", line 1073, in _bootstrap_inner
self.run()
File "/home/clabdaq2/miniconda3/lib/python3.12/threading.py", line 1010, in run
self._target(*self._args, **self._kwargs)
File "/home/clabdaq2/miniconda3/lib/python3.12/logging/handlers.py", line 1578, in _monitor
record = self.dequeue(True)
^^^^^^^^^^^^^^^^^^
File "/home/clabdaq2/miniconda3/lib/python3.12/site-packages/constellation/core/monitoring.py", line 204, in dequeue
return self.queue.recv()
^^^^^^^^^^^^^^^^^
File "/home/clabdaq2/miniconda3/lib/python3.12/site-packages/constellation/core/cmdp.py", line 126, in recv
raise RuntimeError(
RuntimeError: CommandTransmitter encountered zmq exception
Edited by Hanno Perrey