Re: [orca-list] "UnboundLocalError" while attempting to save preferences on Ubuntu 18.04.1
- From: Joanmarie Diggs <jdiggs igalia com>
- To: Delaunay Christophe <christophe delaunay technicolor com>
- Cc: "'Orca-List' (orca-list gnome org)" <orca-list gnome org>
- Subject: Re: [orca-list] "UnboundLocalError" while attempting to save preferences on Ubuntu 18.04.1
- Date: Wed, 5 Dec 2018 09:25:27 -0500
That's a downstream bug. Upstream Orca doesn't have a gsettings_backend.py.
--joanie
On 12/4/18 11:51 AM, Delaunay Christophe via orca-list wrote:
Hi all,
I wonder why orca did not leave the “Screen reader preferences” dialog
when I pressed the <ok> button, or why nothing seems to happen when I
press the <Apply> button.
In order to know what happens, I did the following:
1. I opened a terminal window.
2. At the prompt, I pressed the “script” command for the terminal to
log all the activity in a “typescript” file.
3. Then, I stopped orca by pressing <alt+super+s>.
4. I waited a few seconds after I heard “Screen reader off” and read
“screen not in text mode” in braille.
5. Since I was in the terminal window yet, I type the following
command: “orca –debug”
6. I could hear “screen reader on” and browse the terminal window in
braille so I pressed <insert+space> to open the screen reader
preferences.
7. I tried to change one setting and then pressed the <Apply> button.
On the terminal, I received the following error:
----- Beginning of error text -----
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/orca/orca_gui_prefs.py", line
3054, in applyButtonClicked
self.writeUserPreferences()
File "/usr/lib/python3/dist-packages/orca/orca_gui_prefs.py", line
385, in writeUserPreferences
keyBindingsDict)
File "/usr/lib/python3/dist-packages/orca/settings_manager.py", line
485, in saveSettings
self.profileKeybindings)
File
"/usr/lib/python3/dist-packages/orca/backends/gsettings_backend.py",
line 232, in saveProfileSettings
self._saveVoiceSettings(general['voices'], profile)
File
"/usr/lib/python3/dist-packages/orca/backends/gsettings_backend.py",
line 615, in _saveVoiceSettings
elif appSpecific == False and setEstablished == True:
UnboundLocalError: local variable 'setEstablished' referenced before
assignment
----- End of error text -----
My system is Ubuntu 18.04.1 with Gnome 3.28.
Did anyone else notice this? What could be wrong in my environment?
Many thanks in advance for any advice. Have a nice day. Chris D
_______________________________________________
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]