Hi,

I had similar (i can't remember exact error message but it was it was
closely related) error around of two weeks ago but instead of upgrading
it occurred after unexpected power loss.

Following steps help me to use corrupted files again:

   1. Locate working directory
   2. Instead of your main project file e.g. filename.lyx locate and open
   filename.lyx~ with Lyx (you have to point location of Lyx binary,
   alternatively you can open this file via Lyx file menu > open but on this
   case first you should insert *.* as file name to make all file types
   visible for Lyx)
   3. Save result as new project e.g new.lyx (it is just good practice to
   keep recovery and original files separated)
   4. After manual check of content of file you can rename new.lyx back to
   filename.lyx

I am using Win 7 x 64 Lyx 2.0.3

Br,
Indrek

On 24 April 2012 14:02, Kornel Benko <[email protected]> wrote:

> Am Dienstag, 24. April 2012 um 10:43:23, schrieb Pavel Sanda <
> [email protected]>
> > Kornel Benko wrote:
> > > I experienced something similar when converting some files created on
> windows.
> > > It turned out, that the last line ended with "\end_document" but was
> not terminated by eol.
> > > Inserting a new line in such lyx-file with a text editor helped.
> >
> > Can you send example? These sounds like critical bugs.
> > Pavel
>
> No, I cannot create such files anymore. But it is easy to fake it. Just
> remove the trailing line feed
> of a file created by 2.0.x and try to read with 2.1.x.
> (Opening this file with 2.0.x will work, since no conversion needed)
>
>        Kornel

Reply via email to