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

Tomeu Vizoso tomeu
Mon Aug 20 10:19:38 EDT 2007


Hi,

looks like the command:

ssh-keygen -q -t dsa -f /home/mostapha/.sugar/default/owner.key -C '' -N ''

is failing.

Can you check why?

Tomeu

On Sun, 2007-08-19 at 08:07 +0000, Mostapha El-Shafey wrote:
> 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.
> _______________________________________________
> Sugar mailing list
> Sugar at lists.laptop.org
> http://lists.laptop.org/listinfo/sugar




More information about the Sugar-devel mailing list