Re: lyx2lyx failure

2010-01-29 Thread José Matos
On Monday 25 January 2010 16:13:30 Stefano Franchi wrote:
 I am trying to open a lyx file produced by a conversion script and
 Lyx (1.6.5) fails claiming lyx2lyx  could not convert it.
 The lyx file is in lyx format 2.16 (or so it claims in its header).
 
 Launching lyx2lyx from the console gives the following error:
 
 
 Warning: An error ocurred in 225, function add_end_layout at 0x295f230
 Traceback (most recent call last):
   File /usr/share/lyx/lyx2lyx/lyx2lyx, line 83, in module
 main()
   File /usr/share/lyx/lyx2lyx/lyx2lyx, line 77, in main
 doc.convert()
   File /usr/share/lyx/lyx2lyx/LyX.py, line 500, in convert
 conv(self)
   File /usr/share/lyx/lyx2lyx/lyx_1_4.py, line 449, in add_end_layout
 struct_stack.pop()
 IndexError: pop from empty list
 
 Any insight on what the problem may be?

I suspect of the conversion script. :-)

The lyx format at the time of 2.16 was a lot less structured than it is now in 
the sense that it would accept incorrect files and try to do the right thing.

Could you, please, send me privately a part of the converted file where this 
happens?

 Cheers,
 
 S.

-- 
José Abílio


Re: lyx2lyx failure

2010-01-29 Thread José Matos
On Monday 25 January 2010 16:13:30 Stefano Franchi wrote:
 I am trying to open a lyx file produced by a conversion script and
 Lyx (1.6.5) fails claiming lyx2lyx  could not convert it.
 The lyx file is in lyx format 2.16 (or so it claims in its header).
 
 Launching lyx2lyx from the console gives the following error:
 
 
 Warning: An error ocurred in 225, function add_end_layout at 0x295f230
 Traceback (most recent call last):
   File /usr/share/lyx/lyx2lyx/lyx2lyx, line 83, in module
 main()
   File /usr/share/lyx/lyx2lyx/lyx2lyx, line 77, in main
 doc.convert()
   File /usr/share/lyx/lyx2lyx/LyX.py, line 500, in convert
 conv(self)
   File /usr/share/lyx/lyx2lyx/lyx_1_4.py, line 449, in add_end_layout
 struct_stack.pop()
 IndexError: pop from empty list
 
 Any insight on what the problem may be?

I suspect of the conversion script. :-)

The lyx format at the time of 2.16 was a lot less structured than it is now in 
the sense that it would accept incorrect files and try to do the right thing.

Could you, please, send me privately a part of the converted file where this 
happens?

 Cheers,
 
 S.

-- 
José Abílio


Re: lyx2lyx failure

2010-01-29 Thread José Matos
On Monday 25 January 2010 16:13:30 Stefano Franchi wrote:
> I am trying to open a lyx file produced by a conversion script and
> Lyx (1.6.5) fails claiming lyx2lyx  could not convert it.
> The lyx file is in lyx format 2.16 (or so it claims in its header).
> 
> Launching lyx2lyx from the console gives the following error:
> 
> 
> Warning: An error ocurred in 225, 
> Traceback (most recent call last):
>   File "/usr/share/lyx/lyx2lyx/lyx2lyx", line 83, in 
> main()
>   File "/usr/share/lyx/lyx2lyx/lyx2lyx", line 77, in main
> doc.convert()
>   File "/usr/share/lyx/lyx2lyx/LyX.py", line 500, in convert
> conv(self)
>   File "/usr/share/lyx/lyx2lyx/lyx_1_4.py", line 449, in add_end_layout
> struct_stack.pop()
> IndexError: pop from empty list
> 
> Any insight on what the problem may be?

I suspect of the conversion script. :-)

The lyx format at the time of 2.16 was a lot less structured than it is now in 
the sense that it would accept incorrect files and try to do the right thing.

Could you, please, send me privately a part of the converted file where this 
happens?

> Cheers,
> 
> S.

-- 
José Abílio


lyx2lyx failure

2010-01-25 Thread Stefano Franchi
I am trying to open a lyx file produced by a conversion script and
Lyx (1.6.5) fails claiming lyx2lyx  could not convert it.
The lyx file is in lyx format 2.16 (or so it claims in its header).

Launching lyx2lyx from the console gives the following error:


Warning: An error ocurred in 225, function add_end_layout at 0x295f230
Traceback (most recent call last):
  File /usr/share/lyx/lyx2lyx/lyx2lyx, line 83, in module
main()
  File /usr/share/lyx/lyx2lyx/lyx2lyx, line 77, in main
doc.convert()
  File /usr/share/lyx/lyx2lyx/LyX.py, line 500, in convert
conv(self)
  File /usr/share/lyx/lyx2lyx/lyx_1_4.py, line 449, in add_end_layout
struct_stack.pop()
IndexError: pop from empty list

Any insight on what the problem may be?


Cheers,

S.



__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237


lyx2lyx failure

2010-01-25 Thread Stefano Franchi
I am trying to open a lyx file produced by a conversion script and
Lyx (1.6.5) fails claiming lyx2lyx  could not convert it.
The lyx file is in lyx format 2.16 (or so it claims in its header).

Launching lyx2lyx from the console gives the following error:


Warning: An error ocurred in 225, function add_end_layout at 0x295f230
Traceback (most recent call last):
  File /usr/share/lyx/lyx2lyx/lyx2lyx, line 83, in module
main()
  File /usr/share/lyx/lyx2lyx/lyx2lyx, line 77, in main
doc.convert()
  File /usr/share/lyx/lyx2lyx/LyX.py, line 500, in convert
conv(self)
  File /usr/share/lyx/lyx2lyx/lyx_1_4.py, line 449, in add_end_layout
struct_stack.pop()
IndexError: pop from empty list

Any insight on what the problem may be?


Cheers,

S.



__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237


lyx2lyx failure

2010-01-25 Thread Stefano Franchi
I am trying to open a lyx file produced by a conversion script and
Lyx (1.6.5) fails claiming lyx2lyx  could not convert it.
The lyx file is in lyx format 2.16 (or so it claims in its header).

