sugarlabs / memorize-activity

A memory game, not only to play but also to create you own games, for the Sugar learning environment
GNU General Public License v2.0
1 stars 15 forks source link

Fallback to espeak binary is broken #3

Closed jonassmedegaard closed 6 years ago

jonassmedegaard commented 9 years ago

speak/espeak.py has code to try use GStreamer espeak module and if that fails then instead try use espeak binary.

...but with python GStreamer module is installed but GStreamer espeak module unavailable, Memorize fails to load. Logfile hints that it is loaded via speak/voice.py _init_voice_cache loop (sorry, I have no easy access to the test machine so is writing from memory).

godiard commented 9 years ago

@jonassmedegaard, I can try solve this, but without the gstreameer espeak plugin, you loose the text to speech feature [1] in Sugar too. Did you try package the plugin? Trisquel have a working package [2]

[1] http://wiki.sugarlabs.org/go/Features/Global_Text_To_Speech [2] http://mirror.fsf.org/trisquel/pool/main/g/gst-plugins-espeak/

jonassmedegaard commented 9 years ago

Quoting Gonzalo Odiard (2015-06-28 19:10:40)

@jonassmedegaard, I can try solve this, but without the gstreameer espeak plugin, you loose the text to speech feature [1] in Sugar too. Did you try package the plugin? Trisquel have a working package [2]

Thanks for the warning. Package gst-plugins-espeak already packaged for Debian, awaiting ftpmaster approval: https://ftp-master.debian.org/new/gst-plugins-espeak_0.4.0-1.html

I still find it relevant to fix this bug in Memorize - or simplify code to not try. :-)

godiard commented 9 years ago

I agree about simplify code on Memorize, I will keep this issue opened.