Re: Conversion failure for older format

2022-06-20 Thread José Abílio Matos
On Monday, 20 June 2022 14.28.18 WEST Rudi Gaelzer wrote:
> That worked.  First, I copied the original .lyx to
> -lyxformat-508.lyx, then ran
> $>/usr/share/lyx/lyx2lyx/lyx2lyx -lyxformat-508.lyx -o .lyx
> 
> That successfully converted the original to format 544, which the frontend
> was able to render.
> Is it possible that there's a bug in the automagic process?

If you still have the 508 format file could you run:

$ python2 /usr/share/lyx/lyx2lyx/lyx2lyx -lyxformat-508.lyx > /dev/null

The only difference from your command above is that this is running the 
converter using python2 and not python3 as it happens above.

For what is worth this will ignore the output because we are only interest in 
any error that can occur...

> I'm running the installation from the rpm packages distributed for Fedora
> core 35/36.

I am using the same and I am the package maintainer for those packages. :-)

-- 
José Abílio-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Conversion failure for older format

2022-06-20 Thread Rudi Gaelzer
On sexta-feira, 17 de junho de 2022 08:08:04 -03 José Abílio Matos wrote:
> On Wednesday, 15 June 2022 18.19.22 WEST Rudi Gaelzer wrote:
> > I'm trying to open a LyX file with an older format:
> > \lyxformat 508
> > 
> > But I got the error message: LyX: Conversion script failed
> > It says that the lyx2lyx script failed to convert the document.
> > 
> > What should I do in this case?
> 
> Rudi,
>   this should not ever happen, but bugs do happen.
> 
> Just as Paul said you can run lyx2lyx from the command line to see where the
> problem occurs and tell us here.
> 
> If you want you can send the file by private mail and I will look in to this
> issue directly.
> 
> Best regards,

That worked.  First, I copied the original .lyx to 
-lyxformat-508.lyx, then ran 
$>/usr/share/lyx/lyx2lyx/lyx2lyx -lyxformat-508.lyx -o .lyx

That successfully converted the original to format 544, which the frontend was 
able to render.
Is it possible that there's a bug in the automagic process?
I'm running the installation from the rpm packages distributed for Fedora core 
35/36.
-- 
Rudi Gaelzer
Physics Institute - UFRGS
BRAZIL
Registered Linux user # 153741



-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users