Launching lyx2lyx from the console gives the following error:


Warning: An error ocurred in 225, 
Traceback (most recent call last):
  File "/usr/share/lyx/lyx2lyx/lyx2lyx", line 83, in 
main()
  File "/usr/share/lyx/lyx2lyx/lyx2lyx", line 77, in main
doc.convert()
  File "/usr/share/lyx/lyx2lyx/LyX.py", line 500, in convert
conv(self)
  File "/usr/share/lyx/lyx2lyx/lyx_1_4.py", line 449, in add_end_layout
struct_stack.pop()
IndexError: pop from empty list

Any insight on what the problem may be?


Cheers,

S.



__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas A University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237


lyx2lyx failure and older versions of LyX

2009-03-13 Thread Stefano Franchi
Dear Lyxers,

I am trying to convert a batch of old documents written with Framemaker 
into 
LyX. There is a nifty little utility that allows the conversion and I have 
used it successfully in the past (mif2lyx). However, it has not been 
maintained since 2000 and it produces lyx files in the 2.16 format.

When I tried to open the files in my current version of Lyx (1.6.1) lyx2lyx 
failed to convert the file to the new format.
I don't know if the failed conversion is due to the old format or to an error 
by the mif2lyx conversion script. I tried to download an older version of Lyx 
to rule out some hypotheses, but I get 550 errors on the lyx website.

I next tried running lyx2lyx from the terminal, and it gave the following 
output:

Warning: An error ocurred in 225, function add_end_layout at 0x1cfa1b8
Traceback (most recent call last):
  File /usr/share/lyx/lyx2lyx/lyx2lyx, line 83, in module
main()
  File /usr/share/lyx/lyx2lyx/lyx2lyx, line 77, in main
doc.convert()
  File /usr/share/lyx/lyx2lyx/LyX.py, line 500, in convert
conv(self)
  File /usr/share/lyx/lyx2lyx/lyx_1_4.py, line 449, in add_end_layout
struct_stack.pop()
IndexError: pop from empty list

I have no idea about its meaning, unfortunately. Any suggestion is appreciated


Thanks,

S.






__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237



Re: lyx2lyx failure and older versions of LyX

2009-03-13 Thread José Matos
On Friday 13 March 2009 15:41:48 Stefano Franchi wrote:
 Dear Lyxers,

 I am trying to convert a batch of old documents written with
 Framemaker into LyX. There is a nifty little utility that allows the
 conversion and I have used it successfully in the past (mif2lyx). However,
 it has not been maintained since 2000 and it produces lyx files in the 2.16
 format.

Could you send me (privately) a small lyx file that fails?

Previous lyx versions were quite lenient in the accepted lyx files, they 
accepted files that could never be formed by lyx. lyx2lyx tries to be very 
liberal in the files that it works with but it is very difficult to cover all 
cases.

I try hard to support ancient scripts used to convert to lyx files, and so we 
have adjusted successfully in the past lyx2lyx to work with the first  
incantation of csv2lyx (among others).

mif2lyx seems to fit under the same umbrella so the same procedure will apply 
to it as well. :-)

-- 
José Abílio


lyx2lyx failure and older versions of LyX

2009-03-13 Thread Stefano Franchi
Dear Lyxers,

I am trying to convert a batch of old documents written with Framemaker 
into 
LyX. There is a nifty little utility that allows the conversion and I have 
used it successfully in the past (mif2lyx). However, it has not been 
maintained since 2000 and it produces lyx files in the 2.16 format.

When I tried to open the files in my current version of Lyx (1.6.1) lyx2lyx 
failed to convert the file to the new format.
I don't know if the failed conversion is due to the old format or to an error 
by the mif2lyx conversion script. I tried to download an older version of Lyx 
to rule out some hypotheses, but I get 550 errors on the lyx website.

I next tried running lyx2lyx from the terminal, and it gave the following 
output:

Warning: An error ocurred in 225, function add_end_layout at 0x1cfa1b8
Traceback (most recent call last):
  File /usr/share/lyx/lyx2lyx/lyx2lyx, line 83, in module
main()
  File /usr/share/lyx/lyx2lyx/lyx2lyx, line 77, in main
doc.convert()
  File /usr/share/lyx/lyx2lyx/LyX.py, line 500, in convert
conv(self)
  File /usr/share/lyx/lyx2lyx/lyx_1_4.py, line 449, in add_end_layout
struct_stack.pop()
IndexError: pop from empty list

I have no idea about its meaning, unfortunately. Any suggestion is appreciated


Thanks,

S.






__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237



Re: lyx2lyx failure and older versions of LyX

2009-03-13 Thread José Matos
On Friday 13 March 2009 15:41:48 Stefano Franchi wrote:
 Dear Lyxers,

 I am trying to convert a batch of old documents written with
 Framemaker into LyX. There is a nifty little utility that allows the
 conversion and I have used it successfully in the past (mif2lyx). However,
 it has not been maintained since 2000 and it produces lyx files in the 2.16
 format.

Could you send me (privately) a small lyx file that fails?

Previous lyx versions were quite lenient in the accepted lyx files, they 
accepted files that could never be formed by lyx. lyx2lyx tries to be very 
liberal in the files that it works with but it is very difficult to cover all 
cases.

I try hard to support ancient scripts used to convert to lyx files, and so we 
have adjusted successfully in the past lyx2lyx to work with the first  
incantation of csv2lyx (among others).

mif2lyx seems to fit under the same umbrella so the same procedure will apply 
to it as well. :-)

-- 
José Abílio


lyx2lyx failure and older versions of LyX

2009-03-13 Thread Stefano Franchi
Dear Lyxers,

I am trying to convert a batch of old documents written with Framemaker 
into 
LyX. There is a nifty little utility that allows the conversion and I have 
used it successfully in the past (mif2lyx). However, it has not been 
maintained since 2000 and it produces lyx files in the 2.16 format.

When I tried to open the files in my current version of Lyx (1.6.1) lyx2lyx 
failed to convert the file to the new format.
I don't know if the failed conversion is due to the old format or to an error 
by the mif2lyx conversion script. I tried to download an older version of Lyx 
to rule out some hypotheses, but I get 550 errors on the lyx website.

