Quote:
Originally Posted by Valloric
Exit or save?
The file is deleted because in the process of saving a file, Sigil first deletes it and then saves a new one. This was added because it solved some saving issues for other users. I'll remove that little "feature" since it seems to be doing more harm than good. But the problem is that the other part of the save process, the actual saving, fails.
I still don't know why. It happens for users of different OSs, with different machines. I still can't reproduce it.
I've just looked at the zipping code... remember when I said I added a mechanism to trap the error and display debug info? It appears that code is not in the main tree. Hm... I don't know what I did wrong in the repo merge process, but that little changeset is not there.
Ok, so the next beta will have a dialog pop up with debug info if a problem occurs during save. When that happens, paste all that into a new issue and I'll hopefully be able to finally fix this annoying bug. It also shouldn't crash anymore, just fail to save (with the error dialog).
And it won't delete your file.
EDIT: The code is now in trunk. If anyone having this issue could build Sigil from source and report the debug info, please do so.
|
Saving while exiting. I had edited the files, made some minor changes, ran the TOC editor, saved that, then clicked on the Windows "X" (close) icon, sigil asked if I wanted to save, said yes, and then it hung. Sat there for some 10 minutes ate 60-80% CPU, until I decided it was not going to recover and I used task manager to close it.
Tried multiple times with different file (all created with calibre) and same result.
CRAP!, new laptop, I have to download and install all that jazz to compile this thing.
Art