[sugar] jhbuild issues

Marco Pesenti Gritti mpgritti at gmail.com
Sat Apr 19 22:14:16 EDT 2008


On Sat, Apr 19, 2008 at 11:13 PM, anthony taranto
<anthony.taranto at gmail.com> wrote:

> 2. sugar-jhbuild run
>
> when i reun sugar-jhbuild run i get this:
>
> Traceback (most recent call last):
>   File "/home/voltron/proj/olpc/sugar-jhbuild/build/bin/sugar-she
> n <module>
>     from main import main
>    File "/home/voltron/proj/olpc/sugar-jhbuild/build/share/sugar/s
> line 35, in <module>
>     import view.Shell
>   File "/home/voltron/proj/olpc/sugar-jhbuild/build/share/sugar/s
> .py", line 38, in <module>
>      from view.frame import frame
>   File "/home/voltron/proj/olpc/sugar-jhbuild/build/share/sugar/s
> /frame.py", line 30, in <module>
>     from view.frame.activitiestray import ActivitiesTray
>   File "/home/voltron/proj/olpc/sugar-jhbuild/build/share/sugar/s
>  /activitiestray.py", line 24, in <module>
>     from sugar.graphics.tray import HTray
>   File "/home/voltron/proj/olpc/sugar-jhbuild/build/lib/python2.5
> sugar/graphics/tray.py", line 22, in <module>
>      from sugar.graphics.palette import Palette, ToolInvoker
>   File "/home/voltron/proj/olpc/sugar-jhbuild/build/lib/python2.5
> sugar/graphics/palette.py", line 29, in <module>
>     from sugar.graphics.icon import Icon
>    File "/home/voltron/proj/olpc/sugar-jhbuild/build/lib/python2.5
> sugar/graphics/icon.py", line 28, in <module>
>     from sugar.graphics.palette import Palette, CanvasInvoker
> ImportError: cannot import name Palette
>

This is a circular dep, I pushed a work around.

Marco


More information about the Sugar mailing list