I next tried running lyx2lyx from the terminal, and it gave the following 
output:

Warning: An error ocurred in 225, 
Traceback (most recent call last):
  File "/usr/share/lyx/lyx2lyx/lyx2lyx", line 83, in 
main()
  File "/usr/share/lyx/lyx2lyx/lyx2lyx", line 77, in main
doc.convert()
  File "/usr/share/lyx/lyx2lyx/LyX.py", line 500, in convert
conv(self)
  File "/usr/share/lyx/lyx2lyx/lyx_1_4.py", line 449, in add_end_layout
struct_stack.pop()
IndexError: pop from empty list

I have no idea about its meaning, unfortunately. Any suggestion is appreciated


Thanks,

S.






__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas A University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237



Re: lyx2lyx failure and older versions of LyX

2009-03-13 Thread José Matos
On Friday 13 March 2009 15:41:48 Stefano Franchi wrote:
> Dear Lyxers,
>
> I am trying to convert a batch of old documents written with
> Framemaker into LyX. There is a nifty little utility that allows the
> conversion and I have used it successfully in the past (mif2lyx). However,
> it has not been maintained since 2000 and it produces lyx files in the 2.16
> format.

Could you send me (privately) a small lyx file that fails?

Previous lyx versions were quite lenient in the accepted lyx files, they 
accepted files that could never be formed by lyx. lyx2lyx tries to be very 
liberal in the files that it works with but it is very difficult to cover all 
cases.

I try hard to support ancient scripts used to convert to lyx files, and so we 
have adjusted successfully in the past lyx2lyx to work with the first  
incantation of csv2lyx (among others).

mif2lyx seems to fit under the same umbrella so the same procedure will apply 
to it as well. :-)

-- 
José Abílio


Re: lyx2lyx failure

2008-02-12 Thread G. Jay Kerns
Dear rh,

Yes, it is working now. (hooray!)  I do not know exactly what the
problem was;  for some reason, the way that Windows stored the .lyx
file on the removable drive did not mix well with Ubuntu.  Once the
file is communicated to the desktop, everything is fine.

My guess is that it is a problem with the two OS'es talking to each other.

Sincerely,
Jay



On Feb 12, 2008 11:14 AM, rgheck [EMAIL PROTECTED] wrote:
 G. Jay Kerns wrote:
  Dear Paul,
 
  Thanks!  As it turns out, when I copied the file from my removable
  SanDisk to follow your advice, then LyX read it perfectly, no lyx2lyx
  failure.
 
  I have other LyX files on the removable disk (created with 1.5.3 on
  Ubuntu) which open with no problems.  I don't quite follow the details
  of what is happening, but if I copy the files from the removable disk
  to the Linux desktop then the problems disappear.
 
 
 Could you have had some sort of line-ending problem? Anyway, it's
 working, right?

 rh





-- 



***
G. Jay Kerns, Ph.D.
Assistant Professor / Statistics Coordinator
Department of Mathematics  Statistics
Youngstown State University
Youngstown, OH 44555-0002 USA
Office: 1035 Cushwa Hall
Phone: (330) 941-3310 Office (voice mail)
-3302 Department
-3170 FAX
E-mail: [EMAIL PROTECTED]
http://www.cc.ysu.edu/~gjkerns/


Re: lyx2lyx failure

2008-02-12 Thread Paul A. Rubin

G. Jay Kerns wrote:



Thanks!  As it turns out, when I copied the file from my removable
SanDisk to follow your advice, then LyX read it perfectly, no lyx2lyx
failure.

I have other LyX files on the removable disk (created with 1.5.3 on
Ubuntu) which open with no problems.  I don't quite follow the details
of what is happening, but if I copy the files from the removable disk
to the Linux desktop then the problems disappear.



Does LyX have write permission on the SanDisk?  The default behavior for 
lyx2lyx is to create the updated copy in the same directory where it 
found the original.


As a matter of general principle, I try never to let a flash disk be 
used for temporary/transient file writes (meaning I always copy stuff to 
the hard drive and work from their), for a couple of reasons.  One is 
that file writes on a flash disk are relatively slow, and I don't want 
to find out the hard way that a program is sensitive to the timing of 
writes.  The other is that you only get x thousand writes before a flash 
drive starts to die.  I've never had one last that long, but my German 
ancestry compels me to be parsimonious about this.  :-)


/Paul



Re: lyx2lyx failure

2008-02-12 Thread rgheck

G. Jay Kerns wrote:

Dear Paul,

Thanks!  As it turns out, when I copied the file from my removable
SanDisk to follow your advice, then LyX read it perfectly, no lyx2lyx
failure.

I have other LyX files on the removable disk (created with 1.5.3 on
Ubuntu) which open with no problems.  I don't quite follow the details
of what is happening, but if I copy the files from the removable disk
to the Linux desktop then the problems disappear.

  
Could you have had some sort of line-ending problem? Anyway, it's 
working, right?


rh



Re: lyx2lyx failure

2008-02-12 Thread G. Jay Kerns
Dear rh,

Yes, it is working now. (hooray!)  I do not know exactly what the
problem was;  for some reason, the way that Windows stored the .lyx
file on the removable drive did not mix well with Ubuntu.  Once the
file is communicated to the desktop, everything is fine.

My guess is that it is a problem with the two OS'es talking to each other.

Sincerely,
Jay



On Feb 12, 2008 11:14 AM, rgheck [EMAIL PROTECTED] wrote:
 G. Jay Kerns wrote:
  Dear Paul,
 
  Thanks!  As it turns out, when I copied the file from my removable
  SanDisk to follow your advice, then LyX read it perfectly, no lyx2lyx
  failure.
 
  I have other LyX files on the removable disk (created with 1.5.3 on
  Ubuntu) which open with no problems.  I don't quite follow the details
  of what is happening, but if I copy the files from the removable disk
  to the Linux desktop then the problems disappear.
 
 
 Could you have had some sort of line-ending problem? Anyway, it's
 working, right?

 rh





-- 



