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

Walter Bender walter.bender at gmail.com
Wed Dec 11 21:58:26 EST 2013


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 ?
>
>
> Did that; but it failed to start.
>
> Here is the log:
> ** Message: pygobject_register_sinkfunc is deprecated (HippoCanvasBox)
> 1386815703.690920 WARNING root: KeepButton has been deprecated since
> Sugar 0.94 and should not be used in newly written code.
> 1386815703.693349 WARNING root: No gtk.AccelGroup in the top level window.
> 1386815703.695499 WARNING root: No gtk.AccelGroup in the top level window.
> 1386815703.699353 WARNING root: No gtk.AccelGroup in the top level window.
> 1386815703.700839 WARNING root: No gtk.AccelGroup in the top level window.
> 1386815703.702335 WARNING root: No gtk.AccelGroup in the top level window.
> 1386815703.703794 WARNING root: No gtk.AccelGroup in the top level window.
> 1386815703.705249 WARNING root: No gtk.AccelGroup in the top level window.
> 1386815703.706773 WARNING root: No gtk.AccelGroup in the top level window.
> 1386815703.709054 WARNING root: No gtk.AccelGroup in the top level window.
> 1386815703.710725 WARNING root: No gtk.AccelGroup in the top level window.
> 1386815703.712203 WARNING root: No gtk.AccelGroup in the top level window.
> 1386815703.713677 WARNING root: No gtk.AccelGroup in the top level window.
> 1386815703.715131 WARNING root: No gtk.AccelGroup in the top level window.
> 1386815703.716829 WARNING root: No gtk.AccelGroup in the top level window.
> 1386815703.718093 WARNING root: No gtk.AccelGroup in the top level window.
> 1386815703.719070 WARNING root: No gtk.AccelGroup in the top level window.
> Traceback (most recent call last):
>   File "/usr/bin/sugar-activity", line 164, in <module>
>     main()
>   File "/usr/bin/sugar-activity", line 159, in main
>     instance = create_activity_instance(activity_constructor, activity_handle)
>   File "/usr/bin/sugar-activity", line 44, in create_activity_instance
>     activity = constructor(handle)
>   File "/usr/share/sugar/activities/Physics.activity/activity.py",
> line 45, in __init__
>     super(PhysicsActivity, self).__init__(handle)
>   File "/usr/lib/python2.7/site-packages/olpcgames/activity.py", line
> 106, in __init__
>     canvas = self.build_canvas()
>   File "/usr/lib/python2.7/site-packages/olpcgames/activity.py", line
> 167, in build_canvas
>     self._pgc.connect_game(self.game_handler or self.game_name)
>   File "/usr/lib/python2.7/site-packages/olpcgames/canvas.py", line
> 96, in connect_game
>     mod = __import__(mod_name, globals(), locals(), [])
>   File "/usr/share/sugar/activities/Physics.activity/physics.py", line
> 39, in <module>
>     import elements
> ImportError: No module named elements
> Exited with status 1, pid 2665 data (None, <open file '<fdopen>', mode
> 'w' at 0x192fae0>,
> dbus.ByteArray('8280d3a822f0b2a179da19812c46c0d0afaf6037',
> variant_level=1))
>

Weird. Can you check to see it elements is in ~/Activities/Physics.activity ???

-walter

>
>>
>> thx
>>
>> On Wed, Dec 11, 2013 at 9:26 PM, Frederick Grose <fgrose at gmail.com> wrote:
>> > On Wed, Dec 11, 2013 at 6:01 PM, Walter Bender <walter.bender at gmail.com>
>> > wrote:
>> >>
>> >> Could check one thing for me?
>> >>
>> >> Is elements installed in /usr/lib/python2.7/site-packages/elements ?
>> >
>> >
>> > Yes, there are 30 items in that folder.
>> >
>> > I've attached the elements.py file that was date 08/04/2013.
>> >>
>> >>
>> >> If so, I suspect that there may be a conflict between that version and
>> >> the one packaged with Physics.
>> >>
>> >> -walter



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


More information about the SoaS mailing list