Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#4848 closed defect (fixed)

Clock-16 does not speak on Fedora 18

Reported by: quozl Owned by: godiard
Priority: Normal Milestone: Unspecified
Component: Clock Version: Git as of bugdate
Severity: Minor Keywords:
Cc: Distribution/OS: Fedora
Bug Status: New

Description

(sugar-activity:805): GStreamer-CRITICAL **: gst_element_factory_make: 
    assertion `gst_is_initialized ()' failed
espeak_Synchronize() failed, maybe error when opening output device

Regression introduced fac8b9b.

In _do_speak_time() the exception handler is active because Gst.parse_launch() raises GError: no element "espeak". There is no GStreamer element for espeak installed. As a result speaker.py is called.

Speculation: espeak_cmd.py from the Speak activity may be a better method. It writes espeak output to a pipe which is then passed to GStreamer.

Change History (3)

comment:1 Changed 9 years ago by godiard

Was a problem with espeak command in F18.

Running:

espeak "hello world"

in the terminal gives a error about not be able to open the audio device.

Implemented a solution using tts in the sugar toolkit (Need Sugar 0.104)

https://github.com/godiard/clock-activity/commit/4aaa25cca856c4226423722bab6f0751815d9cba

comment:2 Changed 9 years ago by godiard

  • Resolution set to fixed
  • Status changed from new to closed

comment:3 Changed 9 years ago by quozl

Note: See TracTickets for help on using tickets.