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

2013-12-12 Thread Peter Robinson
On Thu, Dec 12, 2013 at 3:47 AM, Walter Bender walter.ben...@gmail.com wrote:
 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.

Why do we need to bundle it? Ultimately Fedora has a policy of not
bundling libraries so I suspect it was using the upstream rather than
a random fork.

Peter
___
SoaS mailing list
SoaS@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/soas


Re: [SoaS] Physics - SoaS v10 TC5 tests with important activities INCLUDED in the standard distribution

2013-12-12 Thread Jean THIERY

Hello,

Le 12/12/2013 05:14, Frederick Grose a écrit :

On Wed, Dec 11, 2013 at 8:47 PM, Walter Bender walter.ben...@gmail.com wrote:

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


Thank you for your interest in the *Physics activity*
which is important
- as a simple game for young children
- and as a teaching tool for older children.

There is also a *Physics Python program* in Pippy.
A simple display with no apparent interactivity (and no hand).

Do they use common tools ?


Gary Martin has a Physics-11 in Fedora and the Activity Library,
http://activities.sugarlabs.org/en-US/sugar/addons/versions/4193#version-11

that is installed in SoaS.  This is what I must have been launching
when I clicked the Physics.xo item in my Documents folder in the
Journal.

Copying Walter's Physics-11.xo to the Journal and launching from there
(after erasing the original Physics-11.xo) AND hiding
/usr/lib/python2.7/site-packages/elements was effective in launching
and running Physics in Fedora 20 TC5.

   --Fred


Sincerely hours,

Jean [Jean.Thiery(ò)ModLibre.info][http://ModLibre.info/]
___
SoaS mailing list
SoaS@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/soas


Re: [SoaS] Physics - SoaS v10 TC5 tests with important activities INCLUDED in the standard distribution

2013-12-12 Thread Walter Bender
On Thu, Dec 12, 2013 at 7:48 AM, Jean THIERY jean.thi...@modlibre.info wrote:
 Hello,

 Le 12/12/2013 05:14, Frederick Grose a écrit :

 On Wed, Dec 11, 2013 at 8:47 PM, Walter Bender walter.ben...@gmail.com
 wrote:

 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


 Thank you for your interest in the *Physics activity*
 which is important
 - as a simple game for young children

It is a dynamic paint program :). One of the new features in the next
release is a pen you can attach to objects to trace their paths.

 - and as a teaching tool for older children.

 There is also a *Physics Python program* in Pippy.
 A simple display with no apparent interactivity (and no hand).

 Do they use common tools ?

Yes. Although I need to clean up the code included with Pippy. (A new
Pippy will be released soon as well.)

 Gary Martin has a Physics-11 in Fedora and the Activity Library,

 http://activities.sugarlabs.org/en-US/sugar/addons/versions/4193#version-11

 that is installed in SoaS.  This is what I must have been launching
 when I clicked the Physics.xo item in my Documents folder in the
 Journal.

 Copying Walter's Physics-11.xo to the Journal and launching from there
 (after erasing the original Physics-11.xo) AND hiding
 /usr/lib/python2.7/site-packages/elements was effective in launching
 and running Physics in Fedora 20 TC5.

