Re: Converting from older version

2005-06-02 Thread Christian Payne

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\lyx2lyxpython 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\binlyx2lyx 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.


Re: Converting from older version

2005-06-02 Thread Christian Payne

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\lyx2lyxpython 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\binlyx2lyx 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.


Re: Converting from older version

2005-06-02 Thread Christian Payne

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.


Re: Converting from older version

2005-05-28 Thread Christian Payne

Christian Payne [EMAIL PROTECTED] writes:

Can anyone suggestion how I can fix this problem? In particular


Did you check the wiki? You probably just need to create the 
lyx2lyx.cmd file:

http://wiki.lyx.org/LyX/LyXWinTips


I created this file and still get the same error. I downloaded the
program suggested also on that page and the same result. I then tried
running this program manually from the command line but the results
loaded into LyX are totally messed up.

Is this problem caused by the Windows version? Would installing a recent
Linux version and using this to do the conversion help? Or is it simply
that files from my old version (1.1.6fix4) are just too old to be
accessed in the more recent version?  If so, what are my options?


Regards,

Christian.



Re: Converting from older version

2005-05-28 Thread Christian Payne

Christian Payne [EMAIL PROTECTED] writes:

Can anyone suggestion how I can fix this problem? In particular


Did you check the wiki? You probably just need to create the 
lyx2lyx.cmd file:

http://wiki.lyx.org/LyX/LyXWinTips


I created this file and still get the same error. I downloaded the
program suggested also on that page and the same result. I then tried
running this program manually from the command line but the results
loaded into LyX are totally messed up.

Is this problem caused by the Windows version? Would installing a recent
Linux version and using this to do the conversion help? Or is it simply
that files from my old version (1.1.6fix4) are just too old to be
accessed in the more recent version?  If so, what are my options?


Regards,

Christian.



Re: Converting from older version

2005-05-28 Thread Christian Payne

Christian Payne <[EMAIL PROTECTED]> writes:

Can anyone suggestion how I can fix this problem? In particular


Did you check the wiki? You probably just need to create the 
lyx2lyx.cmd file:

http://wiki.lyx.org/LyX/LyXWinTips


I created this file and still get the same error. I downloaded the
program suggested also on that page and the same result. I then tried
running this program manually from the command line but the results
loaded into LyX are totally messed up.

Is this problem caused by the Windows version? Would installing a recent
Linux version and using this to do the conversion help? Or is it simply
that files from my old version ("1.1.6fix4") are just too old to be
accessed in the more recent version?  If so, what are my options?


Regards,

Christian.



Converting from older version

2005-05-27 Thread Christian Payne

Hi,

I have a large and somewhat complex LyX document that I been working on 
under LyX 1.1.6fix4 on a Linux system for a number of years. For 
various reasons I now need to keep working on this with LyX under 
Windows (version 1.3.5). However, when I go and open up the file I get a 
message An error occurred running the conversion script.


Can anyone suggestion how I can fix this problem? In particular, it is 
ESSENTIAL that the document not be damaged in any way!



Thanks in advance,

Christian.


Converting from older version

2005-05-27 Thread Christian Payne

Hi,

I have a large and somewhat complex LyX document that I been working on 
under LyX 1.1.6fix4 on a Linux system for a number of years. For 
various reasons I now need to keep working on this with LyX under 
Windows (version 1.3.5). However, when I go and open up the file I get a 
message An error occurred running the conversion script.


Can anyone suggestion how I can fix this problem? In particular, it is 
ESSENTIAL that the document not be damaged in any way!



Thanks in advance,

Christian.


Converting from older version

2005-05-27 Thread Christian Payne

Hi,

I have a large and somewhat complex LyX document that I been working on 
under LyX "1.1.6fix4" on a Linux system for a number of years. For 
various reasons I now need to keep working on this with LyX under 
Windows (version 1.3.5). However, when I go and open up the file I get a 
message "An error occurred running the conversion script".


Can anyone suggestion how I can fix this problem? In particular, it is 
ESSENTIAL that the document not be damaged in any way!



Thanks in advance,

Christian.