On 05/30/2014 02:18 PM, Paul A. Rubin wrote:

On 05/30/2014 12:26 PM, Richard Heck wrote:

Do the corrupted files end with "\begin_inset Tabular"?

Yes. So I gather this is nothing new (or else you're an incredibly lucky guesser).

No, not new. But we've had a very difficult time debugging it, since no one can reproduce.

Do you have auto-completion on?

Yes for math, no for text.

How about auto-save, which is at Toos> Preferences> Document Handling, "Backup documents, every N minutes"?

No.

Well, that IS helpful. The suspicion has all along been that it had to do with autosave. Apparently it does not.

If the document file itself is corrupted, that suggests you were trying to save it, yes? I'm not sure why LyX would over-write that file unless you were trying to save it. But that's been bugging me
for a while now....

I think I hit ctrl-S to save the last thing I did, and then clicked somewhere before the GUI evaporated, and I think I saw the cursor assume its new position before entropy won out. It could be that I clicked fast enough to beat a crash during the save, or it could be the save went okay and the click precipitated the crash.

If the saved file is corrupted, that means LyX hit some problem during the save. It then tried to save an emergency backup, but ran into the same problem. Whatever it is.


More importantly, at the moment: In the same dialog, is "Backup original documents when saving" also enabled? If so, then you should find a valid backup file in the Backups directory specified under Tools> Preferences> Paths or, if no directory is specified, the document directory. The file will have
a name like
    !home!rgheck!files!documents!classes!phil1885.lyx~
and may be "hidden", like a dot file.

No, it's not. Fortunately, though, I had symlinked the folder to my Dropbox folder (and then forgotten I'd done so). I was able to retrieve the last pre-crash version from Dropbox. Hence the lack of swear-words in this message.

Well, that is good.

I think we should enable "save backups" by default at this point.

Richard

Reply via email to