gi.RepositoryError: Requiring namespace 'Gst' version '0.10', but '1.0' is already loaded
Simon Feltman
s.feltman at gmail.com
Tue Apr 2 01:23:20 PDT 2013
Make sure you have the GstVideo-1.0.typelib installed (from the
gir1.2-gst-plugins-base-1.0 package). The example should also require
GstVideo 1.0 which would hopefully give a more reasonable error message for
this situation:
gi.require_version('GstVideo', '1.0')
from gi.repository import GstVideo
-Simon
On Tue, Apr 2, 2013 at 12:17 AM, Kip Warner <kip at thevertigo.com> wrote:
> 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
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130402/5dd683f4/attachment.html>
More information about the gstreamer-devel
mailing list