[Sugar-devel] Telescope-11 fails to launch
Walter Bender
walter.bender at gmail.com
Mon Oct 24 14:24:09 EDT 2011
On Mon, Oct 24, 2011 at 2:15 PM, Daniel Drake <dsd at laptop.org> wrote:
> Hi,
>
> We have a number of telescopes here at the SF summit, but we have
> found that the Telescope-11 activity fails to launch.
>
> It fails on line 288 of activity.py:
> self._live_toolbar_container.insert(self._gain_button, -1)
Very common error as the main toolbar has an insert method but the
secondary toolbars do not:
if hasattr(toolbar, 'insert'): # the main toolbar
toolbar.insert(button, -1)
else: # or a secondary toolbar
toolbar.props.page.insert(button, -1)
-walter
>
> self._live_toolbar_container is a GtkHBox and does not have an
> "insert" method. This causes a crash on startup.
>
> Please could this be fixed with a new release made?
>
> Thanks,
> Daniel
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
--
Walter Bender
Sugar Labs
http://www.sugarlabs.org
More information about the Sugar-devel
mailing list