***
G. Jay Kerns, Ph.D.
Assistant Professor / Statistics Coordinator
Department of Mathematics  Statistics
Youngstown State University
Youngstown, OH 44555-0002 USA
Office: 1035 Cushwa Hall
Phone: (330) 941-3310 Office (voice mail)
-3302 Department
-3170 FAX
E-mail: [EMAIL PROTECTED]
http://www.cc.ysu.edu/~gjkerns/


Re: lyx2lyx failure

2008-02-12 Thread Paul A. Rubin

G. Jay Kerns wrote:



Thanks!  As it turns out, when I copied the file from my removable
SanDisk to follow your advice, then LyX read it perfectly, no lyx2lyx
failure.

I have other LyX files on the removable disk (created with 1.5.3 on
Ubuntu) which open with no problems.  I don't quite follow the details
of what is happening, but if I copy the files from the removable disk
to the Linux desktop then the problems disappear.



Does LyX have write permission on the SanDisk?  The default behavior for 
lyx2lyx is to create the updated copy in the same directory where it 
found the original.


As a matter of general principle, I try never to let a flash disk be 
used for temporary/transient file writes (meaning I always copy stuff to 
the hard drive and work from their), for a couple of reasons.  One is 
that file writes on a flash disk are relatively slow, and I don't want 
to find out the hard way that a program is sensitive to the timing of 
writes.  The other is that you only get x thousand writes before a flash 
drive starts to die.  I've never had one last that long, but my German 
ancestry compels me to be parsimonious about this.  :-)


/Paul



Re: lyx2lyx failure

2008-02-12 Thread rgheck

G. Jay Kerns wrote:

Dear Paul,

Thanks!  As it turns out, when I copied the file from my removable
SanDisk to follow your advice, then LyX read it perfectly, no lyx2lyx
failure.

I have other LyX files on the removable disk (created with 1.5.3 on
Ubuntu) which open with no problems.  I don't quite follow the details
of what is happening, but if I copy the files from the removable disk
to the Linux desktop then the problems disappear.

  
Could you have had some sort of line-ending problem? Anyway, it's 
working, right?


rh



Re: lyx2lyx failure

2008-02-12 Thread G. Jay Kerns
Dear rh,

Yes, it is working now. (hooray!)  I do not know exactly what the
problem was;  for some reason, the way that Windows stored the .lyx
file on the removable drive did not mix well with Ubuntu.  Once the
file is communicated to the desktop, everything is fine.

My guess is that it is a problem with the two OS'es talking to each other.

Sincerely,
Jay



On Feb 12, 2008 11:14 AM, rgheck <[EMAIL PROTECTED]> wrote:
> G. Jay Kerns wrote:
> > Dear Paul,
> >
> > Thanks!  As it turns out, when I copied the file from my removable
> > SanDisk to follow your advice, then LyX read it perfectly, no lyx2lyx
> > failure.
> >
> > I have other LyX files on the removable disk (created with 1.5.3 on
> > Ubuntu) which open with no problems.  I don't quite follow the details
> > of what is happening, but if I copy the files from the removable disk
> > to the Linux desktop then the problems disappear.
> >
> >
> Could you have had some sort of line-ending problem? Anyway, it's
> working, right?
>
> rh
>
>



-- 



***
G. Jay Kerns, Ph.D.
Assistant Professor / Statistics Coordinator
Department of Mathematics & Statistics
Youngstown State University
Youngstown, OH 44555-0002 USA
Office: 1035 Cushwa Hall
Phone: (330) 941-3310 Office (voice mail)
-3302 Department
-3170 FAX
E-mail: [EMAIL PROTECTED]
http://www.cc.ysu.edu/~gjkerns/


Re: lyx2lyx failure

2008-02-12 Thread Paul A. Rubin

G. Jay Kerns wrote:



Thanks!  As it turns out, when I copied the file from my removable
SanDisk to follow your advice, then LyX read it perfectly, no lyx2lyx
failure.

I have other LyX files on the removable disk (created with 1.5.3 on
Ubuntu) which open with no problems.  I don't quite follow the details
of what is happening, but if I copy the files from the removable disk
to the Linux desktop then the problems disappear.



Does LyX have write permission on the SanDisk?  The default behavior for 
lyx2lyx is to create the updated copy in the same directory where it 
found the original.


As a matter of general principle, I try never to let a flash disk be 
used for temporary/transient file writes (meaning I always copy stuff to 
the hard drive and work from their), for a couple of reasons.  One is 
that file writes on a flash disk are relatively slow, and I don't want 
to find out the hard way that a program is sensitive to the timing of 
writes.  The other is that you only get x thousand writes before a flash 
drive starts to die.  I've never had one last that long, but my German 
ancestry compels me to be parsimonious about this.  :-)


/Paul



Re: lyx2lyx failure

2008-02-12 Thread rgheck

G. Jay Kerns wrote:

Dear Paul,

Thanks!  As it turns out, when I copied the file from my removable
SanDisk to follow your advice, then LyX read it perfectly, no lyx2lyx
failure.

I have other LyX files on the removable disk (created with 1.5.3 on
Ubuntu) which open with no problems.  I don't quite follow the details
of what is happening, but if I copy the files from the removable disk
to the Linux desktop then the problems disappear.

  
Could you have had some sort of line-ending problem? Anyway, it's 
working, right?


rh



Re: lyx2lyx failure

2008-02-11 Thread G. Jay Kerns
Dear Paul,

Thanks!  As it turns out, when I copied the file from my removable
SanDisk to follow your advice, then LyX read it perfectly, no lyx2lyx
failure.

I have other LyX files on the removable disk (created with 1.5.3 on
Ubuntu) which open with no problems.  I don't quite follow the details
of what is happening, but if I copy the files from the removable disk
to the Linux desktop then the problems disappear.

In any case, I have now regained over 2 years worth of work.  Thanks again!

Best,
Jay



Guessing blind here, but maybe an encoding problem?  You might try
running iconv against one of them, converting to utf8 (with a new file
name so as not to overwrite the original), then see if LyX can open the
converted copy.

Otherwise, maybe you could post a small example that doesn't open in 1.5.3.

/Paul


