[gstreamer-bugs] [Bug 576145] New: pygst programs skip python plugins on registry update
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Fri Mar 20 18:47:07 PDT 2009
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=576145
GStreamer | gst-python | Ver: git
Summary: pygst programs skip python plugins on registry update
Product: GStreamer
Version: git
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-python
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: mail at renestadler.de
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
I noticed that pygst programs print this every now and then on import gst:
AttributeError: 'module' object has no attribute 'Element'
Turns out that when a pygst program triggers a registry update, python plugins
are skipped. The problem is that when "import gst" triggers the registry
update, the python plugin loader also imports the gst module -- which at that
point is only partially initialized. It's a tricky circular dependency because
any python plugin needs the gst module fully setup in order to declare a
gst.Element subclass on import time.
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=576145.
More information about the Gstreamer-bugs
mailing list