Closed e-zaline closed 5 months ago
This is an actual issue as the migrations of databases are not completed because of this crash. The issue is due to the changes that it should make already been done in the database. I can make changes so that it won't crash but continue, as it should be safe to re-do the migration updates.
However, the more interesting question is that how there is a database that has a version lower than the database contents indicate. I thought about it and I can come up with two possibilities:
We should think about a better way to set the databases to be migrated when updating
The fix has been merged. @e-zaline can you check it works?
@ArttuTupala : thanks! Yes, that's correct, I have my own input workflow. @jkiviluo : thank you, it works, I do not have the log anymore when updating. So with this fix I don't need anymore to take the steps described by Arttu to update the db of my workflow?
Right now, it might work without updating, because we have not made that big changes to the input data. In the merging, you will get the new parameters from the updated database, the problems will be related to old parameters that are updated or removed. Now, it might result in outdated parameter descriptions, but in the future, bigger issues will arise like some of the parameters from the old database might not do anything anymore, the drop down allowed values for the parameters might not be found or errors with the exporter from parameters that should not exist.
When starting a new project, the safe option is to take a copy of the input_data_template.sqlite when starting the project - that way you don't get any old parameters or parameter choices.
Anyway, I think the situation is now good enough to close the issue.
When I update FlexTool I get this log:
FlexTool opens normally though, so I am not sure if there is an issue.