[gstreamer-bugs] [Bug 353808] New: import gst throws an exception when imported after gtk

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Sep 1 03:22:10 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

           Summary: import gst throws an exception when imported after gtk
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-python
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: chris-procter at talk21.com
         QAContact: johan at gnome.org
     GNOME version: Unspecified
   GNOME milestone: Unspecified

Please describe the problem:
if you import gst after you import gtk an exception is thrown

Steps to reproduce:
1. get cvs gst-python 
2. Create testscript.py containing:
import gtk
import gst
print "hello world"

3. run it with python testscript.py
3. cry

Actual results:
Traceback (most recent call last):
  File "/home/chris/jokosher/trunk/Jokosher/JokosherApp.py", line 12, in ?
    import gst
  File "/sources/gstreamer/head/gst-python/gst/__init__.py", line 108, in ?
    from _gst import *
ImportError: No module named _gst

Expected results:
it to work :) (it to import gst correcty regardless of import gtk position)

Does this happen every time?

Other information:

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 mailing list