Open kTelaar opened 3 weeks ago
We backup the project.json
on update. We should perhaps backup the files in the .spinetoolbox/local/
folder as well. We could also add a 'Troubleshooting' section to User guide that instructs users about the existence of the backups.
If you project is not huge, you can always just duplicate the project directory for testing new Toolbox versions - this way you keep you original intact.
remove the gitignore setting of the local folder
The files in local/
may contain database credentials - it is not recommended to allow these files to get committed to any repository.
We should perhaps backup the files in the .spinetoolbox/local/ folder as well. We could also add a 'Troubleshooting' section to User guide that instructs users about the existence of the backups.
That sounds good.
duplicate the project directory for testing new Toolbox versions
will do it in the future. I was just under the false impression that all project related files were getting committed so I thought I can easily revert these changes. Now I know better and maybe when someone makes the same mistake, they will find this thread and know how to solve it.
What about adding a new pop-up that informs the user which files will be upgraded?
You already added this for the sqlite-DB's and the project.json
. The only thing missing seems to be the specification_local_data.json
. It would have helped me tremendously to know where exactly I should be looking to resolve the issues.
Hello everyone,
I recently tried the then new spinetoolbox 0.8.5 as ZIP bundle with an existing project. After testing a bit I wanted to go back to my old config with spinetoolbox 0.7.0 but received an error message nearly identical to Manuel's old issue in 2022 https://github.com/spine-tools/Spine-Toolbox/issues/1808 while the Toolbox tried to load the project's specification endlessly without success:
After some insightful discussions with @tokorte we found this old discussion indicating that some files are ignored by default looking suspiciously similar to our issue: https://github.com/spine-tools/Spine-Toolbox/discussions/1734 After manually deleting all the entries for the julia items in the specification_local_data.json in the .spinetoolbox/local folder we were able to load the project successfully again in 0.7.0.
This was a bit of a struggle because we were not aware of the .gitignore default settings in the .spinetoolbox folder so git was never able to revert really ALL the changes that were done in the process of updating the projects files to 0.8.5 while we thought that we did revert ALL the changes.
few ideas for making it easier to spot this issue:
Cheers from Bochum Konrad