On Feb 11, 2008 8:35 PM, G. Jay Kerns [EMAIL PROTECTED] wrote:
 Dear LyX users,

 I am in the process of graduating from Windows to Linux.  I installed
 LyX 1.5.3 on an Ubuntu Gutsy using the Synaptic Package Manager.

 Now it seems that I cannot open any of my old LyX files (= 1.5.2).
 It says that (Myfile) came from an earlier version of LyX, but
 lyx2lyx failed to convert the file.   I found an earlier post from
 December that suggested changing

 \language default

 to

 \language english

 but this doesn't work for me because my file already has \language
 english.  I checked the top of my file and it says

 #LyX 1.4.3-5 created this file. For more info see http://www.lyx.org/

 \lyxformat 245

 Can anyone please help me?  Any advice would be greatly appreciated.

 Sincerely,
 Jay






 ***
 G. Jay Kerns, Ph.D.
 Assistant Professor / Statistics Coordinator
 Department of Mathematics  Statistics
 Youngstown State University
 Youngstown, OH 44555-0002 USA
 Office: 1035 Cushwa Hall
 Phone: (330) 941-3310 Office (voice mail)
 -3302 Department
 -3170 FAX
 E-mail: [EMAIL PROTECTED]
 http://www.cc.ysu.edu/~gjkerns/




-- 



***
G. Jay Kerns, Ph.D.
Assistant Professor / Statistics Coordinator
Department of Mathematics  Statistics
Youngstown State University
Youngstown, OH 44555-0002 USA
Office: 1035 Cushwa Hall
Phone: (330) 941-3310 Office (voice mail)
-3302 Department
-3170 FAX
E-mail: [EMAIL PROTECTED]
http://www.cc.ysu.edu/~gjkerns/


lyx2lyx failure

2008-02-11 Thread G. Jay Kerns
Dear LyX users,

I am in the process of graduating from Windows to Linux.  I installed
LyX 1.5.3 on an Ubuntu Gutsy using the Synaptic Package Manager.

Now it seems that I cannot open any of my old LyX files (= 1.5.2).
It says that (Myfile) came from an earlier version of LyX, but
lyx2lyx failed to convert the file.   I found an earlier post from
December that suggested changing

\language default

to

\language english

but this doesn't work for me because my file already has \language
english.  I checked the top of my file and it says

#LyX 1.4.3-5 created this file. For more info see http://www.lyx.org/

\lyxformat 245

Can anyone please help me?  Any advice would be greatly appreciated.

Sincerely,
Jay






***
G. Jay Kerns, Ph.D.
Assistant Professor / Statistics Coordinator
Department of Mathematics  Statistics
Youngstown State University
Youngstown, OH 44555-0002 USA
Office: 1035 Cushwa Hall
Phone: (330) 941-3310 Office (voice mail)
-3302 Department
-3170 FAX
E-mail: [EMAIL PROTECTED]
http://www.cc.ysu.edu/~gjkerns/


Re: lyx2lyx failure

2008-02-11 Thread Paul A. Rubin

G. Jay Kerns wrote:

Dear LyX users,

I am in the process of graduating from Windows to Linux.  I installed
LyX 1.5.3 on an Ubuntu Gutsy using the Synaptic Package Manager.

Now it seems that I cannot open any of my old LyX files (= 1.5.2).
It says that (Myfile) came from an earlier version of LyX, but
lyx2lyx failed to convert the file.   I found an earlier post from
December that suggested changing

\language default

to

\language english

but this doesn't work for me because my file already has \language
english.  I checked the top of my file and it says

#LyX 1.4.3-5 created this file. For more info see http://www.lyx.org/

\lyxformat 245

Can anyone please help me?  Any advice would be greatly appreciated.

Sincerely,
Jay



Guessing blind here, but maybe an encoding problem?  You might try 
running iconv against one of them, converting to utf8 (with a new file 
name so as not to overwrite the original), then see if LyX can open the 
converted copy.


Otherwise, maybe you could post a small example that doesn't open in 1.5.3.

/Paul



Re: lyx2lyx failure

2008-02-11 Thread G. Jay Kerns
Dear Paul,

Thanks!  As it turns out, when I copied the file from my removable
SanDisk to follow your advice, then LyX read it perfectly, no lyx2lyx
failure.

I have other LyX files on the removable disk (created with 1.5.3 on
Ubuntu) which open with no problems.  I don't quite follow the details
of what is happening, but if I copy the files from the removable disk
to the Linux desktop then the problems disappear.

In any case, I have now regained over 2 years worth of work.  Thanks again!

Best,
Jay



Guessing blind here, but maybe an encoding problem?  You might try
running iconv against one of them, converting to utf8 (with a new file
name so as not to overwrite the original), then see if LyX can open the
converted copy.

Otherwise, maybe you could post a small example that doesn't open in 1.5.3.

/Paul


On Feb 11, 2008 8:35 PM, G. Jay Kerns [EMAIL PROTECTED] wrote:
 Dear LyX users,

 I am in the process of graduating from Windows to Linux.  I installed
 LyX 1.5.3 on an Ubuntu Gutsy using the Synaptic Package Manager.

 Now it seems that I cannot open any of my old LyX files (= 1.5.2).
 It says that (Myfile) came from an earlier version of LyX, but
 lyx2lyx failed to convert the file.   I found an earlier post from
 December that suggested changing

 \language default

 to

 \language english

 but this doesn't work for me because my file already has \language
 english.  I checked the top of my file and it says

 #LyX 1.4.3-5 created this file. For more info see http://www.lyx.org/

 \lyxformat 245

 Can anyone please help me?  Any advice would be greatly appreciated.

 Sincerely,
 Jay






 ***
 G. Jay Kerns, Ph.D.
 Assistant Professor / Statistics Coordinator
 Department of Mathematics  Statistics
 Youngstown State University
 Youngstown, OH 44555-0002 USA
 Office: 1035 Cushwa Hall
 Phone: (330) 941-3310 Office (voice mail)
 -3302 Department
 -3170 FAX
 E-mail: [EMAIL PROTECTED]
 http://www.cc.ysu.edu/~gjkerns/




-- 



