[sugar] Runtime problems on Ubuntu edgy (6.10)

Mike Hunter mhunter
Tue Dec 5 16:16:38 EST 2006


Hi,

I've managed to build sugar but I'm stuck with runtime failures.  I've
been following these instructions:

http://wiki.laptop.org/go/Sugar_on_Ubuntu_Linux

For google's information, in order to get past some "no such file or
directory" problems during the build, I lowered myself to doing this:

% ln -s xulrunner-1.8.1.1pre xulrunner-1.8.1.1

I get a few warnings when I start up:

./sugar-jhbuild run
Running the installed sugar...
error opening security policy file /usr/lib/xserver/SecurityPolicy
Extended Input Devices not yet supported. Impelement it at line 625 in ../../../../hw/kdrive/src/kinput.c
    xkb_keycodes             { include "xfree86+aliases(qwerty)" };
    xkb_types                { include "complete" };
    xkb_compatibility        { include "complete" };
    xkb_symbols              { include "pc(pc101)+us" };
    xkb_geometry             { include "pc(pc101)" };
Could not init font path element /usr/share/fonts/X11/TTF/, removing from list!
Could not init font path element /usr/share/fonts/X11/OTF, removing from list!
Could not init font path element /usr/share/fonts/X11/CID/, removing from list!
matchbox-wm: X error warning (0): RenderBadPicture (invalid Picture parameter) (opcode: 150)
Tracebacks will be written to /tmp/sugar-shell-7407 on SIGUSR1
Introspect error: The name org.laptop.DCONManager was not provided by any .service files

Despite these warnings, the sugar gui comes up.  However, if I try to fire
up abiword, I get the following:

Introspect error: Process /home/mhunter/sugar-jhbuild/build/bin/sugar-activity-factory exited with status 1
Traceback (most recent call last):
  File "/home/mhunter/sugar-jhbuild/build/share/sugar/shell/view/frame/ActivitiesBox.py", line 71, in _activity_clicked_cb
    self._shell.start_activity(icon.get_bundle_id())
  File "/home/mhunter/sugar-jhbuild/build/share/sugar/shell/view/Shell.py", line 200, in start_activity
    activity = ActivityFactory.create(activity_type)
  File "/home/mhunter/sugar-jhbuild/build/lib/python2.4/site-packages/sugar/activity/ActivityFactory.py", line 87, in create
    xid = factory.create()
  File "/var/lib/python-support/python2.4/dbus/proxies.py", line 25, in __call__
    ret = self._proxy_method (*args, **keywords)
  File "/var/lib/python-support/python2.4/dbus/proxies.py", line 102, in __call__
    reply_message = self._connection.send_with_reply_and_block(message, timeout)
  File "dbus_bindings.pyx", line 455, in dbus_bindings.Connection.send_with_reply_and_block
DBusException: Process /home/mhunter/sugar-jhbuild/build/bin/sugar-activity-factory exited with status 1

I also get into trouble trying to run the drum thing:

Introspect error: Process /home/mhunter/sugar-jhbuild/build/bin/sugar-activity-factory exited with status 1
Traceback (most recent call last):
  File "/home/mhunter/sugar-jhbuild/build/share/sugar/shell/view/frame/ActivitiesBox.py", line 71, in _activity_clicked_cb
    self._shell.start_activity(icon.get_bundle_id())
  File "/home/mhunter/sugar-jhbuild/build/share/sugar/shell/view/Shell.py", line 200, in start_activity
    activity = ActivityFactory.create(activity_type)
  File "/home/mhunter/sugar-jhbuild/build/lib/python2.4/site-packages/sugar/activity/ActivityFactory.py", line 87, in create
    xid = factory.create()
  File "/var/lib/python-support/python2.4/dbus/proxies.py", line 25, in __call__
    ret = self._proxy_method (*args, **keywords)
  File "/var/lib/python-support/python2.4/dbus/proxies.py", line 102, in __call__
    reply_message = self._connection.send_with_reply_and_block(message, timeout)
  File "dbus_bindings.pyx", line 455, in dbus_bindings.Connection.send_with_reply_and_block
DBusException: Process /home/mhunter/sugar-jhbuild/build/bin/sugar-activity-factory exited with status 1

The browser, etoys, the chat client, and the memory game seem to work.

I saw a similar problem posted and I confirmed that avahi is running:

% ps -ef | grep -i av
avahi     4232     1  0 14:10 ?        00:00:00 avahi-daemon: running [adelaide.local]
avahi     4233  4232  0 14:10 ?        00:00:00 avahi-daemon: chroot helper process

Any suggestions?  Thanks!

Mike


More information about the Sugar-devel mailing list