Re: Orca Crash with emacspeak speech factory and outloud server



Hi Bart:

The emacspeak speech factory in Orca is a bit sparse in its
implementation and support.  The DECtalk tables for emacspeak are more
complete with respect to the voices they support (thanks to Joanie!),
but the outloud tables are a bit limited.  I think male, man, and female
are all that are supported.

Hope this helps,

Will

On Wed, 2006-10-25 at 12:01 +1000, bart bunting net au wrote:
Hi again,

I'm getting a crash when I try and use the emacspeak speech drivers.  

What happens is that when i do the initial orca config with orca -t i
get the choices and everything speaks correctly up until I select
voice 10 from the outloud server and then I get a crash.  

I'll paste the whole config session below.  Viavoice is working as I
hear the list of voices spoken correctly.


Bart


 bart zart:~$ orca -t
GTK Accessibility Module initialized
Welcome to Orca setup.
Select desired speech system:
1. Emacspeak Speech Services
2. GNOME Speech Services
Enter choice: 1
Select desired speech server.
1. dtk-mv
2. dtk-soft
3. dtk-exp
4. outloud
Enter choice: 4
Select desired voice:
1. ursula
2. dennis
3. wendy
4. frank
5. child
6. kit
7. betty
8. female
9. harry
10. paul
11. male
12. rita
13. man
Enter choice: 10

Traceback (most recent call last):
  File "/usr/local/lib/python2.4/site-packages/orca/orca.py", line 910, in _showPreferencesConsole
    module.showPreferencesUI()
  File "/usr/local/lib/python2.4/site-packages/orca/orca_console_prefs.py", line 321, in showPreferencesUI
    if not setupSpeech(prefsDict):
  File "/usr/local/lib/python2.4/site-packages/orca/orca_console_prefs.py", line 223, in setupSpeech
    speechVoiceChoice)
  File "/usr/local/lib/python2.4/site-packages/orca/orca_console_prefs.py", line 76, in sayAndPrint
    speechServer.speak(text, acss)
  File "/usr/local/lib/python2.4/site-packages/orca/espeechfactory.py", line 254, in speak
    code =self.getvoice(acss)
  File "/usr/local/lib/python2.4/site-packages/orca/outloud.py", line 248, in getvoice
    _defined_voices[name] =acss2voice(acss)
  File "/usr/local/lib/python2.4/site-packages/orca/outloud.py", line 262, in acss2voice
    if d in acss:voice += _table[(familyName, d)][int(acss[d])]
KeyError: ('paul', 'average-pitch')


Traceback (most recent call last):
  File "/usr/local/lib/python2.4/site-packages/orca/orca.py", line 1002, in start
    speech.speak(_("Welcome to Orca."))
  File "/usr/local/lib/python2.4/site-packages/orca/speech.py", line 154, in speak
    __speechserver.speak(text, __resolveACSS(acss), interrupt)
  File "/usr/local/lib/python2.4/site-packages/orca/espeechfactory.py", line 254, in speak
    code =self.getvoice(acss)
  File "/usr/local/lib/python2.4/site-packages/orca/outloud.py", line 248, in getvoice
    _defined_voices[name] =acss2voice(acss)
  File "/usr/local/lib/python2.4/site-packages/orca/outloud.py", line 262, in acss2voice
    if d in acss:voice += _table[(familyName, d)][int(acss[d])]
KeyError: ('ursula', 'average-pitch')

Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "/usr/local/lib/python2.4/site-packages/orca/orca.py", line 1269, in main
    start(registry) # waits until we stop the registry
  File "/usr/local/lib/python2.4/site-packages/orca/orca.py", line 1024, in start
    _switchToPresentationManager(0) # focus_tracking_presenter
  File "/usr/local/lib/python2.4/site-packages/orca/orca.py", line 112, in _switchToPresentationManager
    _PRESENTATION_MANAGERS[_currentPresentationManager].activate()
  File "/usr/local/lib/python2.4/site-packages/orca/focus_tracking_presenter.py", line 750, in activate
    speech.speak(_("Switching to focus tracking mode."))
  File "/usr/local/lib/python2.4/site-packages/orca/speech.py", line 154, in speak
    __speechserver.speak(text, __resolveACSS(acss), interrupt)
  File "/usr/local/lib/python2.4/site-packages/orca/espeechfactory.py", line 254, in speak
    code =self.getvoice(acss)
  File "/usr/local/lib/python2.4/site-packages/orca/outloud.py", line 248, in getvoice
    _defined_voices[name] =acss2voice(acss)
  File "/usr/local/lib/python2.4/site-packages/orca/outloud.py", line 262, in acss2voice
    if d in acss:voice += _table[(familyName, d)][int(acss[d])]
KeyError: ('ursula', 'average-pitch')
_______________________________________________
Orca-list mailing list
Orca-list gnome org
http://mail.gnome.org/mailman/listinfo/orca-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]