After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 319531 - Orca issues a COMM_FAILURE is speech is not available
Orca issues a COMM_FAILURE is speech is not available
Status: RESOLVED DUPLICATE of bug 348084
Product: orca
Classification: Applications
Component: speech
unspecified
Other All
: Normal normal
: ---
Assigned To: Orca Maintainers
Orca Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-10-23 13:44 UTC by Willie Walker
Modified: 2006-07-25 22:24 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Willie Walker 2005-10-23 13:44:21 UTC
Please describe the problem:
If speech is not available, Orca issues a nasty COMM_FAILURE and dies

Steps to reproduce:
1. Configure your system so no speech servers can start or are available
2. Run orca-setup
3. 


Actual results:
$ /usr/bin/orca-setup
Creating .orca directory.
Traceback (most recent call last):
  • File "/usr/bin/orca-setup", line 255 in ?
    useSpeech = setupSpeech ()
  • File "/usr/bin/orca-setup", line 147 in setupSpeech
    if (not speech.init()) or (len(speech.drivers)) == 0:
  • File "/usr/lib/python2.4/site-packages/orca/speech.py", line 183 in init
    isInitialized = driver.driverInit() CORBA.COMM_FAILURE



Expected results:
Orca should issue a more user-friendly message and exit more gracefully.

Does this happen every time?
Yes (when no speech servers are available)

Other information:
Comment 1 Daniel Holbach 2006-01-28 14:09:02 UTC
I'm facing the same issue and would love to include orca into Ubuntu - if you need more information, I'd be happy to help out. I have the following Depends listed for it: libc6 (>= 2.3.4-1), libglib2.0-0 (>= 2.9.3), python (<< 2.5), python (>= 2.4), python-pyorbit (>= 2.0), python-gtk2 (>= 2.4), python-gnome2 (>= 2.6.2), festival, python-at-spi, python-speex on an AMD64.


daniel@bert:~/future$ orca-setup

Traceback (most recent call last):
  • File "/usr/lib/python2.4/site-packages/orca/gnomespeechfactory.py", line 513 in __speak
    return speaker.say(text)
  • File "/usr/lib/python2.4/site-packages/orca/gnomespeechfactory.py", line 81 in say
    return self.gnome_speaker.say(text) COMM_FAILURE
  • File "/usr/bin/orca-setup", line 282 in ?
    useSpeech = setupSpeech()
  • File "/usr/bin/orca-setup", line 232 in setupSpeech
    keyEcho = sayAndPrint(_("Use key echo?  Enter y or n: "), True, True)
  • File "/usr/bin/orca-setup", line 104 in sayAndPrint
    speech.speak(text)
  • File "/usr/lib/python2.4/site-packages/orca/speech.py", line 110 in speak
    __speechserver.speak(text, __resolveACSS(acss))
  • File "/usr/lib/python2.4/site-packages/orca/gnomespeechfactory.py", line 543 in speak
    self.__speak(text, acss, interrupt)
  • File "/usr/lib/python2.4/site-packages/orca/gnomespeechfactory.py", line 520 in __speak
    self.__reset()
  • File "/usr/lib/python2.4/site-packages/orca/gnomespeechfactory.py", line 664 in __reset
    self.__getSpeaker(speakers[name])
  • File "/usr/lib/python2.4/site-packages/orca/gnomespeechfactory.py", line 286 in __getSpeaker
    if self.__speakers.has_key(acss.name()):
AttributeError: '_Speaker' object has no attribute 'name'
daniel@bert:~/future$

Comment 2 Willie Walker 2006-01-30 15:09:40 UTC
For this specific problem, please check to make sure gnome-speech is working.  You can do so by running the test-speech application.  If test-speech doesn't exist, then you don't have gnome-speech installed.  :-)

In any case, I think it would be great if you could get Orca included in Ubuntu at some point.  Orca is currently still not ready for prime time (we're rapidly developing it this very second), but I hope to have the core of Orca relatively stable the first half of this calendar year.  After that, it will be scripts (which we are developing in parallel with the core) and a GUI customization tool.

To help people get going with Orca, we've created a QUICKSTART document which includes an Ubuntu section - the instructions there should hopefully help people get going on a Ubuntu 5.10 system. We have yet to work out the complete exact dependency list, but for now it's basically Gnome 2.12 plus python support and important bug fixes to the AT-SPI infrastructure.

Will
Comment 3 Willie Walker 2006-07-25 22:24:52 UTC
We recently fixed this as bug 348084.

*** This bug has been marked as a duplicate of 348084 ***