Python ZMQ simpleClient not working
Posted: 06 Nov 2023, 13:28
Hi, any program I run in CoppeliaSim with the Python client generates the same bug. I get a message in the center of the screen that says:
Connectivity >> ZMQ Remote API server@addOnScript: abort execution
When this message appears, the lines of code I wrote run properly. But the screen in the simulation is frost. I cannot do anything in the simulation (like changing the perspective or zooming with the mouse). I have to wait for the simulation to stop, the be able to move again in the scene screen.
If I click on that message that appears on the center of the screen. The simulation keeps running and now the screen is not frost. But also my code stops executing, it loses connection with CoppeliaSim. Also, if I want to run code again, it is not possible because the connection is not possible. This because the ZMQ Remote API Server gets an error. So I have to go manually to Modules -> Connectivity and there restart it manually.
This problems occurs with every single code I try. Even with your simpleTest.py from yout GitHub repository.
Can someone tell me how to make this message not appear any more and let my simulations run normally.
My environment is:
CoppeliaSim v.4.6.0 rev 2
Windows 11
python 3.11.5
coppeliasim_zmqremoteapi_client (0.1.0)
Connectivity >> ZMQ Remote API server@addOnScript: abort execution
When this message appears, the lines of code I wrote run properly. But the screen in the simulation is frost. I cannot do anything in the simulation (like changing the perspective or zooming with the mouse). I have to wait for the simulation to stop, the be able to move again in the scene screen.
If I click on that message that appears on the center of the screen. The simulation keeps running and now the screen is not frost. But also my code stops executing, it loses connection with CoppeliaSim. Also, if I want to run code again, it is not possible because the connection is not possible. This because the ZMQ Remote API Server gets an error. So I have to go manually to Modules -> Connectivity and there restart it manually.
This problems occurs with every single code I try. Even with your simpleTest.py from yout GitHub repository.
Can someone tell me how to make this message not appear any more and let my simulations run normally.
My environment is:
CoppeliaSim v.4.6.0 rev 2
Windows 11
python 3.11.5
coppeliasim_zmqremoteapi_client (0.1.0)