Re: gzip eps

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I wrote:
> Barry wrote:
>>> On 15 Jan 2024, at 15:24, Patrick Dupre via users <users@xxxxxxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux