After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 570281 - pygtk fails tests with python 2.6
pygtk fails tests with python 2.6
Status: RESOLVED DUPLICATE of bug 565593
Product: pygtk
Classification: Bindings
Component: general
2.14.x
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2009-02-02 21:37 UTC by Gilles Dartiguelongue
Modified: 2009-02-14 11:45 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Gilles Dartiguelongue 2009-02-02 21:37:55 UTC
Trying to update pygtk to 2.14 for gentoo repositories consumption
I'm not sure this is entirely pygtk problem here, maybe python 2.6 issue only.

# make check
Making check in .
make[1]: Entering directory `/var/tmp/portage/dev-python/pygtk-2.14.0/work/pygtk-2.14.0'
make[1]: Nothing to be done for `check-am'.
make[1]: Leaving directory `/var/tmp/portage/dev-python/pygtk-2.14.0/work/pygtk-2.14.0'
Making check in gtk
make[1]: Entering directory `/var/tmp/portage/dev-python/pygtk-2.14.0/work/pygtk-2.14.0/gtk'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/var/tmp/portage/dev-python/pygtk-2.14.0/work/pygtk-2.14.0/gtk'
Making check in examples
make[1]: Entering directory `/var/tmp/portage/dev-python/pygtk-2.14.0/work/pygtk-2.14.0/examples'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/var/tmp/portage/dev-python/pygtk-2.14.0/work/pygtk-2.14.0/examples'
Making check in tests
make[1]: Entering directory `/var/tmp/portage/dev-python/pygtk-2.14.0/work/pygtk-2.14.0/tests'
make  check-local
make[2]: Entering directory `/var/tmp/portage/dev-python/pygtk-2.14.0/work/pygtk-2.14.0/tests'
Traceback (most recent call last):
  • File "./runtests.py", line 22 in <module>
    srcDir=srcDir)
  • File "/var/tmp/portage/dev-python/pygtk-2.14.0/work/pygtk-2.14.0/tests/common.py", line 19 in importModules
    atk = importModule('atk', buildDir)
  • File "/var/tmp/portage/dev-python/pygtk-2.14.0/work/pygtk-2.14.0/tests/common.py", line 51 in importModule
    obj = __import__(module, {}, {}, fromlist)
  • File "/usr/lib64/python2.6/ihooks.py", line 406 in import_module
    q, tail = self.find_head_package(parent, str(name))
  • File "/usr/lib64/python2.6/ihooks.py", line 442 in find_head_package
    q = self.import_it(head, qname, parent)
  • File "/usr/lib64/python2.6/ihooks.py", line 497 in import_it
    m = self.loader.load_module(fqname, stuff)
  • File "/usr/lib64/python2.6/ihooks.py", line 270 in load_module
    m = self.hooks.load_dynamic(name, filename, file)
  • File "../ltihooks.py", line 50 in load_dynamic
    return ihooks.Hooks.load_dynamic(self, name, filename, file)
  • File "/usr/lib64/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[2]: *** [check-local] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-python/pygtk-2.14.0/work/pygtk-2.14.0/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-python/pygtk-2.14.0/work/pygtk-2.14.0/tests'
make: *** [check-recursive] Error 1
Comment 1 Gian Mario Tagliaretti 2009-02-14 11:45:52 UTC

*** This bug has been marked as a duplicate of 565593 ***