FS#73006 - [Patch] Pitivi is unable to start after python 3.10 upgrade today

Attached to Project: Community Packages
Opened by Fabian Bornschein (fabis_cafe) - Monday, 13 December 2021, 22:15 GMT
Last edited by Evangelos Foutras (foutrelis) - Monday, 13 December 2021, 23:51 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Currently if you try to launch pitivi, it'll fail with

❯ pitivi
Traceback (most recent call last):
File "/usr/lib/pitivi/python/pitivi/application.py", line 135, in do_startup
loggable.init('PITIVI_DEBUG', enable_color, enable_crack_output)
File "/usr/lib/pitivi/python/pitivi/utils/loggable.py", line 651, in init
add_limited_log_handler(print_handler)
File "/usr/lib/pitivi/python/pitivi/utils/loggable.py", line 738, in add_limited_log_handler
if not isinstance(func, collections.Callable):
AttributeError: module 'collections' has no attribute 'Callable'
Traceback (most recent call last):
File "/usr/lib/pitivi/python/pitivi/application.py", line 203, in do_activate
self.create_main_window()
File "/usr/lib/pitivi/python/pitivi/application.py", line 209, in create_main_window
self.gui = MainWindow(self)
File "/usr/lib/pitivi/python/pitivi/mainwindow.py", line 108, in __init__
self.app.settings.connect("useDarkThemeChanged",
AttributeError: 'NoneType' object has no attribute 'connect'


Additional info:
* package version(s)
pitivi 2021.05-2
python 3.10.1-1
* link to upstream bug report, if any
https://gitlab.gnome.org/GNOME/pitivi/-/merge_requests/403

Patch is attached

This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Monday, 13 December 2021, 23:51 GMT
Reason for closing:  Fixed
Additional comments about closing:  pitivi 2021.05-3

Loading...