Re: Lyx 2.0 can\\\'t read Lyx 1.6.x documents
On Mon, Feb 17, 2014 at 6:39 AM, Ralf Glaser, track IT wrote: > It's the Win32 version running on XP SP3. Is it somehow possible to see the > contents of the PATH variable while LyX is running (e.g. by executing > additional commands like 'echo $PATH') in the debug console? I'm not sure how Windows works, but assuming a child process inherits PATH, you could make a converter and put your echo command in there. See Help > Customization > Converters. Scott
Re: Lyx 2.0 can\\\'t read Lyx 1.6.x documents
It's the Win32 version running on XP SP3. Is it somehow possible to see the contents of the PATH variable while LyX is running (e.g. by executing additional commands like 'echo $PATH') in the debug console?
Re: Lyx 2.0 can\'t read Lyx 1.6.x documents
12/02/2014 10:25, Ralf Glaser, track IT: I tested adding the LyX PATH extension to the PATH variable and LyX works fine now. Unfortunately this results in cygwins's python version being no longer accessible as LyX's python is being used now. It's a workaround but i'd really like to make LyX add it's PATH prefix as intended. I noticed that the PATH variable is actually called 'Path' instead of 'PATH' on my WinXP machine. Maybe this matters... What version of LyX is this? Win32 or cygwin? LyX is supposed to set the path correctly when running. JMarc
Re: Lyx 2.0 can\'t read Lyx 1.6.x documents
I did. Had no influence. Am 12.02.2014 23:57, schrieb Stephan Witt: Am 12.02.2014 um 10:25 schrieb "Ralf Glaser, track IT" : I tested adding the LyX PATH extension to the PATH variable and LyX works fine now. Unfortunately this results in cygwins's python version beeing no longer accessible as LyX's python is beeing used now. It's a workaround but i'd really like to make LyX add it's PATH prefix as intended. Did you try to add the path to the PATH-Prefix in LyX's preferences pane explicitely? I noticed that the PATH variable is actually called 'Path' instead of 'PATH' on my WinXP machine. Maybe this matters... Don't know this. Stephan
Re: Lyx 2.0 can\'t read Lyx 1.6.x documents
Am 12.02.2014 um 10:25 schrieb "Ralf Glaser, track IT" : > I tested adding the LyX PATH extension to the PATH variable and LyX works > fine now. > Unfortunately this results in cygwins's python version beeing no longer > accessible as LyX's python is beeing used now. > It's a workaround but i'd really like to make LyX add it's PATH prefix as > intended. Did you try to add the path to the PATH-Prefix in LyX's preferences pane explicitely? > I noticed that the PATH variable is actually called 'Path' instead of 'PATH' > on my WinXP machine. Maybe this matters... Don't know this. Stephan
Re: Lyx 2.0 can\'t read Lyx 1.6.x documents
I tested adding the LyX PATH extension to the PATH variable and LyX works fine now. Unfortunately this results in cygwins's python version beeing no longer accessible as LyX's python is beeing used now. It's a workaround but i'd really like to make LyX add it's PATH prefix as intended. I noticed that the PATH variable is actually called 'Path' instead of 'PATH' on my WinXP machine. Maybe this matters...
Re: Lyx 2.0 can\'t read Lyx 1.6.x documents
My bad, didn't notice the option to enable verbose output. Seems like you are right and it's a python problem or more precise a problem with LyX calling Cygwin's Python (2.7.3) instead of LyX's own Python (2.7.5). When i run the command in a terminal window using c:\Programme\Lyx 2.0\Python\python.exe instead of C:/cygwin/bin/python2.7.exe it succeeds. Question remains how do i get LyX to use the right python.exe (the PATH prefix looks correct to me)? 10:43:07.602: Öffne Dokument C:\tmp\lyx\newfile1.lyx...D:/LyXGit/2.0.x/src\support/os_win32.cpp (299): [C:/tmp/lyx/newfile1.lyx]->>[C:\tmp\lyx\newfile1.lyx] BufferParams.cpp (1996): setBaseClass: article support/FileName.cpp (692): creating path 'C:/Dokumente und Einstellungen/glaser.TRACKITDOMAIN/Lokale Einstellungen/Temp/lyx_tmpdir.Hp2232/lyx_tmpbuf6'. Buffer.cpp (398): Buffer::Buffer() BufferList.cpp (122): Assigning to buffer 0 support/FileName.cpp (950): filetools(getFormatFromContents) Couldn't find a known format! Lexer.cpp (258): lyxlex: UNcompressed Lexer.cpp (338): Comment read: `35LyX 1.6.9 created this file. For more info see http://www.lyx.org/' support/FileName.cpp (448): Temporary file in C:/Dokumente und Einstellungen/glaser.TRACKITDOMAIN/Lokale Einstellungen/Temp/lyx_tmpdir.Hp2232/Buffer_convertLyXFormat support/FileName.cpp (436): Temporary file `C:/Dokumente und Einstellungen/glaser.TRACKITDOMAIN/Lokale Einstellungen/Temp/lyx_tmpdir.Hp2232/Buffer_convertLyXFormat.if2232' created. Buffer.cpp (1122): Running 'C:/cygwin/bin/python2.7.exe -tt "C:/Programme/LyX 2.0/Resources/lyx2lyx/lyx2lyx" -t 413 -o "C:/Dokumente und Einstellungen/glaser.TRACKITDOMAIN/Lokale Einstellungen/Temp/lyx_tmpdir.Hp2232/Buffer_convertLyXFormat.if2232" "C:/tmp/lyx/newfile1.lyx"' support/FileName.cpp (832): filetools(getFormatFromContents) File type not recognised before EOF! support/FileName.cpp (950): filetools(getFormatFromContents) Couldn't find a known format! Lexer.cpp (258): lyxlex: UNcompressed Error: Dokumentformat-Fehler Am 10.02.2014 19:32, schrieb Jürgen Spitzmüller: Ralf Glaser, track IT wrote: Hello, please find attached the Lyx 1.6 file which Lyx 2.0 won't open. Thanks. It opens just fine here. I suppose lyx2lyx (the converter between different LyX formats) does not work properly on your side. Maybe a Python problem. Can you open LyX from a terminal window (or check View > Messages) to see whether there is an error message from lyx2lyx? Jürgen -- Dipl.-Ing. Ralf Glaser *Neue Adresse ab 1.8.2013:* Blumenauer Str. 1 30449 Hannover Germany track IT GmbH Hinüberstraße 8 30175 Hannover Germany Tel.: +49-511-38098-90 Fax.: +49-511-38098-99 Geschäftsführer Thilo von Usslar Bankhaus C.L. Seeliger BLZ 270 325 00 Konto 6554 Amtgericht Hannover HRB 60983 Steuer Nr.: 2325 02520523667, Ust-IdNr.: DE228892 503 Diese Information ist für den Gebrauch durch die Person oder die Firma/Organisation bestimmt,die in der Empfängeradresse benannt ist und unterliegt u. U. dem Betriebsgeheimnis, dem Schutz von Arbeitsergebnissen oder anderweitigem rechtlichen Schutz.Wenn Sie nicht der angegebene Empfänger sind, nehmen Sie bitte zur Kenntnis, dass Weitergabe, Kopieren, Verteilung oder Nutzung des Inhalts dieser E-Mail-Übertragung unzulässig ist.Falls Sie diese E-Mail irrtümlich erhalten haben, benachrichtigen Sie den Absender bitte unverzüglich telefonisch oder durch eine E-Mail und löschen Sie diese Information aus Ihrem EDV-System. This e-mail message is intended only for the use of the named recipient(s) and contains information which may be confidential or privileged. If you are not the intended recipient, be aware that any distribution, or use of the contents of this information is prohibited. If you have received this electronic transmission in error, please notify the sender and delete the material from the computer.
Re: Lyx 2.0 can\'t read Lyx 1.6.x documents
Starting LyX from a terminal window didn't produce any output. The View->Messages output is is also kind of boring: 09:52:23.790: (dialog-toggle progress) 09:52:44.725: Öffne Dokument C:\tmp\lyx\newfile1.lyx...Error: Dokumentformat-Fehler C:/Dokumente und Einstellungen/glaser.TRACKITDOMAIN/Lokale Einstellungen/Temp/lyx_tmpdir.Hp2424/Buffer_convertLyXFormat.em2424 ist kein lesbares LyX-Dokument. 09:52:55.843: Dokument nicht geladen. 09:52:55.843: Das Dokument C:\tmp\lyx\newfile1.lyx konnte nicht geöffnet werden 09:52:55.843: (file-open: Ctrl+O) Is it possible to invoke lyx2lyx directly from a terminal window? Ralf Am 10.02.2014 19:32, schrieb Jürgen Spitzmüller: Ralf Glaser, track IT wrote: Hello, please find attached the Lyx 1.6 file which Lyx 2.0 won't open. Thanks. It opens just fine here. I suppose lyx2lyx (the converter between different LyX formats) does not work properly on your side. Maybe a Python problem. Can you open LyX from a terminal window (or check View > Messages) to see whether there is an error message from lyx2lyx? Jürgen
Re: Lyx 2.0 can\'t read Lyx 1.6.x documents
Ralf Glaser, track IT wrote: > Hello, > > please find attached the Lyx 1.6 file which Lyx 2.0 won't open. Thanks. It opens just fine here. I suppose lyx2lyx (the converter between different LyX formats) does not work properly on your side. Maybe a Python problem. Can you open LyX from a terminal window (or check View > Messages) to see whether there is an error message from lyx2lyx? Jürgen