luhsra / MinimaxSimulator

Platform independent GUI-based Minimax simulator
https://luhsra.github.io/MinimaxSimulator/
MIT License
7 stars 5 forks source link

Opening a safed project fails sometimes #40

Closed timmartinberger closed 3 years ago

timmartinberger commented 3 years ago

We are unable to reopen a project we were recently working on.

An error message appears when we attempt to open such a project: "Die angegebene Datei ist beschädigt oder kein gültiges Projekt".

prohde commented 3 years ago

Could you please share the project you are trying to reopen or steps to reproduce the issue? Personally, so far, I only encountered this issue when using different versions of the application.

timmartinberger commented 3 years ago

Another issue was the simulator to crash suddenly while we were working on a project. We suppose it is the same reason as the case that we can't open it.

dkiechle commented 3 years ago

That problem is already known. It always occurs if there is only one value in a row of the control signal table when saving. On JSON export only a single element but no containing array is written for this row, but importing the JSON always requires an array. The error must be corrected manually in the JSON file and then the project can be imported again.