The error message is definitely not related to the auto-save mechanism. The error "Failed to write all data to file ..." is only printed if the normal file save failed to write out all data. But this function that prints this error message is not used for the auto-save.
Auto-save mechanism
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Auto-save mechanism
Re: Auto-save mechanism
Then how do you explain the appended hash to the filename? That's what the AutoRecovery does, doesn't it?
Re: Auto-save mechanism
viewtopic.php?f=3&t=14420&start=30#p116699
Just to point it out the creation of backup files and the auto-recovery are two different things. The former is the traditional way how we tried to reduce data loss but this always requires user interaction, i.e. to actively click on the Save file button. The latter works automatically and doesn't require any user interaction and becomes quite handy if the user didn't save his work for a longer time and then suddenly the app crashes.
Just to point it out the creation of backup files and the auto-recovery are two different things. The former is the traditional way how we tried to reduce data loss but this always requires user interaction, i.e. to actively click on the Save file button. The latter works automatically and doesn't require any user interaction and becomes quite handy if the user didn't save his work for a longer time and then suddenly the app crashes.
-
- Posts: 262
- Joined: Tue Dec 13, 2016 9:04 am
Re: Auto-save mechanism
Is this „auto-save“ perhaps the reason for endless waiting-time when you click „cancel“ on certain buttons?
Imagine you are at the end of a construction and in the last sketch you will make a redundant constraint. Now you will get a hint to this mistake and you want to click "cancel"…
Coffee? Tea? Wainting for going on, only by clicking "cancel".
Imagine you are at the end of a construction and in the last sketch you will make a redundant constraint. Now you will get a hint to this mistake and you want to click "cancel"…
Coffee? Tea? Wainting for going on, only by clicking "cancel".
Re: Auto-save mechanism
The auto-save is actually very fast because it only writes out the stuff that has changed since the last run. And for shapes it uses a function to create binary data which is much faster then the standard BRep exporter.Is this „auto-save“ perhaps the reason for endless waiting-time when you click „cancel“ on certain buttons?
For the next time you should activate the option "Log message" in the output window because the auto-save writes there out how long it took.
Re: Auto-save mechanism
I found out that some folders are not removed. Those contain TechDraw SVG templates and ImageWB imported pictures... Which code should be responsible for removing those?