gi.RepositoryError: Requiring namespace 'Gst' version '0.10', but '1.0' is already loaded

Kip Warner kip at thevertigo.com
Tue Apr 2 00:17:13 PDT 2013


Hey list,

I'm having problems running one of the gst-examples here:

<http://bazaar.launchpad.net/~jderose/+junk/gst-examples/view/head:/video-player-1.0>

$ ./video-player-1.0 
        Traceback (most recent call last):
          File "./video-player-1.0", line 10, in <module>
            from gi.repository import GdkX11, GstVideo
          File "/usr/lib/python3/dist-packages/gi/importer.py", line 76,
        in load_module
            dynamic_module._load()
          File "/usr/lib/python3/dist-packages/gi/module.py", line 222,
        in _load
            version)
          File "/usr/lib/python3/dist-packages/gi/module.py", line 90,
        in __init__
            repository.require(namespace, version)
        gi.RepositoryError: Requiring namespace 'Gst' version '0.10',
        but '1.0' is already loaded

$ ls /usr/share/gir-1.0/
        Atk-1.0.gir
        GdkPixbuf-2.0.gir
        GstBase-1.0.gir
        PangoCairo-1.0.gir
        cairo-1.0.gir
        GdkX11-2.0.gir
        GstCheck-1.0.gir
        PangoFT2-1.0.gir
        DBus-1.0.gir
        GdkX11-3.0.gir
        GstController-1.0.gir
        PangoXft-1.0.gir
        DBusGLib-1.0.gir
        Gio-2.0.gir
        GstNet-1.0.gir
        Unity-5.0.gir
        fontconfig-2.0.gir
        GIRepository-2.0.gir
        Gtk-2.0.gir
        Vte-2.90.gir
        freetype2-2.0.gir
        GL-1.0.gir
        Gtk-3.0.gir
        xfixes-4.0.gir
        GConf-2.0.gir
        GLib-2.0.gir
        GtkSource-3.0.gir
        xft-2.0.gir
        GDesktopEnums-3.0.gir
        GModule-2.0.gir
        GTop-2.0.gir
        xlib-2.0.gir
        Gdk-2.0.gir
        GObject-2.0.gir
        libxml2-2.0.gir
        xrandr-1.3.gir
        Gdk-3.0.gir
        Gst-1.0.gir
        Pango-1.0.gir

$ uname -a
        Linux 3.5.0-27-generic #45~precise1-Ubuntu SMP Wed Mar 20
        22:07:15 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

My guess is GstVideo might need Gst at version 0.10, but the application
probably needs Gst 1.0. Any help appreciated.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130402/1e5dbceb/attachment.pgp>


More information about the gstreamer-devel mailing list