[Sugar-devel] [Activities] Issues Clock Maze Measure Physiscs

Andrés Arrieta Perréard andres.ap.linux at gmail.com
Wed Aug 5 16:11:55 EDT 2009


Hi,
I've been having some problems with clock, maze, measure, and physics. I
hope some one can't point me out what's going on.

*Clock (Some times you can not see the clock):*
*/usr/lib/python2.6/site-packages/sugar/util.py:25: DeprecationWarning: the
sha module is deprecated; use the hashlib module instead
  import sha
1248977761.813519 WARNING root: No gtk.AccelGroup in the top level window.
1248977761.851770 WARNING root: No gtk.AccelGroup in the top level window.
** (sugar-activity:2323): DEBUG: Got client ID
"1093bb3c6e2cea8c72124897776519290500000021170003"
** (sugar-activity:2323): DEBUG: Setting initial properties
** (sugar-activity:2323): DEBUG: Received SaveYourself(SmSaveLocal,
!Shutdown, SmInteractStyleNone, !Fast) in state idle
** (sugar-activity:2323): DEBUG: Sending SaveYourselfDone(True) for initial
SaveYourself
** (sugar-activity:2323): DEBUG: Received SaveComplete message in state
save-yourself-done
1248977878.267682 WARNING root: No gtk.AccelGroup in the top level window.
1248977880.421383 WARNING root: No gtk.AccelGroup in the top level window.
1248977880.439221 WARNING root: No gtk.AccelGroup in the top level window.
1248977880.441122 WARNING root: No gtk.AccelGroup in the top level window.*

*Maze (wont start):**
/usr/lib/python2.6/site-packages/sugar/util.py:25: DeprecationWarning: the
sha module is deprecated; use the hashlib module instead
  import sha
1248976744.209587 WARNING root: No gtk.AccelGroup in the top level window.
1248976744.213911 WARNING root: No gtk.AccelGroup in the top level window.
** (sugar-activity:2269): DEBUG: Got client ID
"1093bb3c6e2cea8c72124897674772567300000021170000"
** (sugar-activity:2269): DEBUG: Setting initial properties
** (sugar-activity:2269): DEBUG: Received SaveYourself(SmSaveLocal,
!Shutdown, SmInteractStyleNone, !Fast) in state idle
** (sugar-activity:2269): DEBUG: Sending SaveYourselfDone(True) for initial
SaveYourself
** (sugar-activity:2269): DEBUG: Received SaveComplete message in state
save-yourself-done
1248976777.877888 WARNING olpcgames.pausescreen: Pausing activity after 30
with function <function pauseScreen at 0x9a752cc>
1248976798.908470 WARNING olpcgames.pausescreen: Activity restarted
1248976829.581685 WARNING olpcgames.pausescreen: Pausing activity after 30
with function <function pauseScreen at 0x9a752cc>
1248976878.653855 WARNING olpcgames.pausescreen: Activity restarted*

*Measure (Wont Start):**
/usr/lib/python2.6/site-packages/sugar/util.py:25: DeprecationWarning: the
sha module is deprecated; use the hashlib module instead
  import sha
amixer: Unable to find simple control 'PCM',0

$$journal.py: This is the file I will work on
/home/liveuser/.sugar/default/org.laptop.MeasureActivity/data/tmp3UIdNJ
Traceback (most recent call last):
  File "/usr/bin/sugar-activity", line 21, in <module>
    main.main()
  File "/usr/lib/python2.6/site-packages/sugar/activity/main.py", line 140,
in main
    create_activity_instance(activity_constructor, activity_handle)
  File "/usr/lib/python2.6/site-packages/sugar/activity/main.py", line 34,
in create_activity_instance
    activity = constructor(handle)
  File "/home/liveuser/Activities/Measure.activity/measure.py", line 71, in
__init__
    self.audiograb = AudioGrab(self.wave.new_buffer, self.ji)
  File "/home/liveuser/Activities/Measure.activity/audiograb.py", line 61,
in __init__
    self.PCM = self.get_PCM_gain()
  File "/home/liveuser/Activities/Measure.activity/audiograb.py", line 382,
