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 791001 - caribou-antler fails to start in GNOME Flashback, not a number
caribou-antler fails to start in GNOME Flashback, not a number
Status: RESOLVED FIXED
Product: caribou
Classification: Applications
Component: default
0.4.x
Other Linux
: Normal major
: ---
Assigned To: caribou-maint
caribou-maint
Depends on:
Blocks:
 
 
Reported: 2017-11-29 21:09 UTC by Jeremy Bicha
Modified: 2017-12-01 17:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
style.css: Fix failure to start in GNOME Flashback (867 bytes, patch)
2017-12-01 17:26 UTC, Jeremy Bicha
committed Details | Review

Description Jeremy Bicha 2017-11-29 21:09:53 UTC
caribou 0.4.21
GNOME 3.26
Debian Testing (and Ubuntu 18.04 Alpha)

sudo apt install caribou-antler libcaribou-gtk3-module gnome-session-flashback

Open Settings > Universal Access and turn on the Screen Keyboard

Restart and log into GNOME Flashback.

The onscreen keyboard fails to start. journalctl shows this error:

Traceback (most recent call last):
  • File "/usr/lib/python3.6/runpy.py", line 193 in _run_module_as_main
    "__main__", mod_spec)
  • File "/usr/lib/python3.6/runpy.py", line 85 in _run_code
    exec(code, run_globals)
  • File "/usr/lib/python3/dist-packages/caribou/antler/main.py", line 71 in <module>
    command(args).run()
  • File "/usr/lib/python3/dist-packages/caribou/antler/main.py", line 17 in __init__
    self.window = AntlerWindowEntry(AntlerKeyboardView)
  • File "/usr/lib/python3/dist-packages/caribou/antler/window.py", line 413 in __init__
    AntlerWindow.__init__(self, keyboard_view_factory, placement)
  • File "/usr/lib/python3/dist-packages/caribou/antler/window.py", line 225 in __init__
    self.keyboard_view = keyboard_view_factory (keyboard_type=settings.keyboard_type.value)
  • File "/usr/lib/python3/dist-packages/caribou/antler/keyboard_view.py", line 233 in __init__
    [GLib.get_user_data_dir()] + list(GLib.get_system_data_dirs()))
  • File "/usr/lib/python3/dist-packages/caribou/antler/keyboard_view.py", line 297 in _load_style
    provider.load_from_path(fn)
GLib.Error: gtk-css-provider-error-quark: style.css:16:8not a number (1)

Comment 1 Daiki Ueno 2017-12-01 16:30:53 UTC
While you are at it, would you mind providing a patch to style.css?
Comment 2 Jeremy Bicha 2017-12-01 17:26:37 UTC
Created attachment 364774 [details] [review]
style.css: Fix failure to start in GNOME Flashback

The order for 'font' properties matters
https://developer.gnome.org/gtk3/stable/chap-css-properties.html

This patch fixes the failure to start, but Caribou was still unusuable so I filed bug 791096 for that.
Comment 3 Daiki Ueno 2017-12-01 17:29:17 UTC
Review of attachment 364774 [details] [review]:

Thanks!
Comment 4 Jeremy Bicha 2017-12-01 17:33:08 UTC
Attachment 364774 [details] pushed as 13df8b9 - style.css: Fix failure to start in GNOME Flashback