[sugar] sugar run fails

Dan Williams dcbw
Mon Feb 26 07:47:21 EST 2007


On Mon, 2007-02-26 at 15:30 +0530, Joshua N Pritikin wrote:
> The build is going all the way through, however "./sugar-jhbuild run"
> fails with:
> 
> ERROR:root:Error reading public key: [Errno 2] No such file or 
> directory: '/home/joshua/.sugar/default/owner.key.pub'
> ERROR:root:Error reading private key: [Errno 2] No such file or 
> directory: '/home/joshua/.sugar/default/owner.key'
> ERROR:root:Hardware manager service not found.
> Traceback (most recent call last):
>   File "/home/joshua/sugar-jhbuild/build/bin/sugar-shell", line 41, in 
> <module>
>     from view.Shell import Shell
>   File 
> "/home/joshua/sugar-jhbuild/build/share/sugar/shell/view/Shell.py", line 
> 22, in <module>
>     from view.home.HomeWindow import HomeWindow
>   File 
> "/home/joshua/sugar-jhbuild/build/share/sugar/shell/view/home/HomeWindow.py", 
> line 23, in <module>
>     from view.home.MeshBox import MeshBox
>   File 
> "/home/joshua/sugar-jhbuild/build/share/sugar/shell/view/home/MeshBox.py", 
> line 25, in <module>
>     from hardware import hardwaremanager
>   File 
> "/home/joshua/sugar-jhbuild/build/share/sugar/shell/hardware/hardwaremanager.py", 
> line 74, in <module>
>     _network_manager = NMClient()
>   File 
> "/home/joshua/sugar-jhbuild/build/share/sugar/shell/hardware/nmclient.py", 
> line 319, in __init__
>     self.nminfo = nminfo.NMInfo(self)
>   File 
> "/home/joshua/sugar-jhbuild/build/share/sugar/shell/hardware/nminfo.py", 
> line 323, in __init__
>     self._dbus_helper = NMInfoDBusServiceHelper(self)

NetworkManager appears not to be installed; what's the contents of
your /etc/dbus-1/system.d directory?  I guess we should work around this
and not traceback, but how much effort do we put into dynamically
disabling functionality in sugar when NM is going to be on the laptop
anyway?

Dan

>   File 
> "/home/joshua/sugar-jhbuild/build/share/sugar/shell/hardware/nminfo.py", 
> line 285, in __init__
>     bus_name = dbus.service.BusName(NM_INFO_IFACE, bus=bus)
>   File "/var/lib/python-support/python2.5/dbus/service.py", line 107, in 
> __new__    retval = bus.request_name(name, name_flags)
> DBusException: org.freedesktop.DBus.Error.AccessDenied: Connection 
> ":1.188" is not allowed to own the service 
> "org.freedesktop.NetworkManagerInfo" due to security policies in the 
> configuration file
> _______________________________________________
> Sugar mailing list
> Sugar at laptop.org
> http://mailman.laptop.org/mailman/listinfo/sugar



More information about the Sugar-devel mailing list