Andrew Diederich wrote:
Hello lyx-users,

Right after I got my windows LyX 1.4.3 up and running, I broke it.  I
had python 2.4 installed when I installed LyX, and yesterday installed
python 2.5. Now when I try and view, say, a dvi, I get this error:

LyX: Cannot convert file

An error occurred whilst running python -tt "C:/Program 
Files/LyX14/Resources/scrip

That's the whole error -- it is cut off.

I don't know why, but error messages regarding the Python scripts always get truncated. That in itself is nothing to worry about.

One change I made is python
2.4 was not in the path, but then I did put 2.5 in the path.  I'm
guessing the two python 2.5 installs are fighting with LyX.  What's
the best way to resolve this?

LyX should have installed a partial version of Python 2.5 in <LyX root>\python. As a temporary fix, try adding that directory to Tools->Preferences...->Paths->PATH prefix (assuming you didn't remove it).

You might also want to (a) verify that the new Python install works by running it against some test scripts (assuming you have or can lay hands on any) and (b) compare directory listings of the <LyX>\python folder (and subfolders) to the corresponding folders of the full Python installation, to make sure that the full installation has everything LyX provides. If you have not already done so, try running python -V from a command line (note that the V is case-sensitive) to see if the full install works at least minimally.

/Paul

Reply via email to