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): <Win32 path correction> [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.

Reply via email to