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

David Farning dfarning at sugarlabs.org
Wed Aug 5 16:50:47 EDT 2009


On Wed, Aug 5, 2009 at 3:30 PM, Andrés Arrieta
Perréard<andres.ap.linux at gmail.com> wrote:
> Sure, tell me how to proceed.

Ok great,

To help narrow down the problem:

It is helpful to know how you are running sugar; XO, SoaS,....

It is helpful to know what version of Sugar you are running.

It is helpful to know what version of Activities you are running.

Can you please post that information?

Once we receive that information, we will let this thread sit for a
couple of hours to see if anyone has a quick answer.  If no one has
any quick answers, the next step will be to create a separate bug
report for each activity which is failing.

Thanks for taking the time to work through this.

davd


> On Wed, Aug 5, 2009 at 3:16 PM, David Farning <dfarning at sugarlabs.org>
> wrote:
>>
>> On Wed, Aug 5, 2009 at 3:11 PM, Andrés Arrieta
>> Perréard<andres.ap.linux at gmail.com> wrote:
>>
>> Andres,
>>
>> Thanks for the feedback.  Would you mind working with me to turn this
>> feedback into bug reports for the development side of the project.
>>
>> thanks
>>
>> david
>>
>> > 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)
>> >
>> >
>> > _______________________________________________
>> > Sugar-devel mailing list
>> > Sugar-devel at lists.sugarlabs.org
>> > http://lists.sugarlabs.org/listinfo/sugar-devel
>> >
>> >
>
>
>
> --
> - Andrés Arrieta Perréard (XE1YAA)
>
>


More information about the Sugar-devel mailing list