[Bug 709082] New: import errors in uninstalled setup

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Sep 30 04:14:05 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=709082
  GStreamer | gst-python | git

           Summary: import errors in uninstalled setup
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: Normal
         Component: gst-python
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: t.i.m at zen.co.uk
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


I get import errors with gst-python in gst-uninstalled:

tpm at zingle:~/gst/master/code/test-volume$ python test-volume.py 
ES_04-1er_Essai_Musique1.wav 
['/home/tpm/gst/master/gst-python/gi/overrides',
'/usr/lib/python2.7/dist-packages/gi/overrides'] gi.overrides
Traceback (most recent call last):
  File "test-volume.py", line 6, in <module>
    from gi.repository import Gst, GObject
  File "/usr/lib/python2.7/dist-packages/gi/repository/__init__.py", line 25,
in <module>
    from ..importer import DynamicImporter
  File "/usr/lib/python2.7/dist-packages/gi/importer.py", line 28, in <module>
    from .module import DynamicModule, DynamicGObjectModule, DynamicGLibModule
  File "/usr/lib/python2.7/dist-packages/gi/module.py", line 34, in <module>
    from .overrides import registry
ImportError: cannot import name registry


tpm at zingle:~/gst/master/code/test-volume$ echo $PYTHONPATH
/home/tpm/gst/master/insanity:/home/tpm/gst/master/gst-python:/home/tpm/gst/master/prefix/lib/python2.7/site-packages


tpm at zingle:~/gst/master/code/test-volume$ PYTHONPATH= python test-volume.py 
ES_04-1er_Essai_Musique1.wav 
here
here
...

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list