[sugar] Various problems with "sugar-jhbuild run"

Gervase Markham gerv at gerv.net
Wed Mar 14 13:54:47 EDT 2007


Guido van Rossum wrote:
> Thanks! That seems to have brought me one step closer. But there were
> some hobbles: I had to git pull in the toplevel directory to get the
> changes to sugar-jhbuild that specified the new tarball, and this
> brought in a bug in sugar-jhbuild ('none' instead of 'None' on line 94
> of jhbuild/jhbuild/utils/packagedb.py). That was easy enough to fix,
> but where do I report this?

I feel very excited to be racing Guido...

./sugar-jhbuild run now gives me a screen where it asks for my name and 
a logo (through which I can cycle). When I enter these, and click ">", I 
get:

Traceback (most recent call last):
   File "/usr/src/sugar-jhbuild/build/bin/sugar-shell", line 66, in <module>
     model = ShellModel()
   File 
"/usr/src/sugar-jhbuild/build/share/sugar/shell/model/ShellModel.py", 
line 50, in __init__
     self._owner = ShellOwner()
   File "/usr/src/sugar-jhbuild/build/share/sugar/shell/model/Owner.py", 
line 58, in __init__
     raise RuntimeError("missing buddy icon")
RuntimeError: missing buddy icon

Presumably because init has now succeeded, running it a second time 
takes me straight to the crash. Changing the error to display the path 
it's looking for gives:

RuntimeError: missing buddy icon: /home/gerv/.sugar/default/buddy-icon.jpg

Putting a random small JPG in that location brings up the interface. 
Things seem to work OK. :-))

Gerv


More information about the Sugar mailing list