[sugar] sugar run fails

Marco Pesenti Gritti mpg
Mon Feb 26 08:44:30 EST 2007


On Mon, 2007-02-26 at 07:50 -0500, Dan Williams wrote:
> 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?

I think it's reasonable to support running without NM installed. I
checked in a fix for this.

Marco



More information about the Sugar-devel mailing list