Bug 2273006 - Failure of Gst.Fraction breaks pitivi
Summary: Failure of Gst.Fraction breaks pitivi
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-gstreamer1
Version: 40
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Simon Farnsworth
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-04-03 17:07 UTC by Gwyn Ciesla
Modified: 2024-05-14 22:07 UTC (History)
4 users (show)

Fixed In Version: python-gstreamer1-1.22.11-1.fc39 python-gstreamer1-1.22.11-1.fc40 python-gstreamer1-1.22.11-1.fc38
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-04-26 01:38:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Gwyn Ciesla 2024-04-03 17:07:31 UTC
Running Fedora 40 beta.  If I start Pitivi I get:

ERROR — Could not create a Gst.Fraction — this means gst-python is not installed correctly.

The check code generating this is:

def _check_gst_python():
    from gi.repository import Gst
    try:
        Gst.Fraction(9001, 1)  # It's over NINE THOUSANDS!
    except TypeError:
        return False  # What, nine thousands?! There's no way that can be right
    return True


In python:

python3
Python 3.12.2 (main, Feb 21 2024, 00:00:00) [GCC 14.0.1 20240217 (Red Hat 14.0.1-0)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import gi
>>> gi.require_version('Gst', '1.0')
>>> from gi.repository import Gst
>>> Gst.Fraction(9001, 1)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: function takes at most 0 arguments (2 given)
>>> 


Running with python3-gstreamer1-1.22.9-2.fc40

Comment 1 Fedora Update System 2024-04-19 16:11:21 UTC
FEDORA-2024-cbd62d710d (gst-devtools-1.22.11-1.fc40, gstreamer1-1.22.11-1.fc40, and 9 more) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-cbd62d710d

Comment 2 Fedora Update System 2024-04-19 18:03:50 UTC
FEDORA-2024-064e5af3b7 (gst-devtools-1.22.11-1.fc39, gstreamer1-1.22.11-1.fc39, and 9 more) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-064e5af3b7

Comment 3 Fedora Update System 2024-04-19 21:37:48 UTC
FEDORA-2024-5f1c8c9453 (gst-devtools-1.22.11-1.fc38, gstreamer1-1.22.11-1.fc38, and 9 more) has been submitted as an update to Fedora 38.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-5f1c8c9453

Comment 4 Fedora Update System 2024-04-20 01:40:51 UTC
FEDORA-2024-5f1c8c9453 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-5f1c8c9453`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-5f1c8c9453

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

Comment 5 Fedora Update System 2024-04-20 01:52:59 UTC
FEDORA-2024-064e5af3b7 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-064e5af3b7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-064e5af3b7

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

Comment 6 Fedora Update System 2024-04-26 01:38:07 UTC
FEDORA-2024-064e5af3b7 (gst-devtools-1.22.11-1.fc39, gstreamer1-1.22.11-1.fc39, and 9 more) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2024-04-27 01:08:31 UTC
FEDORA-2024-cbd62d710d has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-cbd62d710d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-cbd62d710d

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

Comment 8 Fedora Update System 2024-04-28 03:16:07 UTC
FEDORA-2024-cbd62d710d (gst-devtools-1.22.11-1.fc40, gstreamer1-1.22.11-1.fc40, and 9 more) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2024-04-28 03:28:52 UTC
FEDORA-2024-5f1c8c9453 (gst-devtools-1.22.11-1.fc38, gstreamer1-1.22.11-1.fc38, and 9 more) has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Giuseppe Argentieri 2024-05-14 14:03:56 UTC
Hello

I'm using Fedora 40 with gstreamer1-1.22.12-1.fc40 and gst-devtools-1.22.12-1.fc40

I have the same error as in the opening post.
Please let me know if you need more information.

Comment 11 Gwyn Ciesla 2024-05-14 20:25:58 UTC
What version is your python3-gstreamer1, and have you rebooted since upgrading the packages?

Comment 12 Giuseppe Argentieri 2024-05-14 22:04:40 UTC
python3-gstreamer1-1.22.12-1.fc40.x86_64

Yes, I have rebooted.

I have tried the same test of the opening post.
Instantiating Gst.Fraction() with no arguments makes the interpreter crash.

Comment 13 Giuseppe Argentieri 2024-05-14 22:07:47 UTC
P.S.: the flatpak version works, but I'd rather use the rpm packages when available.


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