Bug 2273006
| Summary: | Failure of Gst.Fraction breaks pitivi | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Gwyn Ciesla <gwync> |
| Component: | python-gstreamer1 | Assignee: | Simon Farnsworth <simon> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 40 | CC: | gwync, joe.silver, simon, wtaymans |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| 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: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-04-26 01:38:07 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
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 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 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 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. 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. 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. 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. 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. 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. 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. What version is your python3-gstreamer1, and have you rebooted since upgrading the packages? 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. P.S.: the flatpak version works, but I'd rather use the rpm packages when available. |
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