[sugar] Activity sharing broken
Marco Pesenti Gritti
mpg
Sun Jun 3 16:16:36 EDT 2007
J.M. Maurer wrote:
> Whenever I try to share an activity, I get an error about get_id() not
> being defined on an Activity (and if you add it just for the heck of it,
> it complains about get_service_name missing). For example:
>
> DEBUG - root: ActivityService.set_active: 1.
> DEBUG - root: Requesting share of activity
> 70ffd154d3b749edde51c3800ce9f581bd7d4032.
> STDERR - Traceback (most recent call last):
> File
> "/Development/sugar-jhbuild/build/lib/python2.4/site-packages/sugar/activity/activity.py", line 79, in _share_clicked_cb
> self._activity.share()
> File
> "/Development/sugar-jhbuild/build/lib/python2.4/site-packages/sugar/activity/activity.py", line 313, in share
> self._pservice.share_activity(self)
> File
> "/Development/sugar-jhbuild/build/lib/python2.4/site-packages/sugar/presence/presenceservice.py", line 377, in share_activity
> actid = activity.get_id()
> AttributeError: 'AbiWordActivity' object has no attribute 'get_id'
>
Should be fixed (just update sugar). Sorry, I didn't realize this was
used by Activity subclasses.
Marco
More information about the Sugar-devel
mailing list