[Sugar-devel] Toolbars and pygobject

Peter Robinson pbrobinson at gmail.com
Fri May 13 08:42:38 EDT 2011


Thanks walter, let me know if there's anything I can help with or
test, I'll be around on and off most of the weekend.

Peter

On Fri, May 13, 2011 at 1:24 AM, Walter Bender <walter.bender at gmail.com> wrote:
> I'll try to dig a bit deeper this weekend.
>
> -walter
>
> On Thu, May 12, 2011 at 11:22 PM, Peter Robinson <pbrobinson at gmail.com> wrote:
>> Hi Walter,
>>
>> I've been looking at the toolbars issues a little closer this evening.
>> I may have some hints for you.
>>
>> It seems from Fedora 14 to F-15 the pygobject2 package went from
>> version 2.21.5-3 to 2.28.3-1.
>>
>> Looking at the logs form TurtleArt I get the following errors that
>> seem to align some what with the toolbar issue. The error lines with
>> the toolbar are the ones that look interesting. I wonder if the api
>> might have changes or similar.
>>
>> Peter
>>
>> /usr/lib/python2.7/site-packages/sugar/graphics/toolbarbox.py:108:
>> Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
>>  self.props.palette.add(self.page_widget)
>> /usr/share/sugar/activities/TurtleArt.activity/TurtleArtActivity.py:818:
>> Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
>>  toolbar.props.page.insert(button, -1)
>> /usr/lib/python2.7/site-packages/sugar/graphics/window.py:197:
>> Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
>>  self.__vbox.pack_start(toolbar_box, False)
>> TypeError: do_expose_event() takes exactly 3 arguments (2 given)
>> ** (sugar-activity:5039): DEBUG: Got client ID
>> "10f6db723bb88e17e130524126255976500000039300002"
>> ** (sugar-activity:5039): DEBUG: Setting initial properties
>> ** (sugar-activity:5039): DEBUG: Received SaveYourself(SmSaveLocal,
>> !Shutdown, SmInteractStyleNone, !Fast) in state idle
>> ** (sugar-activity:5039): DEBUG: Sending SaveYourselfDone(True) for
>> initial SaveYourself
>> ** (sugar-activity:5039): DEBUG: Received SaveComplete message in
>> state save-yourself-done
>> TypeError: do_expose_event() takes exactly 3 arguments (2 given)
>> TypeError: do_expose_event() takes exactly 3 arguments (2 given)
>> TypeError: do_expose_event() takes exactly 3 arguments (2 given)
>> TypeError: do_expose_event() takes exactly 3 arguments (2 given)
>> TypeError: do_expose_event() takes exactly 3 arguments (2 given)
>> /usr/lib/python2.7/site-packages/sugar/graphics/toolbarbox.py:99:
>> Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
>>  box.pack_start(self.page_widget)
>> TypeError: do_expose_event() takes exactly 3 arguments (2 given)
>> /usr/lib/python2.7/site-packages/sugar/activity/namingalert.py:194:
>> Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
>>  vbox.pack_start(toolbar, False)
>>
>
>
>
> --
> Walter Bender
> Sugar Labs
> http://www.sugarlabs.org
>


More information about the Sugar-devel mailing list