Barry wrote:
> On 15 Jan 2024, at 15:24, Patrick Dupre via users
<users(a)lists.fedoraproject.org> wrote:
>
> Traceback (most recent call last):
> File "/usr/share/lyx/scripts/convertDefault.py", line 68, in
<module>
> if sys.argv[3] == 'ppm' and (im and version >= 0x060305 or gm):
> ^^^^^^^^^^^^^^^^^^^
> TypeError: '>=' not supported between instances of 'str' and
'int'
That is bad python code. Version is a string and cannot be compare against 0x060305.
Suggest you report against the RPM package that /usr/share/lyx/scripts/convertDefault.py
comes from.
Upstream says it's fixed in 2.4.0:
https://www.lyx.org/trac/ticket/12763
Though I think this is tangential to the real issue, which
Roger's reply detailed.
--
Todd