Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In headless, some parameters are not well serialized (in XML) and unserialized #2837

Closed
benoitgaudou opened this issue Aug 2, 2019 · 2 comments
Assignees
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

Comments

@benoitgaudou
Copy link
Contributor

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):

  • OS: macOS
  • GAMA version: git
@benoitgaudou benoitgaudou added 😱 Bug The issue reveals a bug in GAMA Affects Usability About Headless This issue or request concerns GAMA headless mode About Models Library This issue or request concerns the models shipped with GAMA Version Git Bug specific to the development version labels Aug 2, 2019
@ptaillandier ptaillandier added this to the GAMA 1.8.2 milestone Sep 3, 2021
@AlexisDrogoul
Copy link
Member

Is this issue still relevant ? It seems to have been closed by #2836 and I'm not sure of the benefit to let it open..

@AlexisDrogoul
Copy link
Member

Closing it now as my previous question does not seem to ring any bell ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

4 participants