Sugar problems

kawk at theprogrammingsite.com kawk at theprogrammingsite.com
Sun Feb 24 16:26:29 EST 2008


I'm having a problem running Sugar on an amd64 linux computer. I downloaded and built Sugar using sugar-jhbuild, and using a hardlinked python in ~/bin. It built with no sugar-jhbuild warnings or errors (plenty of compiler warnings, nothing serious). I had a problem where it would say "AttributeError: 'DeviceView' object has no attribute 'get_icon'", but I fixed that fairly quickly by commenting out the lines that had the problem. A hackish fix, to be sure, but so far it seems to have worked.

Now, I have a different problem. It says "IOError: [Errno 2] No such file or directory: '/home/user/.sugar/default/datastore'". When I go "mkdir -p ~/.sugar/default/datastore", I get a different error: (full error dump)


Traceback (most recent call last):
  File "/home/user/sugar/sugar-jhbuild/build/share/sugar/shell/view/Shell.py", line 93, in _start_journal_idle
    DBUS_PYTHON_TIMEOUT_UNITS_PER_SECOND)
  File "/home/user/sugar/sugar-jhbuild/build/lib/python2.5/site-packages/sugar/datastore/datastore.py", line 311, in mount
    return dbus_helpers.mount(uri, options, timeout=timeout)
  File "/home/user/sugar/sugar-jhbuild/build/lib/python2.5/site-packages/sugar/datastore/dbus_helpers.py", line 86, in mount
    return _get_data_store().mount(uri, options, timeout=timeout)
  File "/home/user/sugar/sugar-jhbuild/build/lib/python2.5/site-packages/sugar/datastore/dbus_helpers.py", line 39, in _get_data_store
    DS_DBUS_PATH),
  File "/home/user/sugar/sugar-jhbuild/build/lib/python2.5/site-packages/dbus/bus.py", line 244, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/home/user/sugar/sugar-jhbuild/build/lib/python2.5/site-packages/dbus/proxies.py", line 237, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/home/user/sugar/sugar-jhbuild/build/lib/python2.5/site-packages/dbus/bus.py", line 183, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/home/user/sugar/sugar-jhbuild/build/lib/python2.5/site-packages/dbus/bus.py", line 281, in start_service_by_name
    'su', (bus_name, flags)))
  File "/home/user/sugar/sugar-jhbuild/build/lib/python2.5/site-packages/dbus/connection.py", line 607, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ChildExited: Process /home/user/sugar/sugar-jhbuild/build/bin/datastore-service exited with status 1

I rebuilt the datastore module, to no avail. I get the same problem. It seems to be that datastore is not running or something, or is timing out on dbus.

Any suggestions? I'm running a 2.6.23-amd64 kernel on a Centrino Dual-core with Debian Lenny (testing), updated yesterday.

Thanks.

KAWK



More information about the Devel mailing list