arbor-sim / gui

Other
2 stars 6 forks source link

GUI crashes "Unknown locset" loading ACC #6

Closed schmitts closed 2 years ago

schmitts commented 3 years ago

Loading the attached acc file crashes with:

[2021-09-14 11:11:08.981] [error] Unknown locset
terminate called after throwing an instance of 'std::runtime_error'
  what():  Unknown locset
[1]    152076 abort (core dumped)  ~/Downloads/Arbor_GUI-x86_64.AppImage

image

thorstenhater commented 3 years ago

Hi, thanks for reporting. Please provide the problematic file. (I assume something went wrong in your md above.)

schmitts commented 3 years ago

foo.acc.gz

schmitts commented 3 years ago

Hi, thanks for reporting. Please provide the problematic file. (I assume something went wrong in your md above.)

Sorry. File is uploaded.

thorstenhater commented 2 years ago

Hey,

I just (!) tried the file, ACC has changed substantially since then and it does not load anymore. From a quick scan of the file: The GUI's acc reader does not deal with inline locset definitions, eg

(place (terminal) ...)

and instead expects

(label-dict (locset 'term' (terminal)))
...
(place 'term' ...)
thorstenhater commented 2 years ago

I added a corresponding error, which is part of the 0.7 milestone.