Thank you very much, I had the same problem and your post was for me very usefulPrav wrote:I know the post is closed. But I wanted to add my experience. I could recover my data from the corrupted .lyx by opening the file with miktex and then comparing the code with any other working lyx code(again opened in miktex).
LyX ⇒ Corrupt .lyx file due to improper shutdown
-
- Posts: 1
- Joined: Fri Apr 08, 2016 10:58 am
Corrupt .lyx file due to improper shutdown
NEW: TikZ book now 40% off at Amazon.com for a short time.

-
- Posts: 1
- Joined: Wed Aug 03, 2016 4:31 am
Corrupt .lyx file due to improper shutdown
Had a similar issue with a corrupt LyX file. I managed to recover my information by opening the backup file (with the ~) in the code editor for MATLAB and copying out the bits I needed.BrunoCocciaro wrote:Thank you very much, I had the same problem and your post was for me very usefulPrav wrote:I know the post is closed. But I wanted to add my experience. I could recover my data from the corrupted .lyx by opening the file with miktex and then comparing the code with any other working lyx code(again opened in miktex).
Corrupt .lyx file due to improper shutdown
This was indeed very helpful. Or it inspired another easy way to fix things: What helped me pinpointing the issue was opening the document from the command line with verbose flag:Prav wrote:I know the post is closed. But I wanted to add my experience. I could recover my data from the corrupted .lyx by opening the file with miktex and then comparing the code with any other working lyx code(again opened in miktex).
Code: Select all
lyx -v corruptfile.lyx