[gstreamer-bugs] [Bug 353808] import gst throws an exception when imported after gtk
bugzilla-daemon at bugzilla.gnome.org
Fri Sep 8 09:53:34 PDT 2006
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
GStreamer | gst-python | Ver: HEAD CVS
------- Comment #9 from René Stadler 2006-09-08 16:52 UTC -------
Your problem might be related to ltihooks. It does work OK if you "make
install" to some location and use if from there, right?
Your module search path has "/sources/gstreamer/head/gst-python" pretty much at
the beginning. Like Edward, I assume you try to run against the uninstalled
pygst in its build (== src) directory. This is how the tests are supposed to
be run, for example. When the module gst._gst is searched for, the file
_gst.so cannot be found out of the box as it resides in gst-python/gst/.libs.
In gst-python/gst, only the libtool archive _gst.la is to be found.
ltihooks.py (in the toplevel directory) makes it possible to transparently
redirect the import of gst._gst from the .la to the .so in the .libs
subdirectory. This mechanism is somehow broken in you environment. Try to run
"make check" and see if the tests work.
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Gstreamer-bugs