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 467563 - Speech Dispatcher backend crashes in text setup
Speech Dispatcher backend crashes in text setup
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: speech
2.19.x
Other All
: Normal critical
: 2.20.0
Assigned To: Willie Walker
Orca Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-08-17 06:20 UTC by Tomas Cerha
Modified: 2008-07-22 19:28 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20


Attachments
Handle None value passed as `acss'. (979 bytes, patch)
2007-08-17 06:28 UTC, Tomas Cerha
committed Details | Review

Description Tomas Cerha 2007-08-17 06:20:49 UTC
Steps to reproduce:
1. Run orca -t
2. Select Speech Dispatcher
3. Select the prefered synthesizer (whichever)


Stack trace:
Traceback (most recent call last):
  • File "/usr/local/lib/python2.4/site-packages/orca/orca.py", line 1049 in _showPreferencesConsole
    module.showPreferencesUI()
  • File "/usr/local/lib/python2.4/site-packages/orca/orca_console_prefs.py", line 434 in showPreferencesUI
    if not setupSpeech(prefsDict):
  • File "/usr/local/lib/python2.4/site-packages/orca/orca_console_prefs.py", line 237 in setupSpeech
    speechServerChoice) # server
  • File "/usr/local/lib/python2.4/site-packages/orca/orca_console_prefs.py", line 106 in sayAndPrint
    speechServer.speak(text, acss)
  • File "/usr/local/lib/python2.4/site-packages/orca/speechdispatcherfactory.py", line 318 in speak
    self._speak(text, acss)
  • File "/usr/local/lib/python2.4/site-packages/orca/speechdispatcherfactory.py", line 232 in _speak
    self._apply_acss(acss)
  • File "/usr/local/lib/python2.4/site-packages/orca/speechdispatcherfactory.py", line 226 in _apply_acss
    value = acss.get(property)
AttributeError: 'NoneType' object has no attribute 'get'

Other information:
None value passed as `acss' to the speak command is not handled by the Speech Dispatcher backend.  This normally does not happen, but in the text setup (orca -t), it is the case.
Comment 1 Tomas Cerha 2007-08-17 06:28:14 UTC
Created attachment 93829 [details] [review]
Handle None value passed as `acss'.
Comment 2 Willie Walker 2007-08-20 13:55:08 UTC
Committed to SVN HEAD and gnome-2-20 branch.  Thanks!  Closing as fixed.  This will make it into the 2.19.91 release.