[gstreamer-bugs] [Bug 576546] New: Problems with Python 2.6

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Mar 24 03:43:35 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=576546

  GStreamer | gst-python | Ver: git
           Summary: Problems with Python 2.6
           Product: GStreamer
           Version: git
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-python
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: thaytan at mad.scientist.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


*** Rebuilding plugin inspection files ***
Traceback (most recent call last):
  File "../../common/gst-xmlinspect.py", line 13, in <module>
    import gst
  File "/home/jan/devel/gstreamer/head/gst-python/gst/__init__.py", line 194,
in <module>
    from _gst import *
  File "/usr/lib/python2.6/ihooks.py", line 406, in import_module
    q, tail = self.find_head_package(parent, str(name))
  File "/usr/lib/python2.6/ihooks.py", line 442, in find_head_package
    q = self.import_it(head, qname, parent)
  File "/usr/lib/python2.6/ihooks.py", line 497, in import_it
    m = self.loader.load_module(fqname, stuff)
  File "/usr/lib/python2.6/ihooks.py", line 270, in load_module
    m = self.hooks.load_dynamic(name, filename, file)
  File "/home/jan/devel/gstreamer/head/gst-python/gstltihooks.py", line 61, in
load_dynamic
    return ihooks.Hooks.load_dynamic(self, name, filename, file)
  File "/usr/lib/python2.6/ihooks.py", line 174, in load_dynamic
    return imp.load_dynamic(name, filename, file)
ImportError: could not import gobject (error was: 'import_module() takes at
most 5 arguments (6 given)')
make[3]: *** [inspect-build.stamp] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

>From IRC:

<mnauw> thaytan, bilboed-pi: seems like http://bugs.python.org/i
ssue4244
<bilboed-pi>    mnauw, erf... undocumented and deprecated
<mnauw> I could workaround by adding a level=-1 parameter to the
 import_module functions in /usr/lib/python2.6/ihooks.py (on my installation at 
<bilboed-pi>    mnauw, I guess we should switch to something else :)


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=576546.




More information about the Gstreamer-bugs mailing list