***
G. Jay Kerns, Ph.D.
Assistant Professor / Statistics Coordinator
Department of Mathematics  Statistics
Youngstown State University
Youngstown, OH 44555-0002 USA
Office: 1035 Cushwa Hall
Phone: (330) 941-3310 Office (voice mail)
-3302 Department
-3170 FAX
E-mail: [EMAIL PROTECTED]
http://www.cc.ysu.edu/~gjkerns/


lyx2lyx failure

2008-02-11 Thread G. Jay Kerns
Dear LyX users,

I am in the process of graduating from Windows to Linux.  I installed
LyX 1.5.3 on an Ubuntu Gutsy using the Synaptic Package Manager.

Now it seems that I cannot open any of my old LyX files (= 1.5.2).
It says that (Myfile) came from an earlier version of LyX, but
lyx2lyx failed to convert the file.   I found an earlier post from
December that suggested changing

\language default

to

\language english

but this doesn't work for me because my file already has \language
english.  I checked the top of my file and it says

#LyX 1.4.3-5 created this file. For more info see http://www.lyx.org/

\lyxformat 245

Can anyone please help me?  Any advice would be greatly appreciated.

Sincerely,
Jay






***
G. Jay Kerns, Ph.D.
Assistant Professor / Statistics Coordinator
Department of Mathematics  Statistics
Youngstown State University
Youngstown, OH 44555-0002 USA
Office: 1035 Cushwa Hall
Phone: (330) 941-3310 Office (voice mail)
-3302 Department
-3170 FAX
E-mail: [EMAIL PROTECTED]
http://www.cc.ysu.edu/~gjkerns/


Re: lyx2lyx failure

2008-02-11 Thread Paul A. Rubin

G. Jay Kerns wrote:

Dear LyX users,

I am in the process of graduating from Windows to Linux.  I installed
LyX 1.5.3 on an Ubuntu Gutsy using the Synaptic Package Manager.

Now it seems that I cannot open any of my old LyX files (= 1.5.2).
It says that (Myfile) came from an earlier version of LyX, but
lyx2lyx failed to convert the file.   I found an earlier post from
December that suggested changing

\language default

to

\language english

but this doesn't work for me because my file already has \language
english.  I checked the top of my file and it says

#LyX 1.4.3-5 created this file. For more info see http://www.lyx.org/

\lyxformat 245

Can anyone please help me?  Any advice would be greatly appreciated.

Sincerely,
Jay



Guessing blind here, but maybe an encoding problem?  You might try 
running iconv against one of them, converting to utf8 (with a new file 
name so as not to overwrite the original), then see if LyX can open the 
converted copy.


Otherwise, maybe you could post a small example that doesn't open in 1.5.3.

/Paul



Re: lyx2lyx failure

2008-02-11 Thread G. Jay Kerns
Dear Paul,

Thanks!  As it turns out, when I copied the file from my removable
SanDisk to follow your advice, then LyX read it perfectly, no lyx2lyx
failure.

I have other LyX files on the removable disk (created with 1.5.3 on
Ubuntu) which open with no problems.  I don't quite follow the details
of what is happening, but if I copy the files from the removable disk
to the Linux desktop then the problems disappear.

In any case, I have now regained over 2 years worth of work.  Thanks again!

Best,
Jay



Guessing blind here, but maybe an encoding problem?  You might try
running iconv against one of them, converting to utf8 (with a new file
name so as not to overwrite the original), then see if LyX can open the
converted copy.

Otherwise, maybe you could post a small example that doesn't open in 1.5.3.

/Paul


On Feb 11, 2008 8:35 PM, G. Jay Kerns <[EMAIL PROTECTED]> wrote:
> Dear LyX users,
>
> I am in the process of graduating from Windows to Linux.  I installed
> LyX 1.5.3 on an Ubuntu Gutsy using the Synaptic Package Manager.
>
> Now it seems that I cannot open any of my old LyX files (<= 1.5.2).
> It says that "(Myfile) came from an earlier version of LyX, but
> lyx2lyx failed to convert the file."   I found an earlier post from
> December that suggested changing
>
> \language default
>
> to
>
> \language english
>
> but this doesn't work for me because my file already has \language
> english.  I checked the top of my file and it says
>
> #LyX 1.4.3-5 created this file. For more info see http://www.lyx.org/
>
> \lyxformat 245
>
> Can anyone please help me?  Any advice would be greatly appreciated.
>
> Sincerely,
> Jay
>
>
>
>
>
>
> ***
> G. Jay Kerns, Ph.D.
> Assistant Professor / Statistics Coordinator
> Department of Mathematics & Statistics
> Youngstown State University
> Youngstown, OH 44555-0002 USA
> Office: 1035 Cushwa Hall
> Phone: (330) 941-3310 Office (voice mail)
> -3302 Department
> -3170 FAX
> E-mail: [EMAIL PROTECTED]
> http://www.cc.ysu.edu/~gjkerns/
>



-- 



***
G. Jay Kerns, Ph.D.
Assistant Professor / Statistics Coordinator
Department of Mathematics & Statistics
Youngstown State University
Youngstown, OH 44555-0002 USA
Office: 1035 Cushwa Hall
Phone: (330) 941-3310 Office (voice mail)
-3302 Department
-3170 FAX
E-mail: [EMAIL PROTECTED]
http://www.cc.ysu.edu/~gjkerns/


lyx2lyx failure

2008-02-11 Thread G. Jay Kerns
Dear LyX users,

I am in the process of graduating from Windows to Linux.  I installed
LyX 1.5.3 on an Ubuntu Gutsy using the Synaptic Package Manager.

Now it seems that I cannot open any of my old LyX files (<= 1.5.2).
It says that "(Myfile) came from an earlier version of LyX, but
lyx2lyx failed to convert the file."   I found an earlier post from
December that suggested changing

\language default

to

\language english

but this doesn't work for me because my file already has \language
english.  I checked the top of my file and it says

#LyX 1.4.3-5 created this file. For more info see http://www.lyx.org/

\lyxformat 245

Can anyone please help me?  Any advice would be greatly appreciated.

Sincerely,
Jay






