In headless, some parameters are not well serialized (in XML) and unserialized #2837
Labels
About Headless
This issue or request concerns GAMA headless mode
About Models Library
This issue or request concerns the models shipped with GAMA
😱 Bug
The issue reveals a bug in GAMA
Version Git
Bug specific to the development version
Describe the bug
This issue is highly related to issue #2836 about the serialization of colors, but it can be larger and I prefer to let it here as a reminder.
As noticed by the gamar development team (in r-and-gama/gamar#13), for some models of the model library, the exportation of an XML file and its run using headless throws an exception.
As far as I have investigated yet, this is due to issues in the serialization of parameters value in the XML file and their deserialization when the xml is used to run simulations in headless model (with color as an example).
As an example, we can try to generate the XML of the
Life.gaml
model and execute this xml using the headless.Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: