Comment 2 for bug 829470

Revision history for this message
Bryce Harrington (bryce) wrote : Re: xvfb failed to start - pygtk version 2.24.0-2 failed to build in oneiric

Looks like the test is failing while trying to do RANDR operations within xvfb:

make[3]: Entering directory `/home/bryce/pygtk/pygtk-2.22.0/dbg-build-2.6/tests'
Xlib: extension "RANDR" missing on display ":99".
Traceback (most recent call last):
  File "/home/bryce/pygtk/pygtk-2.22.0/tests/runtests.py", line 41, in <module>
    suite.addTest(loader.loadTestsFromName(name))
  File "/usr/lib/python2.6/unittest.py", line 576, in loadTestsFromName
    module = __import__('.'.join(parts_copy))
  File "/home/bryce/pygtk/pygtk-2.22.0/tests/test_enum.py", line 9, in <module>
    class PObject(gobject.GObject):
  File "/home/bryce/pygtk/pygtk-2.22.0/tests/test_enum.py", line 10, in PObject
    enum = gobject.property(type=gtk.WindowType, default=gtk.WINDOW_TOPLEVEL)
  File "/usr/lib/python2.6/dist-packages/gobject/propertyhelper.py", line 112, in __init__
    self.type = self._type_from_python(type)
  File "/usr/lib/python2.6/dist-packages/gobject/propertyhelper.py", line 201, in _type_from_python
    raise TypeError("Unsupported type: %r" % (type_,))
TypeError: Unsupported type: <class 'gtk._gtk.WindowType'>
[83021 refs]
make[3]: *** [check-local] Error 1