in get_PCM_gain
    return int(p)
ValueError: invalid literal for int() with base 10: ''*


*Physiscs (Video all messed up, photos on links)*
http://dashwire.com/alphinux/image/bs0XtsFtSr3QccadbiFPIU/
http://dashwire.com/alphinux/image/bUbgtUFtCr3QccadbiFPIU/
http://dashwire.com/alphinux/image/bEd3deFtCr3R4JadbiFTTI/

*/usr/lib/python2.6/site-packages/sugar/util.py:25: DeprecationWarning: the
sha module is deprecated; use the hashlib module instead
  import sha
1248973844.612091 WARNING root: No gtk.AccelGroup in the top level window.
1248973844.626403 WARNING root: No gtk.AccelGroup in the top level window.
1248973844.631980 WARNING root: No gtk.AccelGroup in the top level window.
1248973844.635663 WARNING root: No gtk.AccelGroup in the top level window.
1248973844.639058 WARNING root: No gtk.AccelGroup in the top level window.
1248973844.642383 WARNING root: No gtk.AccelGroup in the top level window.
1248973844.645793 WARNING root: No gtk.AccelGroup in the top level window.
1248973844.649399 WARNING root: No gtk.AccelGroup in the top level window.
1248973844.652005 WARNING root: No gtk.AccelGroup in the top level window.
1248973844.654533 WARNING root: No gtk.AccelGroup in the top level window.
1248973844.657102 WARNING root: No gtk.AccelGroup in the top level window.
1248973844.659660 WARNING root: No gtk.AccelGroup in the top level window.
1248973844.672775 WARNING root: No gtk.AccelGroup in the top level window.
** (sugar-activity:2412): DEBUG: Got client ID
"10d240b9f8cec92402124897384789079400000023220001"
** (sugar-activity:2412): DEBUG: Setting initial properties
** (sugar-activity:2412): DEBUG: Received SaveYourself(SmSaveLocal,
!Shutdown, SmInteractStyleNone, !Fast) in state idle
** (sugar-activity:2412): DEBUG: Sending SaveYourselfDone(True) for initial
SaveYourself
** (sugar-activity:2412): DEBUG: Received SaveComplete message in state
save-yourself-done
/home/liveuser/Activities/Physics.activity/tools.py:80: DeprecationWarning:
integer argument expected, got float
  pygame.draw.circle(self.game.screen,
(100,180,255),self.pt1,self.radius,thick)
1248973871.619364 WARNING root: No gtk.AccelGroup in the top level window.
1248973873.628075 WARNING olpcgames.activity: No file created in
'/home/liveuser/.sugar/default/org.laptop.physics/instance/1248973873'
1248973873.672515 WARNING root: No gtk.AccelGroup in the top level window.
1248973873.680338 WARNING root: No gtk.AccelGroup in the top level window.
1248973873.681211 WARNING root: No gtk.AccelGroup in the top level window.
1248973873.683851 WARNING root: No gtk.AccelGroup in the top level window.
1248973873.685444 WARNING root: No gtk.AccelGroup in the top level window.
1248973873.685910 WARNING root: No gtk.AccelGroup in the top level window.
1248973873.686345 WARNING root: No gtk.AccelGroup in the top level window.
1248973873.686778 WARNING root: No gtk.AccelGroup in the top level window.
1248973873.687187 WARNING root: No gtk.AccelGroup in the top level window.
1248973873.687619 WARNING root: No gtk.AccelGroup in the top level window.
1248973873.703018 WARNING root: No gtk.AccelGroup in the top level window.
1248973873.703706 WARNING root: No gtk.AccelGroup in the top level window.
1248973873.704137 WARNING root: No gtk.AccelGroup in the top level window.
1248973873.704550 WARNING root: No gtk.AccelGroup in the top level window.
Loading box2d for Linux (32bit)
* Pygame selected as renderer
*

So there you.

-- 
- Andrés Arrieta Perréard (XE1YAA)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sugarlabs.org/archive/sugar-devel/attachments/20090805/7bbfb8b5/attachment.htm 


More information about the Sugar-devel mailing list