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 768092 - ImportError: No module named 'antler_settings'
ImportError: No module named 'antler_settings'
Status: RESOLVED FIXED
Product: caribou
Classification: Applications
Component: default
0.4.x
Other Linux
: Normal normal
: ---
Assigned To: caribou-maint
caribou-maint
Depends on:
Blocks:
 
 
Reported: 2016-06-27 12:06 UTC by Laurent Bigonville
Modified: 2016-07-09 07:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Laurent Bigonville 2016-06-27 12:06:34 UTC
Hi,

When trying to start antler-keyboard, I get the following backtrace:

Traceback (most recent call last):
  • File "/usr/lib/python3.5/runpy.py", line 184 in _run_module_as_main
    "__main__", mod_spec)
  • File "/usr/lib/python3.5/runpy.py", line 85 in _run_code
    exec(code, run_globals)
  • File "/usr/lib/python3/dist-packages/caribou/antler/main.py", line 6 in <module>
    from .keyboard_view import AntlerKeyboardView
  • File "/usr/lib/python3/dist-packages/caribou/antler/keyboard_view.py", line 3 in <module>
    from antler_settings import AntlerSettings
ImportError: No module named 'antler_settings'

The following change seems to fix this:

-from antler_settings import AntlerSettings
+from .antler_settings import AntlerSettings

This is similar to bug #722634
Comment 1 Parag AN 2016-06-27 12:41:16 UTC
I believe commit c2bb701 fixes issue reported here.
Comment 2 Laurent Bigonville 2016-06-27 13:09:18 UTC
No, that patch is not enough unfortunately
Comment 3 Parag AN 2016-06-27 16:09:31 UTC
Ah right, I missed this change. Actually I used only caribou not antler-keyboard yet so I have less attention towards its code.
Comment 4 Laurent Bigonville 2016-06-27 16:39:08 UTC
3c4180d3f6645081aec833610db88a92a465403b seems to fix this
Comment 5 Parag AN 2016-07-09 07:39:47 UTC
Wish I would have given permission to close this bug.