Ticket #1532: org.laptop.physics-1.log

File org.laptop.physics-1.log, 5.7 KB (added by tabitha, 15 years ago)

log retrieved after physics disappeared

Line 
1/usr/lib/python2.6/site-packages/sugar/util.py:25: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
2  import sha
31256885725.910716 ERROR root: Invalid SUGAR_SCALING.
41256885726.418461 WARNING root: No gtk.AccelGroup in the top level window.
51256885726.892299 WARNING root: No gtk.AccelGroup in the top level window.
61256885726.916992 WARNING root: No gtk.AccelGroup in the top level window.
71256885726.938113 WARNING root: No gtk.AccelGroup in the top level window.
81256885726.962844 WARNING root: No gtk.AccelGroup in the top level window.
91256885726.978259 WARNING root: No gtk.AccelGroup in the top level window.
101256885726.993668 WARNING root: No gtk.AccelGroup in the top level window.
111256885727.014041 WARNING root: No gtk.AccelGroup in the top level window.
121256885727.032201 WARNING root: No gtk.AccelGroup in the top level window.
131256885727.058755 WARNING root: No gtk.AccelGroup in the top level window.
141256885727.074204 WARNING root: No gtk.AccelGroup in the top level window.
151256885727.094735 WARNING root: No gtk.AccelGroup in the top level window.
161256885727.129485 WARNING root: No gtk.AccelGroup in the top level window.
17** (sugar-activity:2351): DEBUG: Got client ID "10e56e49483ec8e4512568857295387100000021920001"
18** (sugar-activity:2351): DEBUG: Setting initial properties
19** (sugar-activity:2351): DEBUG: Received SaveYourself(SmSaveLocal, !Shutdown, SmInteractStyleNone, !Fast) in state idle
20** (sugar-activity:2351): DEBUG: Sending SaveYourselfDone(True) for initial SaveYourself
21** (sugar-activity:2351): DEBUG: Received SaveComplete message in state save-yourself-done
22/home/olpc/Activities/Physics.activity/tools.py:279: DeprecationWarning: integer argument expected, got float
23  pygame.draw.circle(self.game.screen,(100,180,255),self.vertices[0],15,3)
241256885933.502252 ERROR olpcgames.canvas: Uncaught top-level exception: Traceback (most recent call last):
25  File "/home/olpc/Activities/Physics.activity/olpcgames/canvas.py", line 122, in _start
26    fn()
27  File "/home/olpc/Activities/Physics.activity/physics.py", line 114, in main
28    game.run()
29  File "/home/olpc/Activities/Physics.activity/physics.py", line 73, in run
30    self.currentTool.handleEvents(event)
31  File "/home/olpc/Activities/Physics.activity/tools.py", line 121, in handleEvents
32    if self.rect.width > 10 and self.rect.height > 10: # elements doesn't like small shapes :(
33AttributeError: 'NoneType' object has no attribute 'width'
34
35Exception in thread Thread-1:
36Traceback (most recent call last):
37  File "/usr/lib/python2.6/threading.py", line 522, in __bootstrap_inner
38    self.run()
39  File "/usr/lib/python2.6/threading.py", line 477, in run
40    self.__target(*self.__args, **self.__kwargs)
41  File "/home/olpc/Activities/Physics.activity/olpcgames/canvas.py", line 122, in _start
42    fn()
43  File "/home/olpc/Activities/Physics.activity/physics.py", line 114, in main
44    game.run()
45  File "/home/olpc/Activities/Physics.activity/physics.py", line 73, in run
46    self.currentTool.handleEvents(event)
47  File "/home/olpc/Activities/Physics.activity/tools.py", line 121, in handleEvents
48    if self.rect.width > 10 and self.rect.height > 10: # elements doesn't like small shapes :(
49AttributeError: 'NoneType' object has no attribute 'width'
50
51* Pygame selected as renderer
52is line
53concave
54* Add Joint: (b2Body(
55       allowSleep        = True,
56       angle             = 1.56726205349,
57       angularDamping    = 0.0,
58       angularVelocity   = 0.0,
59       fixedRotation     = False,
60       isBullet          = False,
61       isSleeping        = True,
62       linearDamping     = 0.0,
63       linearVelocity    = b2Vec2(0,0),
64       massData          = b2MassData(
65       I      = 0.00109442672692,
66       center = b2Vec2(2.58513e-10,-1.16726e-09),
67       mass   = 0.0615999996662),
68       position          = b2Vec2(9.13473,0.167743),
69       userData          = {'color': (4, 4, 4)},
70       GetInertia()      = 0.00109442672692,
71       GetLocalCenter()  = b2Vec2(2.58513e-10,-1.16726e-09),
72       GetMass()         = 0.0615999996662,
73       GetWorldCenter()  = b2Vec2(9.13473,0.167743),
74       GetXForm()        = b2XForm(
75       R        = b2Mat22(
76       col1       = b2Vec2(0.00353427,0.999994),
77       col2       = b2Vec2(-0.999994,0.00353427),
78       GetAngle() = 1.56726205349),
79       position = b2Vec2(9.13473,0.167743)),
80       IsBullet()        = False,
81       IsDynamic()       = True,
82       IsFrozen()        = False,
83       IsRotationFixed() = False,
84       IsSleeping()      = True,
85       IsStatic()        = False), b2Body(
86       allowSleep        = True,
87       angle             = 0.00207367376424,
88       angularDamping    = 0.0,
89       angularVelocity   = 0.0,
90       fixedRotation     = False,
91       isBullet          = False,
92       isSleeping        = True,
93       linearDamping     = 0.0,
94       linearVelocity    = b2Vec2(0,0),
95       massData          = b2MassData(
96       I      = 0.000915199983865,
97       center = b2Vec2(2.81302e-10,6.9186e-10),
98       mass   = 0.0527999997139),
99       position          = b2Vec2(9.50995,0.315124),
100       userData          = {'color': (115, 121, 52)},
101       GetInertia()      = 0.000915199983865,
102       GetLocalCenter()  = b2Vec2(2.81302e-10,6.9186e-10),
103       GetMass()         = 0.0527999997139,
104       GetWorldCenter()  = b2Vec2(9.50995,0.315124),
105       GetXForm()        = b2XForm(
106       R        = b2Mat22(
107       col1       = b2Vec2(0.999998,0.00207367),
108       col2       = b2Vec2(-0.00207367,0.999998),
109       GetAngle() = 0.00207367376424),
110       position = b2Vec2(9.50995,0.315124)),
111       IsBullet()        = False,
112       IsDynamic()       = True,
113       IsFrozen()        = False,
114       IsRotationFixed() = False,
115       IsSleeping()      = True,
116       IsStatic()        = False), (930.0, 761.0), (951.0, 763.0))