Open WPT-git opened 4 years ago
There seems to be an issue with your configuration folder in general. Maybe Cura does not have the necessary privileges and cannot write the application data or cannot create the resources directories. Could you please share your cura log files? We may be able to find something in there.
That would make sense to me, if Cura 4.6.1 and the new downloaded 4.6.0 would also not save those settings, but they do. So why does 4.6.2 not work as it is the same 4.6 folder, isn't it?
I will try to attach the log files again, I tried it in the opening post but it seems I accidently deleted the url to it, my bad.
.local/share/cura/4.6 cura.log .local/share/cura/4.7 cura.log
I see that the warning WARNING - [MainThread] LocalContainerProvider.LocalContainerProvider._saveCachedDefinition [295]: The definition cache for definition <definition> failed to pickle.
consistently pops up for all your printers. Looking at the code that produces this message, it seems that this is caused by a RecursionError produced while pickling (caching) the files, which leads to Python removing those definitions, going back to a fresh Cura installation.
Maybe this is caused by the definitions inheritted from 4.6 for some reason. Can you try to delete the contents of the 4.7 folder (but not the folder itself)? This way you will start a fresh 4.7 installation without inheriting the 4.6 files. Then you can check if the problem persists.
I see, I never thought of cleaning the folder. Thanks for your solution.
Indeed it did work, now I have to reassign all changed values as the profile export from 4.6.1 to 4.7.1 did not really work (visibility settings were imported but the number values are different from the created profile). But it's less bugging to recreate the profiles than the issue I had until now.
I still fail to see why 4.6.2 has the same issue though, as it uses the same folder/cache/files like every other 4.6.* version uses.
What should I do in the future to avoid having this issue once again? Usually I just download the new appimage and use it right away.
Setting the permissions of the config folders so that Cura is allowed to change them should do the trick.
Application version 4.6.2; 4.7.1
Platform Host: wpt-mint Kernel: 4.15.0-70-generic x86_64 bits: 64 compiler: gcc v: 7.4.0 Desktop: MATE 1.22.0 wm: marco dm: LightDM Distro: Linux Mint 19.2 Tina base: Ubuntu 18.04 bionic
Printer does not matter
Reproduction steps
Screenshot(s) n/a
Actual results
Expected results
Project file n/a
Log file log of 4.7.1 [cura.log]
Additional information This issue does not occur on cura version pre 4.6.2. 4.6.1 was the first appimage I used on this computer, so I tried 4.6.0 before opening this issue, which also works as expected. The problem started with 4.6.2 and still exists on 4.7.1 Also I see the cura.cfg file under /home/user/.config/cura/4.7 gets updated.