Hei! Install the last version of Python, that is, 2.4.1. Download the tex2lyx package from the wiki (http://wiki.lyx.org/LaTeX/LatexToLyx). It comes with a lyx2lyx tool that works for sure (maintain tex2lyx files separate from Lyx files!). And then run the lyx2lyx tool using the full path to call python (e.g. C:\tools\Python24\python.exe). This may also help: http://wiki.lyx.org/LaTeX/Tex2LyxInvokedFromLyx
Nicolás > -----Original Message----- > From: Christian Payne [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 02, 2005 8:46 AM > To: lyx-users@lists.lyx.org > Subject: Re: Converting from older version > > > Am Samstag, 28. Mai 2005 11:16 schrieb Christian Payne: > > Run lyx2lyx from the commandline on your file: > > > > python lyx2lyx yourfile.lyx > convertedfile.lyx > > > > Replace python with the full path to your python executable > if it is > > not in your path. > > If you get errors, post them to the list. > > > Ok, here is what happens when I run the python lyx2lyx script: > --- > C:\Program Files\lyx\share\lyx\lyx2lyx>python lyx2lyx > thesis.lyx > thesis-win.lyx 'import site' failed; use -v for > traceback Traceback (most recent call last): > File "lyx2lyx", line 19, in ? > import getopt, sys, string, re > ImportError: No module named getopt > --- > > > Result is obviously an empty .lyx file. > > > Now if I run the lyx2lyx binary program then I get the following: > --- > C:\Program Files\lyx\bin>lyx2lyx thesis.lyx > thesis-win.lyx > Malformed LyX file: Missing 'collapsed'. > Malformed LyX file: Missing 'collapsed'. > Malformed lyx file: Missing 'wide'. > Malformed lyx file: Missing 'wide'. > --- > > The resulting file opens up but is messed up. > > > Sorry if I'm not providing any extra information that I > should be but I > don't really know much about python (or Windows for that > matter). Since > in theory it is supposed to work, is it worth trying to > install a recent > Linux version of LyX and trying that? > > Thanks for all your help and any suggestions are appreciated! > > > Regards, > > Christian.