--Fred


 Sincerely hours,

 Jean [Jean.Thiery(ò)ModLibre.info][http://ModLibre.info/]


regards.

-walter
-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org
___
SoaS mailing list
SoaS@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/soas


Re: [SoaS] Pippy - SoaS v10 TC5 tests with important activities INCLUDED in the standard distribution

2013-12-12 Thread Jean THIERY



[Axul-bureau][Axul-debats][Axul-linux]
Merci pour votre message recopié ci-dessous avec quelques réponses.

A bientôt sur Internet,

Jean Thiéry [Jean.Thiery(ò)ModLibre.info][http://ModLibre.info/]
Membre d'OLPC-France [http://olpc-france.org/wiki/]
Membre de l'Aful [http://www.aful.org/]
Secrétaire de l'Axul [http://www.axul.org/]
Secrétaire de la SFBT [http://www.sfbt.org/]

=== Message original ===
=== Message antérieur ==

Le 12/12/2013 13:56, Walter Bender a écrit :

On Thu, Dec 12, 2013 at 7:48 AM, Jean THIERY jean.thi...@modlibre.info wrote:

Hello,

Le 12/12/2013 05:14, Frederick Grose a écrit :
...

There is also a *Physics Python program* in Pippy.
A simple display with no apparent interactivity (and no hand).

Do they use common tools ?


Yes. Although I need to clean up the code included with Pippy.
(A new Pippy will be released soon as well.)


Thank you for this future Pippy version.

On Sat, 07 Dec 2013 23:43:31 +0100 jean.thi...@modlibre.info wrote

 pippy-53 seems to work [ok] in general
 *but has PROBLEMS with some Python examples*
 *such as Life and ALL sounds*

For *sounds* there are messages such as
« NameError: global name '...' is not defined »

For *Life* there is an old problem
probably due to boundary conditions
i.e, problems in matrix indexes.

I hope to be able to analyze this index problem on Saturday or Sunday.


regards.

-walter


Sincerely hours,

Jean [Jean.Thiery(ò)ModLibre.info][http://ModLibre.info/]

___
SoaS mailing list
SoaS@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/soas


Re: [SoaS] Pippy - SoaS v10 TC5 tests with important activities INCLUDED in the standard distribution

2013-12-12 Thread Walter Bender
On Thu, Dec 12, 2013 at 12:15 PM, Jean THIERY jean.thi...@modlibre.info wrote:


 [Axul-bureau][Axul-debats][Axul-linux]
 Merci pour votre message recopié ci-dessous avec quelques réponses.

 A bientôt sur Internet,

 Jean Thiéry [Jean.Thiery(ò)ModLibre.info][http://ModLibre.info/]
 Membre d'OLPC-France [http://olpc-france.org/wiki/]
 Membre de l'Aful [http://www.aful.org/]
 Secrétaire de l'Axul [http://www.axul.org/]
 Secrétaire de la SFBT [http://www.sfbt.org/]

 === Message original ===
 === Message antérieur ==

 Le 12/12/2013 13:56, Walter Bender a écrit :

 On Thu, Dec 12, 2013 at 7:48 AM, Jean THIERY jean.thi...@modlibre.info
 wrote:

 Hello,

 Le 12/12/2013 05:14, Frederick Grose a écrit :
 ...

 There is also a *Physics Python program* in Pippy.
 A simple display with no apparent interactivity (and no hand).

 Do they use common tools ?


 Yes. Although I need to clean up the code included with Pippy.
 (A new Pippy will be released soon as well.)


 Thank you for this future Pippy version.

Could you test http://people.sugarlabs.org/walter/Pippy-51.xo ?

 On Sat, 07 Dec 2013 23:43:31 +0100 jean.thi...@modlibre.info wrote

 pippy-53 seems to work [ok] in general
 *but has PROBLEMS with some Python examples*
 *such as Life and ALL sounds*

I think the sound examples should all work, as long as TamTam is
installed and working.


 For *sounds* there are messages such as
 « NameError: global name '...' is not defined »

 For *Life* there is an old problem
 probably due to boundary conditions
 i.e, problems in matrix indexes.

I couldn't find any problem with Life. Could you explain in more
detail the problem?

 I hope to be able to analyze this index problem on Saturday or Sunday.

thanks.


 regards.

 -walter


 Sincerely hours,

 Jean [Jean.Thiery(ò)ModLibre.info][http://ModLibre.info/]


-walter

-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org
___
SoaS mailing list
SoaS@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/soas


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

2013-12-12 Thread Frederick Grose
On Thu, Dec 12, 2013 at 4:31 PM, Walter Bender walter.ben...@gmail.com wrote:
 On Thu, Dec 12, 2013 at 6:28 PM, Frederick Grose fgr...@gmail.com wrote:
 On Thu, Dec 12, 2013 at 3:30 PM, Walter Bender walter.ben...@gmail.com 
 wrote:
 On Thu, Dec 12, 2013 at 2:26 PM, Frederick Grose fgr...@gmail.com wrote:
 New failure in Physics-11Walter:

{...}


 Weird. That is a new bug. Try to grab a screen shot if you can.

Attached.


 thx

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

Log also attached.
When the model was started the activity crashed and disappeared.

 --Fred
** Message: pygobject_register_sinkfunc is deprecated (HippoCanvasBox)
1386890267.853905 WARNING root: KeepButton has been deprecated since Sugar 0.94 
and should not be used in newly written code.
1386890267.856247 WARNING root: No gtk.AccelGroup in the top level window.
1386890267.859673 WARNING root: No gtk.AccelGroup in the top level window.
1386890267.894453 WARNING root: No gtk.AccelGroup in the top level window.
1386890267.897649 WARNING root: No gtk.AccelGroup in the top level window.
1386890267.900948 WARNING root: No gtk.AccelGroup in the top level window.
1386890267.908378 WARNING root: No gtk.AccelGroup in the top level window.
1386890267.910710 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:
1386891225.747478 ERROR root: pygame already stopped? video system not 
initialized
1386891225.750179 WARNING root: No gtk.AccelGroup in the top level window.
1386891225.750442 WARNING root: No gtk.AccelGroup in the top level window.
1386891225.750675 WARNING root: No gtk.AccelGroup in the top level window.
1386891225.753937 WARNING root: No gtk.AccelGroup in the top level window.
* Pygame selected as renderer
alpha difference: 46.7221965664
concave
alpha difference: 65.9787390523
concave
is line
concave
* Add Joint: (b2Body(
   allowSleep= True,
   angle = 0.0,
   angularDamping= 0.0,
   angularVelocity   = 0.0,
   fixedRotation = False,
   isBullet  = False,
   isSleeping= False,
   linearDamping = 0.0,
   linearVelocity= b2Vec2(0,0),
   massData  = b2MassData(
   I  = 0.237763956189,
   center = b2Vec2(3.6194e-09,-0.005),
   mass   = 0.417489856482),
   position  = b2Vec2(8.1,4.24),
   userData  = {'color': (32, 61, 97)},
   GetInertia()  = 0.237763956189,
   GetLocalCenter()  = b2Vec2(3.6194e-09,-0.005),
   GetMass() = 0.417489856482,
   GetWorldCenter()  = b2Vec2(8.1,4.235),
   GetXForm()= b2XForm(
   R= b2Mat22(
   col1   = b2Vec2(1,0),
   col2   = b2Vec2(-0,1),
   GetAngle() = 0.0),
   position = b2Vec2(8.1,4.24)),
   IsBullet()= False,
   IsDynamic()   = True,
   IsFrozen()= False,
   IsFixedRotation() = False,
   IsSleeping()  = False,
   IsStatic()= False), [811, 517])
* Add Joint: (b2Body(
   allowSleep= True,
   angle = 0.0,
   angularDamping= 0.0,
   angularVelocity   = 0.0,
   fixedRotation = False,
   isBullet  = False,
   isSleeping= False,
   linearDamping = 0.0,
   linearVelocity= b2Vec2(0,0),
   massData  = b2MassData(
   I  = 1.14382362366,
   center = b2Vec2(0.0244926,-0.152662),
   mass   = 0.756623983383),
   position  = b2Vec2(3.86,7.41),
   userData  = {'color': (103, 149, 206)},
   GetInertia()  = 1.14382362366,
   GetLocalCenter()  = b2Vec2(0.0244926,-0.152662),
   GetMass() = 0.756623983383,
   GetWorldCenter()  = b2Vec2(3.88449,7.25734),
   GetXForm()= b2XForm(
   R= b2Mat22(
   col1   = b2Vec2(1,0),
   col2   = b2Vec2(-0,1),
   GetAngle() = 0.0),
   position = b2Vec2(3.86,7.41)),
   IsBullet()= False,
   IsDynamic()   = True,
   IsFrozen()= False,
   IsFixedRotation() = False,
   IsSleeping()  = False,
   IsStatic()= False), [372, 225])
Exited with status 0, pid 2663 data (None, open file 'fdopen', mode 'w' at 
0x900db78, dbus.ByteArray('9b3bdd22601541b366fc67e618b547cbc140fd36', 
variant_level=1))
attachment: Screenshot of \___
SoaS mailing list
SoaS@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/soas


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

2013-12-12 Thread Frederick Grose
On Thu, Dec 12, 2013 at 11:18 PM, Frederick Grose fgr...@gmail.com wrote:
 On Thu, Dec 12, 2013 at 4:31 PM, Walter Bender walter.ben...@gmail.com 
 wrote:
 On Thu, Dec 12, 2013 at 6:28 PM, Frederick Grose fgr...@gmail.com wrote:
 On Thu, Dec 12, 2013 at 3:30 PM, Walter Bender walter.ben...@gmail.com 
 wrote:
 On Thu, Dec 12, 2013 at 2:26 PM, Frederick Grose fgr...@gmail.com wrote:
 New failure in Physics-11Walter:

 {...}


 Weird. That is a new bug. Try to grab a screen shot if you can.

 Attached.


 thx

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

 Log also attached.
 When the model was started the activity crashed and disappeared.

Repeatable (n=3)

1. Launch Physics-11Walter,
2. Drop several triangles into model,
3. Grab one and sling it around.
4. Erase all
5. Draw first line,
6. Stop model,
7. Draw 2nd  3rd lines,
8. Pin 3rd line,
9. Motor axle 2nd line,
10. Grab first line and reposition it.
11. Pin it.

Origin-to-pin/axle-point lines may appear at step 10 or 11.

12. Start model

Activity crashes and disappears.

On repeat 4,  the origin lines and crash did not occur until I dropped
a disc onto a jammed line1 and propeller(line2).

This attached log may belong to repeat 2 or 3.


  --Fred
** Message: pygobject_register_sinkfunc is deprecated (HippoCanvasBox)
1386915805.519899 WARNING root: KeepButton has been deprecated since Sugar 0.94 
and should not be used in newly written code.
1386915805.522353 WARNING root: No gtk.AccelGroup in the top level window.
1386915805.526240 WARNING root: No gtk.AccelGroup in the top level window.
1386915805.562041 WARNING root: No gtk.AccelGroup in the top level window.
1386915805.565674 WARNING root: No gtk.AccelGroup in the top level window.
1386915805.568567 WARNING root: No gtk.AccelGroup in the top level window.
1386915805.575474 WARNING root: No gtk.AccelGroup in the top level window.
1386915805.578038 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
Traceback (most recent call last):
  File /home/liveuser/Activities/Physics.activity/sugargame/event.py, line 
212, in _mousemove_cb
self._post(evt)
  File /home/liveuser/Activities/Physics.activity/sugargame/event.py, line 
246, in _post
raise e
pygame.error: video system not initialized
Traceback (most recent call last):
  File /home/liveuser/Activities/Physics.activity/sugargame/event.py, line 
212, in _mousemove_cb
self._post(evt)
  File /home/liveuser/Activities/Physics.activity/sugargame/event.py, line 
246, in _post
raise e
pygame.error: video system not initialized
Traceback (most recent call last):
  File /home/liveuser/Activities/Physics.activity/sugargame/event.py, line 
212, in _mousemove_cb
self._post(evt)
  File /home/liveuser/Activities/Physics.activity/sugargame/event.py, line 
246, in _post
raise e
pygame.error: video system not initialized
Traceback (most recent call last):
  File /home/liveuser/Activities/Physics.activity/sugargame/event.py, line 
212, in _mousemove_cb
self._post(evt)
  File /home/liveuser/Activities/Physics.activity/sugargame/event.py, line 
246, in _post
raise e
pygame.error: video system not initialized
Traceback (most recent call last):
  File /home/liveuser/Activities/Physics.activity/sugargame/event.py, line 
212, in _mousemove_cb
self._post(evt)
  File /home/liveuser/Activities/Physics.activity/sugargame/event.py, line 
246, in _post
raise e
pygame.error: video system not initialized
Traceback (most recent call last):
  File /home/liveuser/Activities/Physics.activity/sugargame/event.py, line 
212, in _mousemove_cb
self._post(evt)
  File /home/liveuser/Activities/Physics.activity/sugargame/event.py, line 
246, in _post
raise e
pygame.error: video system not initialized
Traceback (most recent call last):
  File /home/liveuser/Activities/Physics.activity/sugargame/event.py, line 
212, in _mousemove_cb
self._post(evt)
  File /home/liveuser/Activities/Physics.activity/sugargame/event.py, line 
246, in _post
raise e
pygame.error: video system not initialized
Traceback (most recent call last):
  File /home/liveuser/Activities/Physics.activity/sugargame/event.py, line 
212, in _mousemove_cb
self._post(evt)
  File /home/liveuser/Activities/Physics.activity/sugargame/event.py, line 
246, in _post
raise e
pygame.error: video system not initialized
Traceback (most recent call last):
  File /home/liveuser/Activities/Physics.activity/sugargame/event.py, line 
212, in _mousemove_cb
self._post(evt)
  File /home/liveuser/Activities/Physics.activity/sugargame/event.py, line 
246, in _post
raise e
pygame.error: video system not initialized
Traceback (most recent call last):
  File /home/liveuser/Activities/Physics.activity/sugargame/event.py,