Bug 39757 - Не запускается с python 3.9
Summary: Не запускается с python 3.9
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: catfish (show other bugs)
Version: unstable
Hardware: all Linux
: P5 normal
Assignee: Fr. Br. George
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on: 29433
Blocks: 33000
  Show dependency tree
 
Reported: 2021-03-03 20:30 MSK by Антон Мидюков
Modified: 2021-06-09 13:22 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Антон Мидюков 2021-03-03 20:30:05 MSK
catfish не запускается с python 3.9

Traceback (most recent call last):
  File "/usr/bin/catfish", line 42, in <module>
    catfish.main()
  File "/usr/lib/python3/site-packages/catfish/__init__.py", line 81, in main
    window = CatfishWindow.CatfishWindow()
  File "/usr/lib/python3/site-packages/catfish_lib/Window.py", line 167, in __new__
    builder = get_builder(__builder__['ui_file'])
  File "/usr/lib/python3/site-packages/catfish_lib/helpers.py", line 109, in get_builder
    builder.add_from_file(ui_filename)
  File "/usr/lib/python3/site-packages/catfish_lib/Builder.py", line 112, in add_from_file
    ele_signals = tree.getiterator("signal")
AttributeError: 'ElementTree' object has no attribute 'getiterator'

Чинится заменой getiterator на iter. Но лучше обновить пакет (см. ALT bug 29433)
Comment 1 Антон Мидюков 2021-06-09 03:30:23 MSK
Нужен approve:
#274090 EPERM #2 sisyphus catfish.git=4.16.0-alt1
Comment 2 Repository Robot 2021-06-09 13:22:27 MSK
catfish-4.16.0-alt1 -> sisyphus:

 Wed Jun 09 2021 Anton Midyukov <antohami@altlinux> 4.16.0-alt1
 - Updated to upstream version 4.16.0 (Closes: #29433 #39757)