[sugar] Re: Problem building sugar-jhbuild

gonzalo delgado gonzalo
Sat Jan 13 02:35:00 EST 2007


I now get this error while attempting to build xbook:

*** Building xbook *** [31/39]
python setup.py build
/usr/lib64/python2.4/site-packages/gtk-2.0/gtk/__init__.py:69:
GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
/home/gonzalo/codigo/OLPC/sugar-jhbuild/build/lib64/python2.4/site-packages/sugar/graphics/style.py:22:
GtkWarning: gdk_screen_get_width: assertion `GDK_IS_SCREEN (screen)'
failed
  _screen_factor = gtk.gdk.screen_width() / 1200.0
/home/gonzalo/codigo/OLPC/sugar-jhbuild/build/lib64/python2.4/site-packages/sugar/graphics/grid.py:25:
GtkWarning: gdk_screen_get_width: assertion `GDK_IS_SCREEN (screen)'
failed
  self._factor = gtk.gdk.screen_width() / COLS
Traceback (most recent call last):
  File "setup.py", line 19, in ?
    from sugar.activity import bundlebuilder
  File "/home/gonzalo/codigo/OLPC/sugar-jhbuild/build/lib64/python2.4/site-packages/sugar/activity/__init__.py",
line 9, in ?
    settings.set_string_property('gtk-icon-sizes', sizes, '')
AttributeError: 'NoneType' object has no attribute 'set_string_property'
*** error during stage build of xbook: Error running ['python',
'setup.py', 'build'] *** [31/39]


-- 
Gonzalo Delgado.


More information about the Sugar-devel mailing list