Bug 39757

Summary: Не запускается с python 3.9
Product: Sisyphus Reporter: Антон Мидюков <antohami>
Component: catfishAssignee: Fr. Br. George <george>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: antohami, george
Version: unstable   
Hardware: all   
OS: Linux   
Bug Depends on: 29433    
Bug Blocks: 33000    

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)