In a recent message <[EMAIL PROTECTED]>,
Georg Baum <[EMAIL PROTECTED]> wrote.
[...]
Do you think I installed 'LyX.py' properly. In the directory I see that
a 'LyX.pyc' has appeared, with today's date.
Yes, you did. LyX.pyc is a compiled version of LyX.py, generated by python.
This us used to speed up subsequent runs of lyx2lyx.
Your problem is that your python installation is crippled. Get yourself a
full python installation (2.3 or above), and it will work.
[...]
I've just installed Python 2.5, reconfigured everything and tried again,
with the following results:
=============================TERMINAL WINDOW OUTPUT=====================
Traceback (most recent call last):
File "C:/Program Files/LyX
1.5svn-01-02-2007/Resources/./lyx2lyx/lyx2lyx", lin
e 91, in <module>
sys.exit(main(sys.argv))
File "C:/Program Files/LyX
1.5svn-01-02-2007/Resources/./lyx2lyx/lyx2lyx", lin
e 84, in main
file.convert()
File "C:\Program Files\LyX
1.5svn-01-02-2007\Resources\lyx2lyx\LyX.py", line 3
80, in convert
steps = getattr(__import__("lyx_" + step), mode)
File "C:\Program Files\LyX
1.5svn-01-02-2007\Resources\lyx2lyx\lyx_1_5.py", li
ne 23, in <module>
import unicodedata
ImportError: No module named unicodedata
Error: Conversion script failed
----------------------------------------
C:/documents and settings/nick hopton/my documents/linthouse_twins.lyx
is from a
different version of LyX, but the lyx2lyx script failed to convert it.
==========================END OF TERMINAL WINDOW OUTPUT================
My old Python was Version 2.4. I've put the path to the new version into
LyX.
Regards,
Nick.
--
Nick Hopton and Anne Hopton
Caversham, Reading, England
<[EMAIL PROTECTED]>