oni2 icon indicating copy to clipboard operation
oni2 copied to clipboard

NULL data at keyboard-layout-linux.c:60

Open black7375 opened this issue 2 years ago • 7 comments

When I run onivim2, it crashes and turns off.

IME: Riey/kime

OS Info:

Linux black7375 5.12.9-1-MANJARO #1 SMP PREEMPT Thu Jun 3 14:56:42 UTC 2021 x86_64 GNU/Linux

onivim2-crash.log

(Failure "NULL data at keyboard-layout-linux.c:60"):

black7375 avatar Jul 20 '21 07:07 black7375

Hi @black7375 ,

Thanks for reporting - what desktop environment are you using?

I'm guessing this is related to https://github.com/onivim/oni2/issues/3438 - right now, Onivim requires xwayland to load keyboard layouts.

bryphe avatar Jul 21 '21 01:07 bryphe

I'am using KDE(X11).

black7375 avatar Jul 21 '21 01:07 black7375

This also happens on

Manjaro Gnome 40.3 X11

lallenfrancisl avatar Aug 24 '21 19:08 lallenfrancisl

Oh. I managed to start Oni2 by unsetting LANG. It was previously set to cv_RU.UTF-8.

@lallenfrancisl, @black7375, can you please confirm that running LANG=en_US.UTF-8 Oni2_editor (or unset LANG && Oni2_editor) works just as expected?

gardspirito avatar Aug 27 '21 14:08 gardspirito

@gardspirito Yes running with LANG=en_US.UTF-8 Oni2_editor makes the editor work

lallenfrancisl avatar Aug 27 '21 14:08 lallenfrancisl

My laptop is set to LANG=en_IL by default, and oni wouldn't start. Unsetting LANG or LANG=en_US fixed it for me too

JoshWillik avatar Feb 17 '22 21:02 JoshWillik

@gardspirito Yes, it works!!

black7375 avatar Feb 18 '22 00:02 black7375