Open ptaillandier opened 1 month ago
I inspected it, and it's a bug on the GAMA server side. I will open an issue about it.
In the meantime, I did found a workaround which is to set all of your relative path to absolute; then everything works just fine. :)
Could it be related to https://github.com/gama-platform/gama/issues/318 ? If yes, one possible option (that would make sense) is that the middleware manages its own GAMA workspace with the different projects (instead of having to import the models in whatever workspace the modeler is using).
@AlexisDrogoul I don't think it is related, the error happened while trying to read an import file : Here's in the error log
Adding exception to error collector1 occurence in Simulation 0 at cycle 0: Java error: index out of bounds
in Simulation 0
in agent Simulation 0
in file<int, geometry> road_shapefile <- file<int, geometry>('../includes/roads.shp') ;
Well -- looks like something similar though, i.e. access to files using relative paths outside the workspace...
I tried to add a new "model" to the learning package, but I get errors when I let the middleware launch the experiment, whereas I have no error when loaded directly from GAMA.
The folder used in learning-packages: TutoVR.zip
The error In Eclipse (GAMA):