***
G. Jay Kerns, Ph.D.
Assistant Professor / Statistics Coordinator
Department of Mathematics & Statistics
Youngstown State University
Youngstown, OH 44555-0002 USA
Office: 1035 Cushwa Hall
Phone: (330) 941-3310 Office (voice mail)
-3302 Department
-3170 FAX
E-mail: [EMAIL PROTECTED]
http://www.cc.ysu.edu/~gjkerns/


Re: lyx2lyx failure

2008-02-11 Thread Paul A. Rubin

G. Jay Kerns wrote:

Dear LyX users,

I am in the process of graduating from Windows to Linux.  I installed
LyX 1.5.3 on an Ubuntu Gutsy using the Synaptic Package Manager.

Now it seems that I cannot open any of my old LyX files (<= 1.5.2).
It says that "(Myfile) came from an earlier version of LyX, but
lyx2lyx failed to convert the file."   I found an earlier post from
December that suggested changing

\language default

to

\language english

but this doesn't work for me because my file already has \language
english.  I checked the top of my file and it says

#LyX 1.4.3-5 created this file. For more info see http://www.lyx.org/

\lyxformat 245

Can anyone please help me?  Any advice would be greatly appreciated.

Sincerely,
Jay



Guessing blind here, but maybe an encoding problem?  You might try 
running iconv against one of them, converting to utf8 (with a new file 
name so as not to overwrite the original), then see if LyX can open the 
converted copy.


Otherwise, maybe you could post a small example that doesn't open in 1.5.3.

/Paul



Re: lyx2lyx failure

2007-12-08 Thread José Matos
On Friday 07 December 2007 19:47:25 Christopher Menzel wrote:
 Howdy,

 I am unable to import some older LyX files (from 2000 -- LyX format
 version 215) and I'm not finding any solutions on the web or the LyX
 archives or Wiki.  Inside LyX, I get the following msg:

(MyFile) is from a different version of LyX, but the lyx2lyx script
 failed to convert it.

 When I try to run lyx2lyx from the command line I get the following
 debug info:

 Traceback (most recent call last):
File ./lyx2lyx, line 101, in module
  sys.exit(main(sys.argv))
File ./lyx2lyx, line 92, in main
  file = LyX.File(end_format, input, output, error, debug,
 try_hard, cjk_encoding)
File /Applications/LyX.app/Contents/Resources/lyx2lyx/LyX.py,
 line 556, in __init__
  self.read()
File /Applications/LyX.app/Contents/Resources/lyx2lyx/LyX.py,
 line 242, in read
  self.encoding = get_encoding(self.language, self.inputencoding,
 self.format, self.cjk_encoding)
File /Applications/LyX.app/Contents/Resources/lyx2lyx/LyX.py,
 line 128, in get_encoding
  return lang[language][3]
 KeyError: 'default'

 Looking through the LyX file, I do not see any unusual characters;
 appears to be standard ASCII all the way.  Help/advice appreciated.

  A fix to this problem was committed to the next version (1.5.3).

Meanwhile a simple fix is to change the file by hand.

Where it says (in the first lines of the file)

\language default

change it to

\language english

As I said this problem is already fixed in svn. This is just a shortcut in the 
meanwhile.

 Chris Menzel

-- 
José Abílio


Re: lyx2lyx failure

2007-12-08 Thread Christopher Menzel

On Dec 8, 2007, at 4:06 AM, José Matos wrote:

On Friday 07 December 2007 19:47:25 Christopher Menzel wrote:

Howdy,

I am unable to import some older LyX files (from 2000 -- LyX format
version 215)


 A fix to this problem was committed to the next version (1.5.3).


Excellent.


Meanwhile a simple fix is to change the file by hand.

Where it says (in the first lines of the file)

\language default

change it to

\language english


Yes, great, works perfectly; thanks very much.

Chris Menzel



Re: lyx2lyx failure

2007-12-08 Thread José Matos
On Friday 07 December 2007 19:47:25 Christopher Menzel wrote:
 Howdy,

 I am unable to import some older LyX files (from 2000 -- LyX format
 version 215) and I'm not finding any solutions on the web or the LyX
 archives or Wiki.  Inside LyX, I get the following msg:

(MyFile) is from a different version of LyX, but the lyx2lyx script
 failed to convert it.

 When I try to run lyx2lyx from the command line I get the following
 debug info:

 Traceback (most recent call last):
File ./lyx2lyx, line 101, in module
  sys.exit(main(sys.argv))
File ./lyx2lyx, line 92, in main
  file = LyX.File(end_format, input, output, error, debug,
 try_hard, cjk_encoding)
File /Applications/LyX.app/Contents/Resources/lyx2lyx/LyX.py,
 line 556, in __init__
  self.read()
File /Applications/LyX.app/Contents/Resources/lyx2lyx/LyX.py,
 line 242, in read
  self.encoding = get_encoding(self.language, self.inputencoding,
 self.format, self.cjk_encoding)
File /Applications/LyX.app/Contents/Resources/lyx2lyx/LyX.py,
 line 128, in get_encoding
  return lang[language][3]
 KeyError: 'default'

 Looking through the LyX file, I do not see any unusual characters;
 appears to be standard ASCII all the way.  Help/advice appreciated.

  A fix to this problem was committed to the next version (1.5.3).

Meanwhile a simple fix is to change the file by hand.

Where it says (in the first lines of the file)

\language default

change it to

\language english

As I said this problem is already fixed in svn. This is just a shortcut in the 
meanwhile.

 Chris Menzel

-- 
José Abílio


Re: lyx2lyx failure

2007-12-08 Thread Christopher Menzel

On Dec 8, 2007, at 4:06 AM, José Matos wrote:

On Friday 07 December 2007 19:47:25 Christopher Menzel wrote:

Howdy,

I am unable to import some older LyX files (from 2000 -- LyX format
version 215)


 A fix to this problem was committed to the next version (1.5.3).


Excellent.


Meanwhile a simple fix is to change the file by hand.

Where it says (in the first lines of the file)

\language default

change it to

\language english


Yes, great, works perfectly; thanks very much.

Chris Menzel



Re: lyx2lyx failure

