Carine Simon <[EMAIL PROTECTED]> writes:

> 
> Hello,
> 
> I’ve just installed Lyx 1.4.1 under Windows XP with
> lyx-1.4.1_win32_setup_v1.exe
> <ftp://ftp.lyx.org/pub/lyx/bin/1.4.1/lyx-1.4.1_win32_setup_v1.exe> . I
> am using the sh.exe under cygwin, the Python 2.4, the gs8.51 and
> ImageMagick6.7 Q16. 
> I can start Lyx with no problem and download a file. But when I want to
> compile it with DVI from “edit” menu, I’ve got the following error:
> ---------------------------
> Subsistema MS-DOS de 16 bits
> ---------------------------
> 5367625/3432
> La CPU NTVDM ha encontrado una instrucción no permitida. (CPU NTVDM has
> found an unallowed instruction)
> CS:0fa9 IP:21c6 OP:63 6c 61 64 6f Elija "Cerrar" para finalizar la
> aplicación.
> 
> And then 
> 
> Would you know where it can come from?

Yes, I know. The native version of LyX does not understand symlinks
and is happily trying to execute the /bin/python.exe symlink to the real
python, which is /bin/python2.4.exe, as if it really was an executable
file.

You have two options:

1) Put the the python.bat script I paste at the end in the LyX\bin
   directory.

2) Use instead the cygwin version of LyX you can find here:
   ftp://ftp.lyx.org/pub/lyx/bin/1.4.1/lyx-1.4.1-cygwin.tar.gz

If you use MikTeX, then 1) is the best option. If you use the cygwin tetex,
then you want option 2), as tetex is not currently supported by the native
version of LyX (complain with the LyX developers for that).

-- 
Enrico

-----8<----python.bat----8<-----
@echo off
python2.4 %*
exit
-----8<------------------8<-----



Reply via email to