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 776573 - gi.repository.Gst is no dict
gi.repository.Gst is no dict
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-python
1.10.x
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-12-29 10:08 UTC by Fnoop
Modified: 2018-11-03 15:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Fnoop 2016-12-29 10:08:04 UTC
Platform: Ubuntu 16.04 arm7l

Gstreamer 1.10.2 compiled from source into custom location (/srv/maverick/software/gstreamer) with usual bunch of plugins (good/bad/ugly/libav).  All plugins work except python:

Total count: 175 plugins (1 blacklist entry not shown), 1261 features
Blacklisted files:
  libgstpythonplugin.so

Configure:
PKG_CONFIG_PATH=/srv/maverick/software/gstreamer/lib/pkgconfig LDFLAGS=-Wl,-rpath,/srv/maverick/software/gstreamer/lib ./autogen.sh --with-libpython-dir=/usr/lib/arm-linux-gnueabihf --prefix=/srv/maverick/software/gstreamer

Typelib set in 
GI_TYPELIB_PATH=/srv/maverick/software/gstreamer/lib/girepository-1.0:/usr/lib/girepository-1.0

Result of gst-inspect-1.0 --gst-disable-registry-update --gst-debug=4 /srv/maverick/software/gstreamer/lib/gstreamer-1.0/libgstpythonplugin.so:

0:00:00.001112829 12755    0x37280 INFO                GST_INIT gstmessage.c:126:_priv_gst_message_initialize: init messages
0:00:00.003132362 12755    0x37280 INFO                GST_INIT gstcontext.c:83:_priv_gst_context_initialize: init contexts
0:00:00.004453232 12755    0x37280 INFO      GST_PLUGIN_LOADING gstplugin.c:316:_priv_gst_plugin_initialize: registering 0 static plugins
0:00:00.004800606 12755    0x37280 INFO      GST_PLUGIN_LOADING gstplugin.c:224:gst_plugin_register_static: registered static plugin "static
elements"
0:00:00.004834814 12755    0x37280 INFO      GST_PLUGIN_LOADING gstplugin.c:226:gst_plugin_register_static: added static plugin "staticeleme
nts", result: 1
0:00:00.004906564 12755    0x37280 INFO            GST_REGISTRY gstregistry.c:1738:ensure_current_registry: reading registry cache: /srv/maverick/
.cache/gstreamer-1.0/registry.armv7l.bin
0:00:00.005417853 12755    0x37280 INFO            GST_REGISTRY gstregistrybinary.c:537:priv_gst_registry_binary_read_cache: Unable to mmap file /
srv/maverick/.cache/gstreamer-1.0/registry.armv7l.bin : Failed to open file '/srv/maverick/.cache/gstreamer-1.0/registry.armv7l.bin': open() failed: No such file or direct
ory
0:00:00.005471145 12755    0x37280 INFO            GST_REGISTRY gstregistrybinary.c:547:priv_gst_registry_binary_read_cache: Unable to read file /
srv/maverick/.cache/gstreamer-1.0/registry.armv7l.bin : Failed to open file '/srv/maverick/.cache/gstreamer-1.0/registry.armv7l.bin': No such file or directory
0:00:00.005501561 12755    0x37280 INFO            GST_REGISTRY gstregistry.c:1594:scan_and_update_registry: Validating plugins from registry cach
e: /srv/maverick/.cache/gstreamer-1.0/registry.armv7l.bin

** (gst-plugin-scanner:12756): CRITICAL **: gi.repository.Gst is no dict
0:00:01.728468407 12755    0x37280 INFO            GST_REGISTRY gstregistry.c:1705:scan_and_update_registry: Registry cache changed. Writing new r
egistry cache
0:00:01.728540032 12755    0x37280 INFO            GST_REGISTRY gstregistrybinary.c:368:priv_gst_registry_binary_write_cache: Building binary regi
stry cache image
0:00:01.920471827 12755    0x37280 INFO            GST_REGISTRY gstregistrybinary.c:400:priv_gst_registry_binary_write_cache: Writing binary regis
try cache
0:00:02.137670728 12755    0x37280 INFO            GST_REGISTRY gstregistrybinary.c:261:gst_registry_binary_cache_finish: Wrote binary registry ca
che
0:00:02.137935226 12755    0x37280 INFO            GST_REGISTRY gstregistry.c:1714:scan_and_update_registry: Registry cache written successfully
0:00:02.137977060 12755    0x37280 INFO            GST_REGISTRY gstregistry.c:1773:ensure_current_registry: registry reading and updating done, re
sult = 1
0:00:02.138021643 12755    0x37280 INFO                GST_INIT gst.c:720:init_post: GLib runtime version: 2.48.1
0:00:02.138071184 12755    0x37280 INFO                GST_INIT gst.c:722:init_post: GLib headers version: 2.48.1
0:00:02.138114517 12755    0x37280 INFO                GST_INIT gst.c:723:init_post: initialized GStreamer successfully

** (gst-inspect-1.0:12755): CRITICAL **: gi.repository.Gst is no dict
0:00:02.337317658 12755    0x37280 WARN      GST_PLUGIN_LOADING gstplugin.c:526:gst_plugin_register_func: plugin "/srv/maverick/software/
gstreamer/lib/gstreamer-1.0/libgstpythonplugin.so" failed to initialise
Could not load plugin file: File "/srv/maverick/software/gstreamer/lib/gstreamer-1.0/libgstpythonplugin.so" appears to be a GStreamer plugin, but it failed to initialize
Comment 1 GStreamer system administrator 2018-11-03 15:36:58 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-python/issues/7.