2007-12-08 Thread José Matos
On Friday 07 December 2007 19:47:25 Christopher Menzel wrote:
> Howdy,
>
> I am unable to import some older LyX files (from 2000 -- LyX format
> version 215) and I'm not finding any solutions on the web or the LyX
> archives or Wiki.  Inside LyX, I get the following msg:
>
>(MyFile) is from a different version of LyX, but the lyx2lyx script
> failed to convert it.
>
> When I try to run lyx2lyx from the command line I get the following
> debug info:
>
> Traceback (most recent call last):
>File "./lyx2lyx", line 101, in 
>  sys.exit(main(sys.argv))
>File "./lyx2lyx", line 92, in main
>  file = LyX.File(end_format, input, output, error, debug,
> try_hard, cjk_encoding)
>File "/Applications/LyX.app/Contents/Resources/lyx2lyx/LyX.py",
> line 556, in __init__
>  self.read()
>File "/Applications/LyX.app/Contents/Resources/lyx2lyx/LyX.py",
> line 242, in read
>  self.encoding = get_encoding(self.language, self.inputencoding,
> self.format, self.cjk_encoding)
>File "/Applications/LyX.app/Contents/Resources/lyx2lyx/LyX.py",
> line 128, in get_encoding
>  return lang[language][3]
> KeyError: 'default'
>
> Looking through the LyX file, I do not see any unusual characters;
> appears to be standard ASCII all the way.  Help/advice appreciated.

  A fix to this problem was committed to the next version (1.5.3).

Meanwhile a simple fix is to change the file by hand.

Where it says (in the first lines of the file)

\language default

change it to

\language english

As I said this problem is already fixed in svn. This is just a shortcut in the 
meanwhile.

> Chris Menzel

-- 
José Abílio


Re: lyx2lyx failure

2007-12-08 Thread Christopher Menzel

On Dec 8, 2007, at 4:06 AM, José Matos wrote:

On Friday 07 December 2007 19:47:25 Christopher Menzel wrote:

Howdy,

I am unable to import some older LyX files (from 2000 -- LyX format
version 215)


 A fix to this problem was committed to the next version (1.5.3).


Excellent.


Meanwhile a simple fix is to change the file by hand.

Where it says (in the first lines of the file)

\language default

change it to

\language english


Yes, great, works perfectly; thanks very much.

Chris Menzel



lyx2lyx failure

2007-12-07 Thread Christopher Menzel

Howdy,

I am unable to import some older LyX files (from 2000 -- LyX format  
version 215) and I'm not finding any solutions on the web or the LyX  
archives or Wiki.  Inside LyX, I get the following msg:


  (MyFile) is from a different version of LyX, but the lyx2lyx script  
failed to convert it.


When I try to run lyx2lyx from the command line I get the following  
debug info:


Traceback (most recent call last):
  File ./lyx2lyx, line 101, in module
sys.exit(main(sys.argv))
  File ./lyx2lyx, line 92, in main
file = LyX.File(end_format, input, output, error, debug,  
try_hard, cjk_encoding)
  File /Applications/LyX.app/Contents/Resources/lyx2lyx/LyX.py,  
line 556, in __init__

self.read()
  File /Applications/LyX.app/Contents/Resources/lyx2lyx/LyX.py,  
line 242, in read
self.encoding = get_encoding(self.language, self.inputencoding,  
self.format, self.cjk_encoding)
  File /Applications/LyX.app/Contents/Resources/lyx2lyx/LyX.py,  
line 128, in get_encoding

return lang[language][3]
KeyError: 'default'

Looking through the LyX file, I do not see any unusual characters;  
appears to be standard ASCII all the way.  Help/advice appreciated.


Chris Menzel



lyx2lyx failure

2007-12-07 Thread Christopher Menzel

Howdy,

I am unable to import some older LyX files (from 2000 -- LyX format  
version 215) and I'm not finding any solutions on the web or the LyX  
archives or Wiki.  Inside LyX, I get the following msg:


  (MyFile) is from a different version of LyX, but the lyx2lyx script  
failed to convert it.


When I try to run lyx2lyx from the command line I get the following  
debug info:


Traceback (most recent call last):
  File ./lyx2lyx, line 101, in module
sys.exit(main(sys.argv))
  File ./lyx2lyx, line 92, in main
file = LyX.File(end_format, input, output, error, debug,  
try_hard, cjk_encoding)
  File /Applications/LyX.app/Contents/Resources/lyx2lyx/LyX.py,  
line 556, in __init__

self.read()
  File /Applications/LyX.app/Contents/Resources/lyx2lyx/LyX.py,  
line 242, in read
self.encoding = get_encoding(self.language, self.inputencoding,  
self.format, self.cjk_encoding)
  File /Applications/LyX.app/Contents/Resources/lyx2lyx/LyX.py,  
line 128, in get_encoding

return lang[language][3]
KeyError: 'default'

Looking through the LyX file, I do not see any unusual characters;  
appears to be standard ASCII all the way.  Help/advice appreciated.


Chris Menzel



lyx2lyx failure

2007-12-07 Thread Christopher Menzel

Howdy,

I am unable to import some older LyX files (from 2000 -- LyX format  
version 215) and I'm not finding any solutions on the web or the LyX  
archives or Wiki.  Inside LyX, I get the following msg:


  (MyFile) is from a different version of LyX, but the lyx2lyx script  
failed to convert it.


When I try to run lyx2lyx from the command line I get the following  
debug info:


Traceback (most recent call last):
  File "./lyx2lyx", line 101, in 
sys.exit(main(sys.argv))
  File "./lyx2lyx", line 92, in main
file = LyX.File(end_format, input, output, error, debug,  
try_hard, cjk_encoding)
  File "/Applications/LyX.app/Contents/Resources/lyx2lyx/LyX.py",  
line 556, in __init__

self.read()
  File "/Applications/LyX.app/Contents/Resources/lyx2lyx/LyX.py",  
line 242, in read
self.encoding = get_encoding(self.language, self.inputencoding,  
self.format, self.cjk_encoding)
  File "/Applications/LyX.app/Contents/Resources/lyx2lyx/LyX.py",  
line 128, in get_encoding

return lang[language][3]
KeyError: 'default'

Looking through the LyX file, I do not see any unusual characters;  
appears to be standard ASCII all the way.  Help/advice appreciated.


Chris Menzel