Re: [SoaS] SoaS v10 TC5 tests with important activities INCLUDED in the standard distribution
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] SoaS v10 TC5 tests with important activities INCLUDED in the standard distribution
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
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,
Re: [SoaS] SoaS v10 TC5 tests with important activities INCLUDED in the standard distribution
Jean, Would you please test this new version of Physics [1]? Not quite ready for release, but I think (hope) it will run on F20 (SoaS). thx -walter [1] http://people.sugarlabs.org/walter/Physics-11.xo On Sat, Dec 7, 2013 at 5:30 PM, Jean THIERY jean.thi...@modlibre.info wrote: Hello, Below, yo will find different tests of SoaS v10 TC5 with activities INCLUDED in the standard distribution. Tests were performed on a USB key prepared with « Fedora-Live-SoaS-i686-20-TC5.iso » (5-Dec-2013) http://alt.fedoraproject.org/pub/alt/stage/20-TC5/Live/i386/ [ok] corresponds only to simple tests. Systematic tests were not performed. THANK YOU very much for new improvements in SoaS 10. Soon on Internet, Jean [Jean.Thiery(ò)ModLibre.info][http://ModLibre.info/] List of important activities INCLUDED in the standard distribution with problems in Beta-5 OR TC3 OR TC5 versions JUKEBOX Beta-5 jukebox-26 seems to work [ok] Beta-5 BUT the proposed automatic updating to jukebox-32 STOPS Beta-5 Beta-5 jukebox-32 is not downloadable on activities.sugarlabs TC3--- jukebox-26 seems to work [ok] TC3--- BUT the proposed automatic updating to jukebox-32 STOPS TC3--- TC3--- jukebox-32 is not downloadable on activities.sugarlabs TC5--- Jukebox.activity appears in /usr/share/sugar/activities TC5--- Jukebox DOES NOT appear in the user window (icons OR list) READ Beta-5 Original read-92 appears in /usr/share/sugar/activities Beta-5 BUT does not appear on the user screen [F3 key] Beta-5 Beta-5 read-92 installed later on by terminal [does not start] Beta-5 BUT can be updated automatically to read-111 Beta-5 Beta-5 read-111 updated from read-92 seems to work [ok] TC3--- Original read-92 appears in /usr/share/sugar/activities TC3--- BUT does not appear on the user screen [F3 key] TC3--- TC3--- read-92 installed later on by terminal [does not start] TC3--- BUT can be updated automatically to read-111 TC3--- TC3--- read-111 updated from read-92 seems to work [ok] TC5--- Read.activity appears in /usr/share/sugar/activities TC5--- Read DOES NOT appear in the user window (icons OR list) WRITE Beta-5 Integrated write_79 [does not start] Beta-5 Installed write_94 [does not start] TC3--- Integrated write_94 seems to work [ok] TC5--- Integrated write_94 seems to work [ok] TC5--- BUT sometimes there are PROBLEMS with spelling texts (- quit) TC5--- and saving texts (- impossible to quit). -- 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
On Wed, Dec 11, 2013 at 4:32 PM, Frederick Grose fgr...@gmail.com wrote: On Wed, Dec 11, 2013 at 4:06 PM, Walter Bender walter.ben...@gmail.comwrote: Jean, Would you please test this new version of Physics [1]? Not quite ready for release, but I think (hope) it will run on F20 (SoaS). thx -walter [1] http://people.sugarlabs.org/walter/Physics-11.xo {...} Tested in Fedora 20 TC5 with sudo yum install @sugar-desktop sugar-runner xorg-x11-server-Xephyr Launched Physics-11.xo from the Documents folder, Dropped several triangles into the model, Switched to the grab tool, Tried to grab one of the triangles, Physics disappeared. Logs attached. --Fred Reopened this ticket, http://bugs.sugarlabs.org/ticket/3361#comment:27 http://bugs.sugarlabs.org/ticket/3361#comment:27http://bugs.sugarlabs.org/ticket/3361#comment:27 attached the log, and .xo. ___ 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
Could check one thing for me? Is elements installed in /usr/lib/python2.7/site-packages/elements ? If so, I suspect that there may be a conflict between that version and the one packaged with Physics. -walter On Wed, Dec 11, 2013 at 6:50 PM, Frederick Grose fgr...@gmail.com wrote: On Wed, Dec 11, 2013 at 4:32 PM, Frederick Grose fgr...@gmail.com wrote: On Wed, Dec 11, 2013 at 4:06 PM, Walter Bender walter.ben...@gmail.com wrote: Jean, Would you please test this new version of Physics [1]? Not quite ready for release, but I think (hope) it will run on F20 (SoaS). thx -walter [1] http://people.sugarlabs.org/walter/Physics-11.xo {...} Tested in Fedora 20 TC5 with sudo yum install @sugar-desktop sugar-runner xorg-x11-server-Xephyr Launched Physics-11.xo from the Documents folder, Dropped several triangles into the model, Switched to the grab tool, Tried to grab one of the triangles, Physics disappeared. Logs attached. --Fred Reopened this ticket, http://bugs.sugarlabs.org/ticket/3361#comment:27 http://bugs.sugarlabs.org/ticket/3361#comment:27 attached the log, and .xo. -- 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
On Wed, Dec 11, 2013 at 6:01 PM, Walter Bender walter.ben...@gmail.comwrote: 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 {...} This file is part of the 'Elements' Project Elements is a 2D Physics API for Python (supporting pybox2d) Copyright (C) 2008, The Elements Team, eleme...@linuxuser.at Home: http://elements.linuxuser.at IRC: #elements on irc.freenode.org Code: http://www.assembla.com/wiki/show/elements svn co http://svn2.assembla.com/svn/elements License: GPLv3 | See LICENSE for the full text This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/. __version__= '0.11' __contact__ = 'eleme...@linuxuser.at' # Load Box2D try: import Box2D as box2d except: print 'Could not load the pybox2d library (Box2D).' print 'Please run setup.py install to install the dependencies.' print print 'Alternatively, recompile pybox2d for your system and python version.' print See http://code.google.com/p/pybox2d; exit() # Standard Imports from random import shuffle # Load Elements Definitions from locals import * # Load Elements Modules import tools import drawing import add_objects import callbacks import camera # Main Class class Elements: The class which handles all interaction with the box2d engine # Settings run_physics =True # Can pause the simulation element_count =0 # Element Count renderer =None # Drawing class (from drawing.py) input =INPUT_PIXELS # Default Input in Pixels! (can change to INPUT_METERS) line_width=0 # Line Width in Pixels (0 for fill) listener =None screen_offset = (0, 0)# Offset screen from world coordinate system (x, y) [meter5] screen_offset_pixel = (0, 0) # Offset screen from world coordinate system (x, y) [pixel] # The internal coordination system is y+=up, x+=right # But it's possible to change the input coords to something else, # they will then be translated on input inputAxis_x_left = False# positive to the right by default inputAxis_y_down = True # positive to up by default mouseJoint = None def __init__(self, screen_size, gravity=(0.0,-9.0), ppm=100.0, renderer='pygame'): Init the world with boundaries and gravity, and init colors. Parameters: screen_size .. (w, h) -- screen size in pixels [int] gravity .. (x, y) in m/s^2 [float] default: (0.0, -9.0) ppm .. pixels per meter [float] default: 100.0 renderer . which drawing method to use (str) default: 'pygame' Return: class Elements() self.set_screenSize(screen_size) self.set_drawingMethod(renderer) # Create Subclasses self.add = add_objects.Add(self) self.callbacks = callbacks.CallbackHandler(self) self.camera = camera.Camera(self) # Set Boundaries self.worldAABB=box2d.b2AABB() self.worldAABB.lowerBound = (-100.0, -100.0) self.worldAABB.upperBound = (100.0, 100.0) # Gravity + Bodies will sleep on outside self.gravity = gravity self.doSleep = True # Create the World self.world = box2d.b2World(self.worldAABB, self.gravity, self.doSleep) # Init Colors self.init_colors() # Set Pixels per Meter self.ppm = ppm def set_inputUnit(self, input): Change the input unit to either meter or pixels Parameters: input ... INPUT_METERS or INPUT_PIXELS Return: - self.input = input def set_inputAxisOrigin(self, left=True, top=False): Change the origin of the input coordinate system axis Parameters: left ... True or False -- x = 0 is at the left? top True or False -- y = 0 is at the top? Return: - self.inputAxis_x_left = not left
Re: [SoaS] SoaS v10 TC5 tests with important activities INCLUDED in the standard distribution
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 ? thx On Wed, Dec 11, 2013 at 9:26 PM, Frederick Grose fgr...@gmail.com wrote: On Wed, Dec 11, 2013 at 6:01 PM, Walter Bender walter.ben...@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 ___ 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
On Wed, Dec 11, 2013 at 7:29 PM, Walter Bender walter.ben...@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)) thx On Wed, Dec 11, 2013 at 9:26 PM, Frederick Grose fgr...@gmail.com wrote: On Wed, Dec 11, 2013 at 6:01 PM, Walter Bender walter.ben...@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 ___ 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
On Wed, Dec 11, 2013 at 9:47 PM, Frederick Grose fgr...@gmail.com wrote: On Wed, Dec 11, 2013 at 7:29 PM, Walter Bender walter.ben...@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 fgr...@gmail.com wrote: On Wed, Dec 11, 2013 at 6:01 PM, Walter Bender walter.ben...@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 ___ 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
On Wed, Dec 11, 2013 at 7:58 PM, Walter Bender walter.ben...@gmail.com wrote: On Wed, Dec 11, 2013 at 9:47 PM, Frederick Grose fgr...@gmail.com wrote: On Wed, Dec 11, 2013 at 7:29 PM, Walter Bender walter.ben...@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
Re: [SoaS] SoaS v10 TC5 tests with important activities INCLUDED in the standard distribution
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 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 ___ 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
Hi Jean, JUKEBOX Please strip out the details of the older versions, once a new version comes out the old information only confuses, details will be in the list archives. TC5--- Jukebox.activity appears in /usr/share/sugar/activities TC5--- Jukebox DOES NOT appear in the user window (icons OR list) It appears in both on mine when testing (same image but x86_64) READ TC3--- Original read-92 appears in /usr/share/sugar/activities TC3--- BUT does not appear on the user screen [F3 key] TC3--- TC3--- read-92 installed later on by terminal [does not start] TC3--- BUT can be updated automatically to read-111 TC3--- TC3--- read-111 updated from read-92 seems to work [ok] We've never shipped v92 with this release of SoaS so I have no idea where your getting this from TC5--- Read.activity appears in /usr/share/sugar/activities TC5--- Read DOES NOT appear in the user window (icons OR list) It appears in both on mine when testing WRITE TC5--- Integrated write_94 seems to work [ok] TC5--- BUT sometimes there are PROBLEMS with spelling texts (- quit) TC5--- and saving texts (- impossible to quit). There's a known problem with saving but I'm yet to see a fix. Peter ___ SoaS mailing list SoaS@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/soas
[SoaS] SoaS v10 TC5 tests with important activities INCLUDED in the standard distribution
Hello, Below, yo will find different tests of SoaS v10 TC5 with activities INCLUDED in the standard distribution. Tests were performed on a USB key prepared with « Fedora-Live-SoaS-i686-20-TC5.iso » (5-Dec-2013) http://alt.fedoraproject.org/pub/alt/stage/20-TC5/Live/i386/ [ok] corresponds only to simple tests. Systematic tests were not performed. THANK YOU very much for new improvements in SoaS 10. Soon on Internet, Jean [Jean.Thiery(ò)ModLibre.info][http://ModLibre.info/] List of important activities INCLUDED in the standard distribution with problems in Beta-5 OR TC3 OR TC5 versions JUKEBOX Beta-5 jukebox-26 seems to work [ok] Beta-5 BUT the proposed automatic updating to jukebox-32 STOPS Beta-5 Beta-5 jukebox-32 is not downloadable on activities.sugarlabs TC3--- jukebox-26 seems to work [ok] TC3--- BUT the proposed automatic updating to jukebox-32 STOPS TC3--- TC3--- jukebox-32 is not downloadable on activities.sugarlabs TC5--- Jukebox.activity appears in /usr/share/sugar/activities TC5--- Jukebox DOES NOT appear in the user window (icons OR list) READ Beta-5 Original read-92 appears in /usr/share/sugar/activities Beta-5 BUT does not appear on the user screen [F3 key] Beta-5 Beta-5 read-92 installed later on by terminal [does not start] Beta-5 BUT can be updated automatically to read-111 Beta-5 Beta-5 read-111 updated from read-92 seems to work [ok] TC3--- Original read-92 appears in /usr/share/sugar/activities TC3--- BUT does not appear on the user screen [F3 key] TC3--- TC3--- read-92 installed later on by terminal [does not start] TC3--- BUT can be updated automatically to read-111 TC3--- TC3--- read-111 updated from read-92 seems to work [ok] TC5--- Read.activity appears in /usr/share/sugar/activities TC5--- Read DOES NOT appear in the user window (icons OR list) WRITE Beta-5 Integrated write_79 [does not start] Beta-5 Installed write_94 [does not start] TC3--- Integrated write_94 seems to work [ok] TC5--- Integrated write_94 seems to work [ok] TC5--- BUT sometimes there are PROBLEMS with spelling texts (- quit) TC5--- and saving texts (- impossible to quit). ___ SoaS mailing list SoaS@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/soas