/usr/lib/python2.6/site-packages/sugar/util.py:25: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha 1256885725.910716 ERROR root: Invalid SUGAR_SCALING. 1256885726.418461 WARNING root: No gtk.AccelGroup in the top level window. 1256885726.892299 WARNING root: No gtk.AccelGroup in the top level window. 1256885726.916992 WARNING root: No gtk.AccelGroup in the top level window. 1256885726.938113 WARNING root: No gtk.AccelGroup in the top level window. 1256885726.962844 WARNING root: No gtk.AccelGroup in the top level window. 1256885726.978259 WARNING root: No gtk.AccelGroup in the top level window. 1256885726.993668 WARNING root: No gtk.AccelGroup in the top level window. 1256885727.014041 WARNING root: No gtk.AccelGroup in the top level window. 1256885727.032201 WARNING root: No gtk.AccelGroup in the top level window. 1256885727.058755 WARNING root: No gtk.AccelGroup in the top level window. 1256885727.074204 WARNING root: No gtk.AccelGroup in the top level window. 1256885727.094735 WARNING root: No gtk.AccelGroup in the top level window. 1256885727.129485 WARNING root: No gtk.AccelGroup in the top level window. ** (sugar-activity:2351): DEBUG: Got client ID "10e56e49483ec8e4512568857295387100000021920001" ** (sugar-activity:2351): DEBUG: Setting initial properties ** (sugar-activity:2351): DEBUG: Received SaveYourself(SmSaveLocal, !Shutdown, SmInteractStyleNone, !Fast) in state idle ** (sugar-activity:2351): DEBUG: Sending SaveYourselfDone(True) for initial SaveYourself ** (sugar-activity:2351): DEBUG: Received SaveComplete message in state save-yourself-done /home/olpc/Activities/Physics.activity/tools.py:279: DeprecationWarning: integer argument expected, got float pygame.draw.circle(self.game.screen,(100,180,255),self.vertices[0],15,3) 1256885933.502252 ERROR olpcgames.canvas: Uncaught top-level exception: Traceback (most recent call last): File "/home/olpc/Activities/Physics.activity/olpcgames/canvas.py", line 122, in _start fn() File "/home/olpc/Activities/Physics.activity/physics.py", line 114, in main game.run() File "/home/olpc/Activities/Physics.activity/physics.py", line 73, in run self.currentTool.handleEvents(event) File "/home/olpc/Activities/Physics.activity/tools.py", line 121, in handleEvents if self.rect.width > 10 and self.rect.height > 10: # elements doesn't like small shapes :( AttributeError: 'NoneType' object has no attribute 'width' Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python2.6/threading.py", line 522, in __bootstrap_inner self.run() File "/usr/lib/python2.6/threading.py", line 477, in run self.__target(*self.__args, **self.__kwargs) File "/home/olpc/Activities/Physics.activity/olpcgames/canvas.py", line 122, in _start fn() File "/home/olpc/Activities/Physics.activity/physics.py", line 114, in main game.run() File "/home/olpc/Activities/Physics.activity/physics.py", line 73, in run self.currentTool.handleEvents(event) File "/home/olpc/Activities/Physics.activity/tools.py", line 121, in handleEvents if self.rect.width > 10 and self.rect.height > 10: # elements doesn't like small shapes :( AttributeError: 'NoneType' object has no attribute 'width' * Pygame selected as renderer is line concave * Add Joint: (b2Body( allowSleep = True, angle = 1.56726205349, angularDamping = 0.0, angularVelocity = 0.0, fixedRotation = False, isBullet = False, isSleeping = True, linearDamping = 0.0, linearVelocity = b2Vec2(0,0), massData = b2MassData( I = 0.00109442672692, center = b2Vec2(2.58513e-10,-1.16726e-09), mass = 0.0615999996662), position = b2Vec2(9.13473,0.167743), userData = {'color': (4, 4, 4)}, GetInertia() = 0.00109442672692, GetLocalCenter() = b2Vec2(2.58513e-10,-1.16726e-09), GetMass() = 0.0615999996662, GetWorldCenter() = b2Vec2(9.13473,0.167743), GetXForm() = b2XForm( R = b2Mat22( col1 = b2Vec2(0.00353427,0.999994), col2 = b2Vec2(-0.999994,0.00353427), GetAngle() = 1.56726205349), position = b2Vec2(9.13473,0.167743)), IsBullet() = False, IsDynamic() = True, IsFrozen() = False, IsRotationFixed() = False, IsSleeping() = True, IsStatic() = False), b2Body( allowSleep = True, angle = 0.00207367376424, angularDamping = 0.0, angularVelocity = 0.0, fixedRotation = False, isBullet = False, isSleeping = True, linearDamping = 0.0, linearVelocity = b2Vec2(0,0), massData = b2MassData( I = 0.000915199983865, center = b2Vec2(2.81302e-10,6.9186e-10), mass = 0.0527999997139), position = b2Vec2(9.50995,0.315124), userData = {'color': (115, 121, 52)}, GetInertia() = 0.000915199983865, GetLocalCenter() = b2Vec2(2.81302e-10,6.9186e-10), GetMass() = 0.0527999997139, GetWorldCenter() = b2Vec2(9.50995,0.315124), GetXForm() = b2XForm( R = b2Mat22( col1 = b2Vec2(0.999998,0.00207367), col2 = b2Vec2(-0.00207367,0.999998), GetAngle() = 0.00207367376424), position = b2Vec2(9.50995,0.315124)), IsBullet() = False, IsDynamic() = True, IsFrozen() = False, IsRotationFixed() = False, IsSleeping() = True, IsStatic() = False), (930.0, 761.0), (951.0, 763.0))