Bug 2007132 - Pitivi cannot be started on Fedora 35 because of changes in python 3.10
Summary: Pitivi cannot be started on Fedora 35 because of changes in python 3.10
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pitivi
Version: 35
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-23 08:19 UTC by frank
Modified: 2021-09-29 00:17 UTC (History)
4 users (show)

Fixed In Version: pitivi-2021.05.0-4.fc35
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-09-29 00:17:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description frank 2021-09-23 08:19:42 UTC
Description of problem:
Pitivi crashes when launched with the following error:

Traceback (most recent call last):
  File "/usr/lib64/python3.10/site-packages/pitivi/application.py", line 135, in do_startup
    loggable.init('PITIVI_DEBUG', enable_color, enable_crack_output)
  File "/usr/lib64/python3.10/site-packages/pitivi/utils/loggable.py", line 651, in init
    add_limited_log_handler(print_handler)
  File "/usr/lib64/python3.10/site-packages/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/lib64/python3.10/site-packages/pitivi/application.py", line 203, in do_activate
    self.create_main_window()
  File "/usr/lib64/python3.10/site-packages/pitivi/application.py", line 209, in create_main_window
    self.gui = MainWindow(self)
  File "/usr/lib64/python3.10/site-packages/pitivi/mainwindow.py", line 108, in __init__
    self.app.settings.connect("useDarkThemeChanged",
AttributeError: 'NoneType' object has no attribute 'connect'


Version-Release number of selected component (if applicable):
Latest available in Fedora 35

How reproducible:


Steps to Reproduce:
1. Install pitivi
2.  Run pitivi in a terminal

Actual results:
Crash

Expected results:
Normal working program

Additional info:
A fix is available upstream: https://gitlab.gnome.org/GNOME/pitivi/-/merge_requests/403/diffs

Comment 1 Fedora Update System 2021-09-23 14:36:03 UTC
FEDORA-2021-cbc6361b4e has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-cbc6361b4e

Comment 2 Fedora Update System 2021-09-24 02:51:36 UTC
FEDORA-2021-cbc6361b4e has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-cbc6361b4e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-cbc6361b4e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2021-09-29 00:17:34 UTC
FEDORA-2021-cbc6361b4e has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.