[Bugs] #1589 NORM: Clock 5 does not speak in F11- XO1/os9 Sugar 0.84.7
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Tue Jun 7 11:01:01 EDT 2011
#1589: Clock 5 does not speak in F11- XO1/os9 Sugar 0.84.7
----------------------------+-----------------------------------------------
Reporter: mavrothal | Owner: garycmartin
Type: defect | Status: accepted
Priority: Normal | Milestone: Unspecified by Release Team
Component: Clock | Version: Unspecified
Severity: Unspecified | Keywords:
Distribution: OLPC | Status_field: Needinfo
----------------------------+-----------------------------------------------
Comment(by garycmartin):
Thanks for re-testing.
Replying to [comment:3 mavrothal]:
> *Howevwer* after a failed clock speak, if you close and reopen the
activity then there is NO clock, but text time/date is OK.
> More important the XO-1 will fail even to shutdown, unless you restart
(ctrl-alt-del) X, (there is nothing relevant in Xorg.log).
> This does not appear to be an espeak issue because if you first issue
espeak in terminal and quit it (ctrl+C) the clock activity starts and
shows the clock fine and the XO shuts down ok too.
If you run top in Terminal after the clock fails to speak you will see the
hung espeak process ticking away, this is what is causing the subsequent
issue. If you killall espeak, and then resume Clock activity the face will
correctly draw.
> On the XO-1 running F14 OLPC os22/Sugar0.92 clock 6 speaks the time once
(occasionally half a second time) and then no more.
> espeak works fine from terminal before you run the Clock activity but
not after.
I find espeak run from the terminal will lock up just the same after a
hand full of trys, either part way through speach, or at the end of
speech, just like from Clock.
> Again on Clock re-launch after a failed speaking session, there is no
clock and the XO-1 fails to restart/shutdown till you force-restart X.
> This is probably a different bug, but is also speaking clock related...
Try killall espeak from Terminal to see if this helps, I've not seen the
XO-1 fail to restart/shutdown here.
FWIW, the espeak issue appears to be that it is not correctly working with
the audio subsystem. The other activities using speech seem to have
avoided this case as they all need access to the sound data so they can
draw animated mouths, or highlight words one by one in sync; to do this
they all seem to be using espeak just to generate a wav file that they
either save to /tmp or feed into a pipe, they then have their own separate
code for feeding in that saved wav into the audio subsystem themselves
(usually via gstreamer as far as I can tell). It's quite a lot of swings
and roundabouts!
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/1589#comment:4>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list