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 am trying to use PyLECO with PyMoDAQ and I am struggling a bit with it. I was wondering to start with how to restart a coordinator. I started some with PyMoDAQ directly from the dashboard.
However, it seems that it does not disapear even when I close the dashboard. What would be the approach to reset it?
(PyMoDAQ) PS C:> coordinator
Start Coordinator of node b'ismo-0098-tb' at port '12300'.
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "PyMoDAQ\Scripts\coordinator.exe_main.py", line 7, in
File "PyMoDAQ\Lib\site-packages\pyleco\coordinators\coordinator.py", line 517, in main
with Coordinator(**kwargs) as c:
^^^^^^^^^^^^^^^^^^^^^
File "PyMoDAQ\Lib\site-packages\pyleco\coordinators\coordinator.py", line 124, in init
self.sock.bind(port=port)
File "PyMoDAQ\Lib\site-packages\pyleco\utils\coordinator_utils.py", line 91, in bind
self._sock.bind(f"tcp://{host}:{port}")
File "PyMoDAQ\Lib\site-packages\zmq\sugar\socket.py", line 317, in bind
super().bind(addr)
File "_zmq.py", line 917, in zmq.backend.cython._zmq.Socket.bind
File "_zmq.py", line 179, in zmq.backend.cython._zmq._check_rc
zmq.error.ZMQError: Address in use (addr='tcp://*:12300')
The text was updated successfully, but these errors were encountered:
You can use the CoordinatorDirector from pyleco.coordinators: Just create an instance of it and issue shut_down_actor().
That will connect to the Coordinator and tell it to stop.
Hi,
I am trying to use PyLECO with PyMoDAQ and I am struggling a bit with it. I was wondering to start with how to restart a coordinator. I started some with PyMoDAQ directly from the dashboard.
However, it seems that it does not disapear even when I close the dashboard. What would be the approach to reset it?
(PyMoDAQ) PS C:> coordinator
Start Coordinator of node b'ismo-0098-tb' at port '12300'.
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "PyMoDAQ\Scripts\coordinator.exe_main.py", line 7, in
File "PyMoDAQ\Lib\site-packages\pyleco\coordinators\coordinator.py", line 517, in main
with Coordinator(**kwargs) as c:
^^^^^^^^^^^^^^^^^^^^^
File "PyMoDAQ\Lib\site-packages\pyleco\coordinators\coordinator.py", line 124, in init
self.sock.bind(port=port)
File "PyMoDAQ\Lib\site-packages\pyleco\utils\coordinator_utils.py", line 91, in bind
self._sock.bind(f"tcp://{host}:{port}")
File "PyMoDAQ\Lib\site-packages\zmq\sugar\socket.py", line 317, in bind
super().bind(addr)
File "_zmq.py", line 917, in zmq.backend.cython._zmq.Socket.bind
File "_zmq.py", line 179, in zmq.backend.cython._zmq._check_rc
zmq.error.ZMQError: Address in use (addr='tcp://*:12300')
The text was updated successfully, but these errors were encountered: