[sugar] Re: Problem building sugar-jhbuild
Marco Pesenti Gritti
mpg
Sat Jan 13 04:43:18 EST 2007
On Sat, 2007-01-13 at 04:34 -0300, gonzalo delgado wrote:
> 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]
Bah, I knew that was going to hit me. Are you building from a console?
Try to build from an X11 terminal for now... If that's the issue please
post a ticket, I need to fix it.
Marco
More information about the Sugar-devel
mailing list