Re: Re: Can't open files in 2.0.3 (Buffer_convertLyxFormat.hXXXX is not a readable Lyx Document)

2012-04-24 Thread Pavel Sanda
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


Re: Re: Re: Can't open files in 2.0.3 (Buffer_convertLyxFormat.hXXXX is not a readable Lyx Document)

2012-04-24 Thread Kornel Benko
Am Dienstag, 24. April 2012 um 10:43:23, schrieb Pavel Sanda sa...@lyx.org
 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

signature.asc
Description: This is a digitally signed message part.


Re: Re: Re: Can't open files in 2.0.3 (Buffer_convertLyxFormat.hXXXX is not a readable Lyx Document)

2012-04-24 Thread Indrek Tuula
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 kor...@lyx.org wrote:

 Am Dienstag, 24. April 2012 um 10:43:23, schrieb Pavel Sanda 
 sa...@lyx.org
  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


Re: Re: Re: Can't open files in 2.0.3 (Buffer_convertLyxFormat.hXXXX is not a readable Lyx Document)

2012-04-24 Thread Pavel Sanda
Kornel Benko wrote:
 Am Dienstag, 24. April 2012 um 10:43:23, schrieb Pavel Sanda sa...@lyx.org
  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)

I tried and didn't get the error which was reported by John
(instead I correctly see  Buffer .. ended unexpectedly, which means that it is 
probably corrupted.)
Do you have reproducible behaviour how you get such eoln-missing files?
Pavel


Re: Re: Re: Re: Can't open files in 2.0.3 (Buffer_convertLyxFormat.hXXXX is not a readable Lyx Document)

2012-04-24 Thread Kornel Benko
Am Mittwoch, 25. April 2012 um 01:10:17, schrieb Pavel Sanda sa...@lyx.org
 Kornel Benko wrote:
  Am Dienstag, 24. April 2012 um 10:43:23, schrieb Pavel Sanda sa...@lyx.org
   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)
 
 I tried and didn't get the error which was reported by John
 (instead I correctly see  Buffer .. ended unexpectedly, which means that it 
 is probably corrupted.)
 Do you have reproducible behaviour how you get such eoln-missing files?
 Pavel

Sorry, no. It occurred as I wanted to edit some of my old lyx files. I changed 
them in the meantime.

Kornel

signature.asc
Description: This is a digitally signed message part.


Re: Re: Can't open files in 2.0.3 (Buffer_convertLyxFormat.hXXXX is not a readable Lyx Document)

2012-04-24 Thread Pavel Sanda
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


Re: Re: Re: Can't open files in 2.0.3 (Buffer_convertLyxFormat.hXXXX is not a readable Lyx Document)

2012-04-24 Thread Kornel Benko
Am Dienstag, 24. April 2012 um 10:43:23, schrieb Pavel Sanda sa...@lyx.org
 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

signature.asc
Description: This is a digitally signed message part.


Re: Re: Re: Can't open files in 2.0.3 (Buffer_convertLyxFormat.hXXXX is not a readable Lyx Document)

2012-04-24 Thread Indrek Tuula
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 kor...@lyx.org wrote:

 Am Dienstag, 24. April 2012 um 10:43:23, schrieb Pavel Sanda 
 sa...@lyx.org
  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


Re: Re: Re: Can't open files in 2.0.3 (Buffer_convertLyxFormat.hXXXX is not a readable Lyx Document)

2012-04-24 Thread Pavel Sanda
Kornel Benko wrote:
 Am Dienstag, 24. April 2012 um 10:43:23, schrieb Pavel Sanda sa...@lyx.org
  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)

I tried and didn't get the error which was reported by John
(instead I correctly see  Buffer .. ended unexpectedly, which means that it is 
probably corrupted.)
Do you have reproducible behaviour how you get such eoln-missing files?
Pavel


Re: Re: Re: Re: Can't open files in 2.0.3 (Buffer_convertLyxFormat.hXXXX is not a readable Lyx Document)

