Conversion failure for older format

Rudi Gaelzer rudi.gaelzer at ufrgs.br
Tue Jun 21 12:44:01 UTC 2022


On segunda-feira, 20 de junho de 2022 13:44:47 -03 José Abílio Matos wrote:
> 
> If you still have the 508 format file could you run:
> 
> $ python2 /usr/share/lyx/lyx2lyx/lyx2lyx <file>-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. :-)

Hits a snag right at the beginning:

rudi at stix|Plasma Modes>python2 /usr/share/lyx/lyx2lyx/lyx2lyx Langmuir-
lyxformat-508.lyx > /dev/null
  File "/usr/lib64/python3.10/site.py", line 93
    print(message, file=sys.stderr)
                       ^
SyntaxError: invalid syntax

-- 
Rudi Gaelzer
Physics Institute - UFRGS
BRAZIL
Registered Linux user # 153741





More information about the lyx-users mailing list