[headless] a model containing a non-blocking error breaks headless but works fine in GUI #301
Labels
About Headless
This issue or request concerns GAMA headless mode
😱 Bug
The issue reveals a bug in GAMA
Describe the bug
Some errors in gama are non-blocking, meaning that the simulation will continue anyway even though the error view is open in the GUI.
The problem is that those same errors are completely stopping the experiment when run through headless, whether it's batch or server.
To Reproduce
Steps to reproduce the behavior:
gama-headless -batch a /path/to/file.gaml
or through gama-server)Expected behavior
The error is shown but the simulation continues as it's the case for GUI mode
Additional context
In previous versions of gama it was looping forever over the exception, filling the console but recent changes in batch changed that to stopping the execution of the simulation.
Gama doesn't completely close though and the simulation's thread is still running here is gama's state once the error happen:
The text was updated successfully, but these errors were encountered: