After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 571536 - import gst gives error msg
import gst gives error msg
Status: RESOLVED DUPLICATE of bug 576145
Product: GStreamer
Classification: Platform
Component: gst-python
git master
Other All
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-02-12 20:36 UTC by Tristan Matthews
Modified: 2009-03-24 10:29 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Tristan Matthews 2009-02-12 20:36:48 UTC
Please describe the problem:
importing gst causes an error in python

Steps to reproduce:
1.run python (or ipython)
2.Do the following commands:
>>> import pygst
>>> pygst.require('0.10')
>>> import gst


Actual results:
gives the following error:
---------------------------------------------------------------------------
<type 'exceptions.AttributeError'>        Traceback (most recent call last)


<type 'exceptions.AttributeError'>: 'module' object has no attribute 'Element'

Expected results:
no error

Does this happen every time?
yes

Other information:
Comment 1 Edward Hervey 2009-02-22 19:54:28 UTC
tmatth do you still get that issue ?
Comment 2 Tristan Matthews 2009-02-23 18:20:36 UTC
yeah, same issue with the latest gst-python (from git) when i run the above code, or any of the examples. The culprit line is "import gst"
Comment 3 Edward Hervey 2009-03-24 10:29:49 UTC

*** This bug has been marked as a duplicate of 576145 ***