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 748292 - validateelements: Do not use GObject.Object.list_properties
validateelements: Do not use GObject.Object.list_properties
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-devtools
unspecified
Other Linux
: Normal normal
: 1.5.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-04-22 10:45 UTC by Vineeth
Modified: 2015-06-24 14:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Change as per old syntax (5.62 KB, patch)
2015-04-23 11:10 UTC, Vineeth
none Details | Review

Description Vineeth 2015-04-22 10:45:35 UTC
When i try to run validateelements in my system, i get the below error,

Running with development path 
(['/home/vineeth/gst/master/gst-python/gi/overrides', '/usr/lib/python2.7/dist-packages/gi/overrides'], 'gi.overrides') 
Could not load testsuite: /home/vineeth/gst-validate/gst-integration-testsuites/testsuites/validateelements.py, reason: cannot import name registry


I use Ubuntu 14.04, with the latest Gstreamer uninstalled setup.

i remember same issue got reported last year and got fixed, those changes are still present. but could not find the bug ID.
Comment 1 Thibault Saunier 2015-04-22 12:44:35 UTC
Can you paste your

$ env

please?
Comment 2 Vineeth 2015-04-22 21:34:40 UTC
Hi Thibault,
I have pasted the env result in http://ur1.ca/k879i
Comment 3 Vineeth 2015-04-23 11:10:23 UTC
Created attachment 302213 [details] [review]
Change as per old syntax

The actual error mentioned in first comment happens only when launched from gst-python folder, which is a limitation that cant be fixed.

In older versions of python the script doesnt compile.
Hence made changes as per old syntax which will work with both versions.