2012-04-24 Thread Kornel Benko
Am Mittwoch, 25. April 2012 um 01:10:17, schrieb Pavel Sanda sa...@lyx.org
 Kornel Benko wrote:
  Am Dienstag, 24. April 2012 um 10:43:23, schrieb Pavel Sanda sa...@lyx.org
   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)
 
 I tried and didn't get the error which was reported by John
 (instead I correctly see  Buffer .. ended unexpectedly, which means that it 
 is probably corrupted.)
 Do you have reproducible behaviour how you get such eoln-missing files?
 Pavel

Sorry, no. It occurred as I wanted to edit some of my old lyx files. I changed 
them in the meantime.

Kornel

signature.asc
Description: This is a digitally signed message part.


Re: Re: Can't open files in 2.0.3 (Buffer_convertLyxFormat.hXXXX is not a readable Lyx Document)

2012-04-24 Thread Pavel Sanda
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


Re: Re: Re: Can't open files in 2.0.3 (Buffer_convertLyxFormat.hXXXX is not a readable Lyx Document)

2012-04-24 Thread Kornel Benko
Am Dienstag, 24. April 2012 um 10:43:23, schrieb Pavel Sanda 
> 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

signature.asc
Description: This is a digitally signed message part.


Re: Re: Re: Can't open files in 2.0.3 (Buffer_convertLyxFormat.hXXXX is not a readable Lyx Document)

2012-04-24 Thread Indrek Tuula
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  wrote:

> Am Dienstag, 24. April 2012 um 10:43:23, schrieb Pavel Sanda <
> sa...@lyx.org>
> > 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


Re: Re: Re: Can't open files in 2.0.3 (Buffer_convertLyxFormat.hXXXX is not a readable Lyx Document)

2012-04-24 Thread Pavel Sanda
Kornel Benko wrote:
> Am Dienstag, 24. April 2012 um 10:43:23, schrieb Pavel Sanda 
> > 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)

I tried and didn't get the error which was reported by John
(instead I correctly see  Buffer .. ended unexpectedly, which means that it is 
probably corrupted.)
Do you have reproducible behaviour how you get such eoln-missing files?
Pavel


Re: Re: Re: Re: Can't open files in 2.0.3 (Buffer_convertLyxFormat.hXXXX is not a readable Lyx Document)

2012-04-24 Thread Kornel Benko
Am Mittwoch, 25. April 2012 um 01:10:17, schrieb Pavel Sanda 
> Kornel Benko wrote:
> > Am Dienstag, 24. April 2012 um 10:43:23, schrieb Pavel Sanda 
> > > 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)
> 
> I tried and didn't get the error which was reported by John
> (instead I correctly see  Buffer .. ended unexpectedly, which means that it 
> is probably corrupted.)
> Do you have reproducible behaviour how you get such eoln-missing files?
> Pavel

Sorry, no. It occurred as I wanted to edit some of my old lyx files. I changed 
them in the meantime.

Kornel

signature.asc
Description: This is a digitally signed message part.


Re: Re: Can't open files in 2.0.3 (Buffer_convertLyxFormat.hXXXX is not a readable Lyx Document)

2012-04-23 Thread Kornel Benko
Am Montag, 23. April 2012 um 09:54:05, schrieb Richard Heck rgh...@comcast.net
 On 04/23/2012 09:38 AM, John Enright wrote:
  Since upgrading to 2.0.3, Many of my files will not open. I get an error 
  message
  during the open operation saying:
 
  C:\Users\myusername\AppData\Local\Temp\lyx_tmpdir.p10476
  \Buffer_convertLyxFormat.h is not a readable LyX document.
 
  The temp directory exits (as specified in the message); the temp file is
  zero-bytes long.
 
  - I'm running Win7 (x64). My MikTex is up to date. I've reinstalled LyX 
  several
  times (including uninstalling it). No difference.
 
  - Some old files will open. But many will not. Not sure of what is special 
  about
  the affected files. Perhaps some particular floats, but I can't seem to
  replicate the problem with a new file.
 
  - I can create and reopen a completely new file.
 
  - The affected files are not corrupted, since they open just fine in LyX 
  1.6.X
  that I still had installed.
 
  Any thoughts?
 
 Sounds like some sort of lyx2lyx conversion error. If you can run LyX 
 from a terminal, you should get more error messages, though that won't 
 solve the problem by itself. So, alternatively, try posting one of the 
 problematic files here, or sending it to me privately, if you prefer, 
 and we can try to figure it out.
 
 Richard

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.

