I wrote:
> Barry wrote:
>>> On 15 Jan 2024, at 15:24, Patrick Dupre via users 
>>> <users@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

The fix looks to be 639b5da1af (Fix the remaing issues with
comparisons with objects of different types., 2019-06-03)¹.
This could be trivially cherry-picked to the 2.3.x branch.

¹ https://www.lyx.org/trac/changeset/639b5da1af/lyxgit

-- 
Todd

Attachment: signature.asc
Description: PGP signature

--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to