Cura 5.4 expects the setting version 22 for quality and intent files.
Upon reading files with version 20, cura will trigger a configuration upgrade
task during cura start up.
On linux, this upgrade process seems to be broken. The files
quality/flsun_v400_global_*.inst.cfg will get truncated to 0 bytes during the upgrade task.
Restarting cura afterwards with the truncated 0 byte files results in a cura program crash during cura start up.
To prevent the bogus upgrade task from cura to truncate the global quality files,
this manually upgrades the setting_version in all relevant places.
Cura 5.4 expects the setting version
22
for quality and intent files. Upon reading files with version20
, cura will trigger a configuration upgrade task during cura start up.On linux, this upgrade process seems to be broken. The files
quality/flsun_v400_global_*.inst.cfg
will get truncated to 0 bytes during the upgrade task.Restarting cura afterwards with the truncated 0 byte files results in a cura program crash during cura start up.
To prevent the bogus upgrade task from cura to truncate the global quality files, this manually upgrades the setting_version in all relevant places.
The currently expected versions for the files can be seen in Cura's version upgrade code: https://github.com/Ultimaker/Cura/blob/fbfb4b82dd17b9173a23b0d4ac671994f1318075/plugins/VersionUpgrade/VersionUpgrade53to54/__init__.py#L16C29-L16C29