Kornel

signature.asc
Description: This is a digitally signed message part.


Re: Re: Can't open files in 2.0.3 (Buffer_convertLyxFormat.hXXXX is not a readable Lyx Document)

2012-04-23 Thread Kornel Benko
Am Montag, 23. April 2012 um 09:54:05, schrieb Richard Heck rgh...@comcast.net
 On 04/23/2012 09:38 AM, John Enright wrote:
  Since upgrading to 2.0.3, Many of my files will not open. I get an error 
  message
  during the open operation saying:
 
  C:\Users\myusername\AppData\Local\Temp\lyx_tmpdir.p10476
  \Buffer_convertLyxFormat.h is not a readable LyX document.
 
  The temp directory exits (as specified in the message); the temp file is
  zero-bytes long.
 
  - I'm running Win7 (x64). My MikTex is up to date. I've reinstalled LyX 
  several
  times (including uninstalling it). No difference.
 
  - Some old files will open. But many will not. Not sure of what is special 
  about
  the affected files. Perhaps some particular floats, but I can't seem to
  replicate the problem with a new file.
 
  - I can create and reopen a completely new file.
 
  - The affected files are not corrupted, since they open just fine in LyX 
  1.6.X
  that I still had installed.
 
  Any thoughts?
 
 Sounds like some sort of lyx2lyx conversion error. If you can run LyX 
 from a terminal, you should get more error messages, though that won't 
 solve the problem by itself. So, alternatively, try posting one of the 
 problematic files here, or sending it to me privately, if you prefer, 
 and we can try to figure it out.
 
 Richard

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.

Kornel

signature.asc
Description: This is a digitally signed message part.


Re: Re: Can't open files in 2.0.3 (Buffer_convertLyxFormat.hXXXX is not a readable Lyx Document)

2012-04-23 Thread Kornel Benko
Am Montag, 23. April 2012 um 09:54:05, schrieb Richard Heck 
> On 04/23/2012 09:38 AM, John Enright wrote:
> > Since upgrading to 2.0.3, Many of my files will not open. I get an error 
> > message
> > during the open operation saying:
> >
> > C:\Users\myusername\AppData\Local\Temp\lyx_tmpdir.p10476
> > \Buffer_convertLyxFormat.h is not a readable LyX document.
> >
> > The temp directory exits (as specified in the message); the temp file is
> > zero-bytes long.
> >
> > - I'm running Win7 (x64). My MikTex is up to date. I've reinstalled LyX 
> > several
> > times (including uninstalling it). No difference.
> >
> > - Some old files will open. But many will not. Not sure of what is special 
> > about
> > the affected files. Perhaps some particular floats, but I can't seem to
> > replicate the problem with a new file.
> >
> > - I can create and reopen a completely new file.
> >
> > - The affected files are not corrupted, since they open just fine in LyX 
> > 1.6.X
> > that I still had installed.
> >
> > Any thoughts?
> >
> Sounds like some sort of lyx2lyx conversion error. If you can run LyX 
> from a terminal, you should get more error messages, though that won't 
> solve the problem by itself. So, alternatively, try posting one of the 
> problematic files here, or sending it to me privately, if you prefer, 
> and we can try to figure it out.
> 
> Richard

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.

Kornel

signature.asc
Description: This is a digitally signed message part.