Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#68788 - [catfish] catfish 1.4.13-3 does not launch due to breaking Python 3.9 change

Attached to Project: Community Packages
Opened by gamezelda (gamezelda) - Sunday, 29 November 2020, 12:33 GMT
Last edited by Evangelos Foutras (foutrelis) - Monday, 30 November 2020, 18:29 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When attempting to launch catfish after fully updating the system to the latest testing repositories, the application does not start, and an error is shown instead. Researching the error shows it's related to the removal of xml.etree.ElementTree.getiterator() from Python 3.9.

Additional info:
* package version(s): 1.4.13-3
* config and/or log files etc.: See below
* link to upstream bug report, if any: The bug has been fixed upstream, in the master branch (see: https://gitlab.xfce.org/apps/catfish/-/commit/04dd64cff ). However, no release contains this fix yet. It may be worth to backport it for the time being.

Steps to reproduce:

Try to launch catfish from the command line:

$ catfish
Traceback (most recent call last):
File "/usr/bin/catfish", line 44, in <module>
catfish.main()
File "/usr/lib/python3.9/site-packages/catfish/__init__.py", line 78, in main
window = CatfishWindow.CatfishWindow()
File "/usr/lib/python3.9/site-packages/catfish_lib/Window.py", line 171, in __new__
builder = get_builder(__builder__['ui_file'])
File "/usr/lib/python3.9/site-packages/catfish_lib/helpers.py", line 109, in get_builder
builder.add_from_file(ui_filename)
File "/usr/lib/python3.9/site-packages/catfish_lib/Builder.py", line 87, in add_from_file
ele_widgets = tree.getiterator("object")
AttributeError: 'ElementTree' object has no attribute 'getiterator'
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Monday, 30 November 2020, 18:29 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in catfish 1.4.13-4; thanks for the report.

Loading...