[sugar] Error: Failed to connect to presence service when starting sugar-jhbuild run

Mostapha El-Shafey mostapha
Sun Aug 19 04:07:47 EDT 2007


Hi.
Whenever I start Sugar, it asks me to chose a name and an icon. When I click
"Done" it gives me the following runtime error:
====
ERROR:root:Could not generate key pair: 32512
ERROR:root:Error reading public key: [Errno 2] No such file or directory:
'/home/mostapha/.sugar/default/owner.key.pub'
ERROR:root:Error reading private key: [Errno 2] No such file or directory:
'/home/mostapha/.sugar/default/owner.key'
ERROR:sugar.presence.presenceservice:Failure retrieving '
org.laptop.Sugar.Presence' interface from the D-BUS service '
org.laptop.Sugar.Presence' '/org/laptop/Sugar/Presence':
org.freedesktop.DBus.Error.Spawn.ChildExited: Process
/hard/sugar/sugar-jhbuild/build/bin/sugar-presence-service exited with
status 1
Traceback (most recent call last):
  File "/hard/sugar/sugar-jhbuild/build/bin/sugar-shell", line 116, in
<module>
    model = ShellModel()
  File
"/hard/sugar/sugar-jhbuild/build/share/sugar/shell/model/shellmodel.py",
line 56, in __init__
    self._pservice = presenceservice.get_instance()
  File
"/hard/sugar/sugar-jhbuild/build/lib/python2.5/site-packages/sugar/presence/presenceservice.py",
line 488, in get_instance
    _ps = PresenceService(allow_offline_iface)
  File
"/hard/sugar/sugar-jhbuild/build/lib/python2.5/site-packages/sugar/presence/presenceservice.py",
line 82, in __init__
    self._get_ps()
  File
"/hard/sugar/sugar-jhbuild/build/lib/python2.5/site-packages/sugar/presence/presenceservice.py",
line 122, in _get_ps
    raise RuntimeError("Failed to connect to the presence service.")
RuntimeError: Failed to connect to the presence service.
====

I tried deleting ~/.sugar/default and rebuilding Sugar but it still gives
the same error.
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.laptop.org/pipermail/sugar/attachments/20070819/9bb036ba/attachment.htm 



More information about the Sugar-devel mailing list