Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gst-python gst-python
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 40
    • Issues 40
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamer
  • gst-pythongst-python
  • Issues
  • #7

Closed
Open
Created Dec 29, 2016 by Bugzilla Migration User@bugzilla-migration

gi.repository.Gst is no dict

Submitted by Fnoop

Link to original bug (#776573)

Description

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

Version: 1.10.x

Assignee
Assign to
Time tracking