2php / eyes-free

Automatically exported from code.google.com/p/eyes-free
2 stars 1 forks source link

Trying to select espeak crashes in Cyanogenmod #472

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install espeak
2. Go to language & input, select Ext-to-speech output
3. Try to toggle from Pico to eSpeak

What is the expected output? What do you see instead?
Expected output: For eSpeak TTS to be selected and for me to be able to 
configure it
Actual output: After clicking on OK the "This speech synthesis engine may be 
able to collect all text.." warning menu, I get "Unfortunately eSpeak TTS has 
stopped" Clicking on OK just freezes the TTS settings menu, with eSpeak 
appearing to be selected, but when I go back to the Language & Input menu and 
open TTS settings again, Pico is still selected. Re-selecting eSpeak will crash 
it

What version of the product are you using? On what operating system?
Running 1.46.02_r8 on Cyanogenmod 12.1-20150529-NIGHTLY-hammerhead, Android 
version 5.1.1

Please provide any additional information below.

I've had the same results installing from Play Store and F-Droid repo

Original issue reported on code.google.com by engr3...@gmail.com on 21 Jul 2015 at 10:18

GoogleCodeExporter commented 8 years ago
I have the same issue:
Logcat output:
I/ActivityManager(  754): Start proc com.googlecode.eyesfree.espeak for service 
com.googlecode.eyesfree.espeak/.TtsService: pid=23101 uid=10116 gids={50116, 
1028, 1015}
D/ActivityThread(23101): handleBindApplication:com.googlecode.eyesfree.espeak
D/dalvikvm(23101): Trying to load lib 
/data/app-lib/com.googlecode.eyesfree.espeak-1/libttsespeak.so 0x41e1aa58
D/dalvikvm(23101): Added shared lib 
/data/app-lib/com.googlecode.eyesfree.espeak-1/libttsespeak.so 0x41e1aa58
E/AndroidRuntime(23101): Process: com.googlecode.eyesfree.espeak, PID: 23101
E/AndroidRuntime(23101): java.lang.RuntimeException: Unable to create service 
com.googlecode.eyesfree.espeak.TtsService: java.util.MissingResourceException: 
No 3-letter language code for locale: nci
E/AndroidRuntime(23101):    at 
com.googlecode.eyesfree.espeak.SpeechSynthesis$Voice.match(SpeechSynthesis.java:
227)
E/AndroidRuntime(23101):    at 
com.googlecode.eyesfree.espeak.TtsService.onIsLanguageAvailable(TtsService.java:
117)
E/AndroidRuntime(23101):    at 
com.googlecode.eyesfree.espeak.TtsService.onLoadLanguage(TtsService.java:141)
E/AndroidRuntime(23101):    at 
com.googlecode.eyesfree.espeak.TtsService.onCreate(TtsService.java:79)
I/ActivityManager(  754): Process com.googlecode.eyesfree.espeak (pid 23101) 
has died.
W/ActivityManager(  754): Service crashed 2 times, stopping: 
ServiceRecord{42868758 u0 com.googlecode.eyesfree.espeak/.TtsService}

Original comment by HunterDJ...@googlemail.com on 2 Aug 2015 at 7:39

GoogleCodeExporter commented 8 years ago
Your logcat output is clearly indicating you are using outdated Eyes free port 
of eSpeak TTS. Apparently Eyes Free project members don't seem to have interest 
porting fixes to this outdated code base eventhough these fixes do exist. It's 
very likely you will get no response and no fix here.
However you may like to install different more up to date eSpeak from 
https://play.google.com/store/apps/details?id=com.reecedunn.espeak . 
Alternatively this is an open-source project you can build your-self by cloning 
the git repository at https://github.com/rhdunn/espeak/tree/android

Original comment by pvdee...@gmail.com on 5 Sep 2015 at 12:50