anki icon indicating copy to clipboard operation
anki copied to clipboard

Keyboard layout causes Anki to crash

Open JurajMlich opened this issue 1 month ago • 2 comments

Anki is unable to run if I have multiple layouts configured on my Arch Linux system. I'm using Anki 25.09.2. I'm happy to provide a fix if you point me in the right direction.

Python module pip_system_certs is not installed. System certificate store and custom SSL certificates may not work. See: https://github.com/ankitects/anki/issues/3016
Starting Anki 25.09.2...
2025-11-10 10:37:53,736:INFO:aqt.mediasrv: Serving on http://127.0.0.1:36089
xkbcommon: ERROR: [XKB-661] Couldn't process include statement for 'us(qwerty)'
xkbcommon: ERROR: [XKB-769] Abandoning symbols file "(unnamed map)"
xkbcommon: ERROR: Failed to compile xkb_symbols
xkbcommon: ERROR: [XKB-822] Failed to compile keymap
[1900783:1900825:1110/103753.910344:FATAL:xkb_keyboard_layout_engine.cc(661)] Keymap file failed to load: us,sk(qwerty)
[1]    1900783 trace trap (core dumped)  anki

Appreciate looking into it. Thank you.

JurajMlich avatar Nov 10 '25 02:11 JurajMlich

I'm affected too by this bug, I can provide more details if needed.

daks avatar Nov 10 '25 08:11 daks

Sure, more info is needed. Especially 1) steps to reproduce, 2) the output of the core dump as shown by the message:

[1] 1900783 trace trap (core dumped) anki

Also: if you'd post on the forums (https://forums.ankiweb.net/latest) you'd get way more people looking over it.

GithubAnon0000 avatar Nov 13 '25 22:11 GithubAnon0000