Re: Can't open files in 2.0.3 (Buffer_convertLyxFormat.hXXXX is not a readable Lyx Document)
I think it was 1.6 or 1.7 at the start, but I have been constantly editing it with updated versions of LyX up to 2.0.x David Sent from my iPhone > On 20 May 2014, at 19:37, "Richard Heck" wrote: > >> On 05/20/2014 09:52 AM, David Nandi wrote: >> Richard Heck comcast.net> writes: >> 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. >> >>> 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 get the same problem after upgrading to LyX 2.0.7 (I'm not sure from which >> version), when trying to open files that I had been using daily. I have >> tried re-installing 2.0.7 as well as using version 1.6.10, but the same >> error appears. What do you suggest, is there a way to access other LyX >> versions? > > What version of LyX were these files created in? > > Richard >
Re: Can't open files in 2.0.3 (Buffer_convertLyxFormat.hXXXX is not a readable Lyx Document)
On 05/20/2014 09:52 AM, David Nandi wrote: Richard Heck comcast.net> writes: 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. 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 get the same problem after upgrading to LyX 2.0.7 (I'm not sure from which version), when trying to open files that I had been using daily. I have tried re-installing 2.0.7 as well as using version 1.6.10, but the same error appears. What do you suggest, is there a way to access other LyX versions? What version of LyX were these files created in? Richard
Re: Can't open files in 2.0.3 (Buffer_convertLyxFormat.hXXXX is not a readable Lyx Document)
Richard Heck comcast.net> writes: > > 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. > > > 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 get the same problem after upgrading to LyX 2.0.7 (I'm not sure from which version), when trying to open files that I had been using daily. I have tried re-installing 2.0.7 as well as using version 1.6.10, but the same error appears. What do you suggest, is there a way to access other LyX versions? Thanks, David
Re: Re: Re: Re: Can't open files in 2.0.3 (Buffer_convertLyxFormat.hXXXX is not a readable Lyx Document)
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: Re: Can't open files in 2.0.3 (Buffer_convertLyxFormat.hXXXX is not a readable Lyx Document)
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: Can't open files in 2.0.3 (Buffer_convertLyxFormat.hXXXX is not a readable Lyx Document)
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)
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: Can't open files in 2.0.3 (Buffer_convertLyxFormat.hXXXX is not a readable Lyx Document)
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: Can't open files in 2.0.3 (Buffer_convertLyxFormat.hXXXX is not a readable Lyx Document)
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.
Re: Can't open files in 2.0.3 (Buffer_convertLyxFormat.hXXXX is not a readable Lyx Document)
On 23/04/2012 9:54 AM, Richard Heck wrote: 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. 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 Is there some magic to get the debug output from the command line? I run: lyx -dbg or lyx -dbg graphics and get no additional output. Is this logged to a file somewhere? BTW, I have verified that I can make the problem disappear by rolling back to 2.0.2 (well, uninstalling 2.0.3, and then installing 2.0.2). John
Re: Can't open files in 2.0.3 (Buffer_convertLyxFormat.hXXXX is not a readable Lyx Document)
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