gama-platform / gama.old

Main repository for developing the 1.x versions of GAMA
GNU General Public License v3.0
304 stars 99 forks source link

Impossible to make import with absolute path #3028

Closed RoiArthurB closed 4 years ago

RoiArthurB commented 4 years ago

Describe the bug I tried to make a GAML file import with an absolute path (to a file inside the same project and outside this project) and it returns an impossible path to compute.

To Reproduce Steps to reproduce the behavior:

  1. Create an empty GAML file
  2. Make a full path GAML import
  3. See error

Expected behavior Being able to import any GAML file existing on the computer.

Screenshots image None of these imports works

Desktop (please complete the following information):

hqnghi88 commented 4 years ago

how about: import "file://home/roiarthurb/................

RoiArthurB commented 4 years ago

Wouha ! It works !! 🤩

Do you have any explanation about that specificity ?

hqnghi88 commented 4 years ago

No , i dont, i requested some protocols in gama-platform/gama2#14 and just file:// is implemented, others seem to be complex for moment