On Wed, 07 Feb 2018 01:12:57 +0100 Andreas Beckmann <a...@debian.org> wrote:
>   File "/usr/share/lyx/scripts/TeXFiles.py", line 112
>     print(root.replace('\\', '/') + '/' + file, file=out)
>                                                     ^
> SyntaxError: invalid syntax

That error is a bit surprising as it's legal Python 3. I guess the
problem was that the Python sources were converted to be Python 3
compatible, but the lyx binary (implemented in C++) starts an explicit
Python binary in a child process rather than relying on shebang lines?
That was not updated to call Python 3, so Python 2 failed when trying
to process the version 3 compatible source.

Reply via email to