ZMQ remote API failing after the same amount of runs of a simulation
Posted: 23 Mar 2024, 23:10
I am trying to run a lot of simulations in python and without fail it will stop working at the same point after running fine until that point.
With each simulation I am resetting the enviroment using sim.stopSimulation() and then starting it again with sim.startSimulation() after reloading the scene.
The error comes up every time before the simulation starts so I imagine its an issue occuring while its attempting to start the simulation but I am completely lost on what is actually causing the problem.
This is the error I am getting.
Any help would be appreciated! Thanks!!
With each simulation I am resetting the enviroment using sim.stopSimulation() and then starting it again with sim.startSimulation() after reloading the scene.
The error comes up every time before the simulation starts so I imagine its an issue occuring while its attempting to start the simulation but I am completely lost on what is actually causing the problem.
This is the error I am getting.
Code: Select all
[Connectivity >> ZMQ remote API server@addOnScript:error] [string "Connectivity >> ZMQ remote API server@addOnSc..."]:439: [string "Connectivity >> ZMQ remote API server@addOnSc..."]:402: Trying to send data to Python where a receive is expected
stack traceback:
[C]: in function 'error'
[string "Connectivity >> ZMQ remote API server@addOnSc..."]:402: in field 'send'
[string "Connectivity >> ZMQ remote API server@addOnSc..."]:511: in function 'coroutineMain'
stack traceback:
[C]: in function 'error'
[string "Connectivity >> ZMQ remote API server@addOnSc..."]:494: in field 'resumeCoroutine'
[string "Connectivity >> ZMQ remote API server@addOnSc..."]:439: in field 'handleQueue'
[string "Connectivity >> ZMQ remote API server@addOnSc..."]:643: in function 'sysCall_nonSimulation'