[sugar] ImportError: No module named IconColor
Simon Schampijer
simon
Fri Aug 25 02:35:45 EDT 2006
Marco Pesenti Gritti wrote:
> Simon Schampijer wrote:
>> Solved,
>> sugar is coming up and it looks good:)
>> When trying to launch the chat I get the following with a green screen:
>
> The empty chat is expected... the chat activity is not implemented...
> You can chat in the context of a shared activity though. Just open a
> browser activity and F3 on it (this is going to change a lot with the
> final design).
>
> The traceback is not expected though... and I cannot reproduce... I
> had some changes locally that I just checked in, can you update and
> try it again please?
>
> (sugar-jhbuild buildone sugar will suffice)
>
> Marco
>
Ok. I remember the idea of having the chat activity being available in
all the activities. This is working as expected (F3). But after a
'buildone sugar' I still have the same traceback when starting the chat
activity.
Keep up the great work'
Simon
Traceback (most recent call last):
File
"/home/erikos/sugar-jhbuild/build/share/sugar/shell/home/HomeView.py",
line 24, in __activity_opened_cb
self._add(activity)
File
"/home/erikos/sugar-jhbuild/build/share/sugar/shell/home/HomeView.py",
line 36, in _add
item = self.add_piece(100 / 8, icon_name, IconColor())
File
"/home/erikos/sugar-jhbuild/build/lib/python2.4/site-packages/sugar/canvas/DonutItem.py",
line 98, in add_piece
piece_item.set_icon(icon_name, color)
File
"/home/erikos/sugar-jhbuild/build/lib/python2.4/site-packages/sugar/canvas/DonutItem.py",
line 42, in set_icon
self._icon = PieceIcon(self, icon_name, color)
File
"/home/erikos/sugar-jhbuild/build/lib/python2.4/site-packages/sugar/canvas/DonutItem.py",
line 9, in __init__
IconItem.__init__(self, icon_name, color, 48, **kwargs)
File
"/home/erikos/sugar-jhbuild/build/lib/python2.4/site-packages/sugar/canvas/IconItem.py",
line 58, in __init__
pixbuf = icon_cache.get_icon(icon_name, color, size)
File
"/home/erikos/sugar-jhbuild/build/lib/python2.4/site-packages/sugar/canvas/IconItem.py",
line 49, in get_icon
icon = self._create_icon(name, color, size)
File
"/home/erikos/sugar-jhbuild/build/lib/python2.4/site-packages/sugar/canvas/IconItem.py",
line 19, in _create_icon
info = theme.lookup_icon(name, size, 0)
TypeError: GtkIconTheme.lookup_icon() argument 1 must be string, not None
sugar (4907): Level 40 - Traceback (most recent call last):
File
"/home/erikos/sugar-jhbuild/build/share/sugar/shell/home/HomeView.py",
line 24, in __activity_opened_cb
self._add(activity)
File
"/home/erikos/sugar-jhbuild/build/share/sugar/shell/home/HomeView.py",
line 36, in _add
item = self.add_piece(100 / 8, icon_name, IconColor())
File
"/home/erikos/sugar-jhbuild/build/lib/python2.4/site-packages/sugar/canvas/DonutItem.py",
line 98, in add_piece
piece_item.set_icon(icon_name, color)
File
"/home/erikos/sugar-jhbuild/build/lib/python2.4/site-packages/sugar/canvas/DonutItem.py",
line 42, in set_icon
self._icon = PieceIcon(self, icon_name, color)
File
"/home/erikos/sugar-jhbuild/build/lib/python2.4/site-packages/sugar/canvas/DonutItem.py",
line 9, in __init__
IconItem.__init__(self, icon_name, color, 48, **kwargs)
File
"/home/erikos/sugar-jhbuild/build/lib/python2.4/site-packages/sugar/canvas/IconItem.py",
line 58, in __init__
pixbuf = icon_cache.get_icon(icon_name, color, size)
File
"/home/erikos/sugar-jhbuild/build/lib/python2.4/site-packages/sugar/canvas/IconItem.py",
line 49, in get_icon
icon = self._create_icon(name, color, size)
File
"/home/erikos/sugar-jhbuild/build/lib/python2.4/site-packages/sugar/canvas/IconItem.py",
line 19, in _create_icon
info = theme.lookup_icon(name, size, 0)
TypeError: GtkIconTheme.lookup_icon() argument 1 must be string, not None
sugar-activity-factory (4939): Level 20 - Starting activity factory
com.redhat.Sugar.GroupChatActivity
More information about the Sugar-devel
mailing list