[Bug 730596] New: gst-python overrides broke due to a recent change in pygobject
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu May 22 13:50:48 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=730596
GStreamer | gst-python | unspecified
Summary: gst-python overrides broke due to a recent change in
pygobject
Classification: Platform
Product: GStreamer
Version: unspecified
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-python
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: elad at fedoraproject.org
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Allow me to demonstrate this with code:
In [1]: from gi.repository import Gst
In [2]: Gst.init()
Out[2]: []
In [3]: Gst.Caps
Out[3]: gi.overrides.Gst.Caps
In [4]: Gst.Caps()
Out[4]: <GstCaps at 0x2b0ab70>
In [5]: Gst.Caps("hi")
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-5-d1c75c0c988e> in <module>()
----> 1 Gst.Caps("hi")
TypeError: function takes at most 0 arguments (1 given)
In [6]: Gst.Caps.__new__(None, "hi")
Out[6]: <GstCaps at 0x2b0ade0>
This is the offending commit
https://git.gnome.org/browse/pygobject/commit/?id=3a2bfc8bf01fcae386355bc3652780e198e54d49
>From IRC (#pitivi):
<lazka> you have to add __init__(self, *args, **kwargs): super(..).__init__()
<lazka> I didn't think of other overrides (neither did simon it seems).. sorry
:/
This issue prevents pitivi from being used in Fedora Rawhide.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list