Re: [orca-list] default voice setting not available
- From: Joanmarie Diggs <jdiggs igalia com>
- To: 黄冠能 <hgneng 163 com>
- Cc: orca-list gnome org
- Subject: Re: [orca-list] default voice setting not available
- Date: Thu, 7 Apr 2016 17:19:07 -0400
Hi again.
This looks like it might be a downstream issue. Because I removed the
gnome-orca package and built Orca from git. I cannot reproduce it in the
following:
* master branch
* gnome-3-20 branch
* gnome-3-18 branch
* ORCA_3_18_2 tag (The live CD is using Orca 3.18.2)
Then when I reinstalled the distro's gnome-orca package, I could again
reproduce it.
Each time, in order to reproduce the problem, I did the following:
1. remove the directory containing Orca's settings
($HOME/.local/share/orca).
2. in a terminal, I launched Orca using 'orca -s'
3. press the 'ok' button
Having verified the bug wasn't present, I uninstalled the being-tested
version of Orca (master, 3.20, 3.18.3pre, 3.18.2), installed the
to-be-tested version of Orca, and repeated steps 1, 2, and 3 above.
Since I can only reproduce the problem if I use the live CD's orca
package, I think it would make sense to report this downstream. Though
Luke Yelavich is on this mailing list, so he may be reading this right
now. <smiles>
Lastly, a related aside: I did see a small, harmless traceback when I
reproduced the steps using Orca from upstream. I have committed a fix in
the gnome-3-18 branch, the gnome-3-20 branch, and master. That won't fix
the problem reported here, however.
--joanie
On 04/07/2016 07:36 AM, 黄冠能 wrote:
Hi all,
I am using Ubuntu 16.04-beta. Orca become unusable after I run `orca -s` and save without doing any
changes. There are a lot error message related to key ‘default’ not exists in voices. This can be
reproduced in a clean Ubuntu 16.04 Live CD.
If I hack the python file and add default value {} to voices[‘default’], the issue can be workaround.
However, there are many places need to changed.
I am new to Orca. Where is Orca’s setting file stored? Is there any simple way to setup default voice
attribute to fix this issue?
Thanks a lot in advanced.
A sample error message:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/orca/orca.py", line 462, in loadUserSettings
settings.voices.get(settings.SYSTEM_VOICE))
File "/usr/lib/python3/dist-packages/orca/speech.py", line 183, in speak
_speak(content, acss, interrupt)
File "/usr/lib/python3/dist-packages/orca/speech.py", line 164, in _speak
_speechserver.speak(text, __resolveACSS(voice), interrupt)
File "/usr/lib/python3/dist-packages/orca/speechdispatcherfactory.py", line 451, in speak
self._speak(text, acss)
File "/usr/lib/python3/dist-packages/orca/speechdispatcherfactory.py", line 328, in _speak
self._apply_acss(acss)
File "/usr/lib/python3/dist-packages/orca/speechdispatcherfactory.py", line 266, in _apply_acss
and acss == settings.voices[settings.DEFAULT_VOICE]:
KeyError: ‘default'
Regards,
Cameron
_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide: https://help.gnome.org/users/gnome-help/stable/a11y.html
Log bugs and feature requests at http://bugzilla.gnome.org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]