You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pyttsx 1.0 was working fine for me on a Mac running Lion. Then I added some new I18n voices (via the Dictation & Speech) control panel, and pyttsx started crashing on the getProperty('voices') call, making it essentially unusable. Version 1.1 of pyttsx has the same bug.
I traced the error to line 70 of drivers/nsss.py, where it has attr['VoiceLanguage'], which is now deprecated. Changing this to attr['VoiceLocaleIdentifier'] fixed the problem. It appears VoiceLanguage was deprecated in OSX10.5, and now has actually ceased to exist for some voices.
The text was updated successfully, but these errors were encountered:
pyttsx 1.0 was working fine for me on a Mac running Lion. Then I added some new I18n voices (via the Dictation & Speech) control panel, and pyttsx started crashing on the getProperty('voices') call, making it essentially unusable. Version 1.1 of pyttsx has the same bug.
I traced the error to line 70 of drivers/nsss.py, where it has attr['VoiceLanguage'], which is now deprecated. Changing this to attr['VoiceLocaleIdentifier'] fixed the problem. It appears VoiceLanguage was deprecated in OSX10.5, and now has actually ceased to exist for some voices.
The text was updated successfully, but these errors were encountered: