[SoaS] SoaS v10 TC5 tests with important activities INCLUDED in the standard distribution

Walter Bender walter.bender at gmail.com
Wed Dec 11 22:47:42 EST 2013


Fred,

Thanks for testing.

Peter,

Is there any reason we need elements in the build? I don't think it is
used by anything but Physics in Sugar and Physics carries its own copy
with it.

-walter

On Wed, Dec 11, 2013 at 10:41 PM, Frederick Grose <fgrose at gmail.com> wrote:
> On Wed, Dec 11, 2013 at 7:58 PM, Walter Bender <walter.bender at gmail.com> wrote:
>> On Wed, Dec 11, 2013 at 9:47 PM, Frederick Grose <fgrose at gmail.com> wrote:
>>> On Wed, Dec 11, 2013 at 7:29 PM, Walter Bender <walter.bender at gmail.com> wrote:
>>>>
>>>> could you try renaming the directory from elements to elements-foo ?
>>>> and then relaunch Sugar and try Physics again? just to ensure we are
>>>> getting the local copy of elements ?
>>>
>
> OK, I had a bad extraction of the Physics-11.xo by launching it from
> the ~/Documents folder (no elements and other folders)
> By manually extracting and moving to /usr/share/sugar/activities/ AND
> renaming the site-packages/elements to elements-foo, I was able to
> grab the triangle successfully.  Here's the log:
>
> ** Message: pygobject_register_sinkfunc is deprecated (HippoCanvasBox)
> 1386818798.820504 WARNING root: KeepButton has been deprecated since
> Sugar 0.94 and should not be used in newly written code.
> 1386818798.821977 WARNING root: No gtk.AccelGroup in the top level window.
> 1386818798.824342 WARNING root: No gtk.AccelGroup in the top level window.
> 1386818798.844370 WARNING root: No gtk.AccelGroup in the top level window.
> 1386818798.846209 WARNING root: No gtk.AccelGroup in the top level window.
> 1386818798.847829 WARNING root: No gtk.AccelGroup in the top level window.
> 1386818798.851720 WARNING root: No gtk.AccelGroup in the top level window.
> 1386818798.852973 WARNING root: No gtk.AccelGroup in the top level window.
> /usr/lib/python2.7/site-packages/sugar/graphics/window.py:173:
> GtkWarning: IA__gtk_container_remove: assertion 'GTK_IS_TOOLBAR
> (container) || widget->parent == GTK_WIDGET (container)' failed
>   self.__hbox.remove(self._canvas)
> /usr/lib/python2.7/site-packages/sugar/datastore/datastore.py:103:
> UnicodeWarning: Unicode unequal comparison failed to convert both
> arguments to Unicode - interpreting them as being unequal
>   if key not in self._properties or self._properties[key] != value:
> 1386818881.677858 WARNING root: No gtk.AccelGroup in the top level window.
> 1386818897.396570 ERROR root: pygame already stopped? video system not
> initialized
> 1386818897.397724 WARNING root: No gtk.AccelGroup in the top level window.
> 1386818897.397843 WARNING root: No gtk.AccelGroup in the top level window.
> 1386818897.397951 WARNING root: No gtk.AccelGroup in the top level window.
> 1386818897.398430 WARNING root: No gtk.AccelGroup in the top level window.
> * Pygame selected as renderer
> convexPoly: Polygon reduced from 3 to 3 vertices | tolerance: 10
> convexPoly: Polygon reduced from 3 to 3 vertices | tolerance: 10
> convexPoly: Polygon reduced from 3 to 3 vertices | tolerance: 10
> convexPoly: Polygon reduced from 3 to 3 vertices | tolerance: 10
> convexPoly: Polygon reduced from 3 to 3 vertices | tolerance: 10
> Exited with status 0, pid 3827 data (None, <open file '<fdopen>', mode
> 'w' at 0x169e660>,
> dbus.ByteArray('f325cff9568047df48903af0a7bca7a34b26bd09',
> variant_level=1))
>
> Without renaming elements in site-packages, I lose the cursor when
> trying to grab, but no crash.  Here's the log:
>
> ** Message: pygobject_register_sinkfunc is deprecated (HippoCanvasBox)
> 1386819005.735682 WARNING root: KeepButton has been deprecated since
> Sugar 0.94 and should not be used in newly written code.
> 1386819005.737815 WARNING root: No gtk.AccelGroup in the top level window.
> 1386819005.741079 WARNING root: No gtk.AccelGroup in the top level window.
> 1386819005.761918 WARNING root: No gtk.AccelGroup in the top level window.
> 1386819005.763760 WARNING root: No gtk.AccelGroup in the top level window.
> 1386819005.765361 WARNING root: No gtk.AccelGroup in the top level window.
> 1386819005.769241 WARNING root: No gtk.AccelGroup in the top level window.
> 1386819005.770508 WARNING root: No gtk.AccelGroup in the top level window.
> /usr/lib/python2.7/site-packages/sugar/graphics/window.py:173:
> GtkWarning: IA__gtk_container_remove: assertion 'GTK_IS_TOOLBAR
> (container) || widget->parent == GTK_WIDGET (container)' failed
>   self.__hbox.remove(self._canvas)
> * Pygame selected as renderer
> convexPoly: Polygon reduced from 3 to 3 vertices | tolerance: 10
> convexPoly: Polygon reduced from 3 to 3 vertices | tolerance: 10
> convexPoly: Polygon reduced from 3 to 3 vertices | tolerance: 10
> convexPoly: Polygon reduced from 3 to 3 vertices | tolerance: 10
> convexPoly: Polygon reduced from 3 to 3 vertices | tolerance: 10
> convexPoly: Polygon reduced from 3 to 3 vertices | tolerance: 10
> Traceback (most recent call last):
>   File "/usr/share/sugar/activities/Physics.activity/sugargame/canvas.py",
> line 58, in _run_pygame_cb
>     main_fn()
>   File "/usr/share/sugar/activities/Physics.activity/physics.py", line
> 130, in run
>     self.currentTool.handleEvents(event)
>   File "/usr/share/sugar/activities/Physics.activity/tools.py", line
> 80, in handleEvents
>     return self.handleToolEvent(event)
>   File "/usr/share/sugar/activities/Physics.activity/tools.py", line
> 425, in handleToolEvent
>     tuple_to_int(event.pos))
>   File "/usr/lib/python2.7/site-packages/elements/add_objects.py",
> line 515, in mouseJoint
>     self.parent.mouseJoint = self.parent.world.CreateJoint(mj).getAsType()
> AttributeError: 'b2MouseJoint' object has no attribute 'getAsType'
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Traceback (most recent call last):
>   File "/usr/share/sugar/activities/Physics.activity/activity.py",
> line 263, in _focus_event
>     action="focus_in"))
> pygame.error: Event queue full
> Traceback (most recent call last):
>   File "/usr/share/sugar/activities/Physics.activity/activity.py",
> line 263, in _focus_event
>     action="focus_in"))
> pygame.error: Event queue full
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Event queue full!
> Traceback (most recent call last):
>   File "/usr/share/sugar/activities/Physics.activity/activity.py",
> line 305, in _window_event
>     action="focus_out"))
> pygame.error: Event queue full
> Traceback (most recent call last):
>   File "/usr/lib64/python2.7/site-packages/gobject/__init__.py", line
> 101, in obj_set_property
>     prop.setter(self, value)
>   File "/usr/lib/python2.7/site-packages/sugar/activity/activity.py",
> line 456, in set_active
>     self.save()
>   File "/usr/lib/python2.7/site-packages/sugar/activity/activity.py",
> line 701, in save
>     self.write_file(file_path)
>   File "/usr/share/sugar/activities/Physics.activity/activity.py",
> line 88, in write_file
>     self.game.write_file(file_path)
>   File "/usr/share/sugar/activities/Physics.activity/physics.py", line
> 84, in write_file
>     self.world.json_save(path)
>   File "/usr/lib/python2.7/site-packages/elements/elements.py", line
> 433, in json_save
>     import cjson
> ImportError: No module named cjson
>
> Hope that helps.
>
>          --Fred
>>
>> --
>> Walter Bender
>> Sugar Labs
>> http://www.sugarlabs.org



-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org


More information about the SoaS mailing list