Re: [orca-list] Exception: SettingsManager._loadBackend failed
- From: Peter Vágner <pvdeejay gmail com>
- To: John Frankish <john frankish outlook com>, "orca-list gnome org" <orca-list gnome org>
- Subject: Re: [orca-list] Exception: SettingsManager._loadBackend failed
- Date: Mon, 19 Sep 2016 12:05:07 +0200
Hello,
Joanie is on a business trip so she may not be able to look into this
immediatelly.
In the mean time, I'll try to come up with some steps you might follow
in order to troubleshoot this.
You are correct orca stores its settings in json encoded file.
The exception you have posted indicates there is a problem with a file
/usr/local/lib/python3.3/site-packages/orca/backends/json_backend.py
or there is something else missing when trying to import that file.
Note orca even did not tried to initialize that module it just tried to
import it.
You might like to run these three lines one after the other to find out
why the module can't be imported via python.
So first start python by just running
python
in the terminal.
Make sure it's python3.3.
Now copy and paste each line at a time and observe the python output
where it breaks and what you might be missing.
# start copying line at a time below
import importlib
import orca
importlib.import_module('.backends.json_backend', 'orca')
# don't copy this and below
Still if there is nothing usefull printed, that json_backend module
imports additional modules.
You can test if you can import them all.
from json import load, dump
import os
from orca import settings, acss
I am sorry I haven't got a more straight forward solution, hopefully
this will at least serve you as a good hint.
Let us know how you get on with this and ask more if you need.
Greetings
Peter
On 18.09.2016 at 15:57 John Frankish wrote:
When I try to start orca-3.21.92 I get this
$ orca
Traceback (most recent call last):
File "/usr/local/bin/orca", line 44, in <module>
from orca import orca
File "/usr/local/lib/python3.3/site-packages/orca/orca.py", line 78, in
<module>
from . import settings_manager
File "/usr/local/lib/python3.3/site-packages/orca/settings_manager.py",
line 568, in <module>
_manager = SettingsManager()
File "/usr/local/lib/python3.3/site-packages/orca/settings_manager.py",
line 111, in __init__
raise Exception('SettingsManager._loadBackend failed.')
Exception: SettingsManager._loadBackend failed.
I believe orca uses a json backend for settings by default - if I bring up a
python3 console I can import json without errors.
I guess I'm missing something, but what?
Regards
John
_______________________________________________
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]