[Bugs] #638 NORM: "Playwave" example not working: directory not found?

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Mon Sep 14 09:54:47 EDT 2009


#638: "Playwave" example not working: directory not found?
-----------------------------+----------------------------------------------
    Reporter:  sascha_silbe  |          Owner:  lfaraone         
        Type:  defect        |         Status:  new              
    Priority:  Normal        |      Milestone:  0.86             
   Component:  Pippy         |        Version:  Git as of bugdate
    Severity:  Major         |     Resolution:                   
    Keywords:                |   Distribution:  Unspecified      
Status_field:  Unconfirmed   |  
-----------------------------+----------------------------------------------
Changes (by tomeu):

  * priority:  Unspecified by Maintainer => Normal
  * severity:  Unspecified => Major
  * milestone:  Unspecified by Release Team => 0.86


Old description:

> The "Playwave" example isn't working:
>
> Traceback (most recent call last):
>   File "/home/sugar/.sugar/default/org.laptop.Pippy/tmp/pippy_app.py",
> line 5, in <module>
>     pippy.sound.playWave(sound='didjeridu', loop=True, duration=5)
>   File "/home/sugar/sugar-
> jhbuild/install/share/sugar/activities/Pippy.activity/library/pippy/sound.py",
> line 157, in playWave
>     fullname = finddir() + str(sound)
> TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

New description:

 The "Playwave" example isn't working:

 Traceback (most recent call last):
   File "/home/sugar/.sugar/default/org.laptop.Pippy/tmp/pippy_app.py",
 line 5, in <module>
     pippy.sound.playWave(sound='didjeridu', loop=True, duration=5)
   File "/home/sugar/sugar-
 jhbuild/install/share/sugar/activities/Pippy.activity/library/pippy/sound.py",
 line 157, in playWave
     fullname = finddir() + str(sound)
 TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

--

-- 
Ticket URL: <http://dev.sugarlabs.org/ticket/638#comment:1>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list