8000 Stop working frequently · Issue #200 · sarim/ibus-avro · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Stop working frequently #200

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
menon92 opened this issue Mar 7, 2023 · 11 comments
Open

Stop working frequently #200

menon92 opened this issue Mar 7, 2023 · 11 comments

Comments

@menon92
Copy link
menon92 commented Mar 7, 2023

Hi @sarim
When I try to write using avro it suddenly stops working. I'm using it in Ubuntu 20.04 LTS

I have run ibus-daemon -xrv and tried to type using ibus avro after typing some character I'm getting the below error message

IBUS:ERROR:ibuslookuptable.c:323:ibus_lookup_table_set_cursor_pos: assertion failed: (cursor_pos < table->candidates->len)
Bail out! IBUS:ERROR:ibuslookuptable.c:323:ibus_lookup_table_set_cursor_pos: assertion failed: (cursor_pos < table->candidates->len)

If I run the ibus restart command in my terminal it starts working again. But the same problem comes again after typing some characters

  • Thanks
@sarim
Copy link
Owner
sarim commented Mar 8, 2023

Is it random or you can type specific words to trigger it? If so please share those words with .candidate-selections.json file from your home folder?

@menon92
Copy link
Author
menon92 commented Mar 8, 2023

It's occurring randomly. Here is an example
Peek 2023-03-08 09-28

@sarim
Copy link
Owner
sarim commented Mar 8, 2023

how did "jo" suddenly became "hokkon"?

@menon92
Copy link
Author
menon92 commented Mar 9, 2023

I try to write যখন by typing jokhon it becomes hokkon. Today I try to regenerate the same think. But when I typing jok It's becoming ko could not get the behavior. Here is an example
Peek 2023-03-09 08-44

@archisman-panigrahi
Copy link
Contributor

Does this help? #195 (comment)

Also check out the commands in this comment.

@menon92
Copy link
Author
menon92 commented Mar 9, 2023

Hi, @apandada1,
It did not work for my case. I have already installed a language package

  • OS: Ubuntu 20.04.5 LTS x86_64
  • DE: GNOME 3.36.5
  • IBus 1.5.22

lang-support

Please let me know If you need any other information

Thanks

@gunnarhj
Copy link
Contributor
gunnarhj commented Mar 9, 2023

The point with the links which @apandada1 posted is not Language Support or installed languages, but the commands used to restart ibus-daemon. Since you are on a GNOME desktop you should not use this command to restart it:

ibus-daemon -xrv

but rather

ibus-daemon -rxd --panel disable

OTOH, normally it shouldn't crash, and you shouldn't need to restart anything. Initially, when just logged in, it should look like this:

$ ps x | grep ibus
   2696 ?        Sl     0:03 /usr/bin/ibus-daemon --panel disable --xim
   3016 ?        Sl     0:00 /usr/libexec/ibus-memconf
   3017 ?        Sl     0:04 /usr/libexec/ibus-extension-gtk3
   3021 ?        Sl     0:00 /usr/libexec/ibus-x11 --kill-daemon
   3024 ?        Sl     0:00 /usr/libexec/ibus-portal
   3126 ?        Sl     0:01 /usr/libexec/ibus-engine-simple
   3158 ?        Sl     0:00 gjs --include-path=/usr/share/ibus-avro /usr/share/ibus-avro/main-gjs.js --ibus > /dev/null
   5793 pts/0    S+     0:00 grep --color=auto ibus
$ env | grep -E 'XMOD|_IM'
XMODIFIERS=@im=ibus
QT_IM_MODULE=ibus

@menon92
Copy link
Author
menon92 commented Mar 9, 2023

Hi, @gunnarhj, Thanks for your response. I have tried the command mentioned in that thread to restart ibus command specifically for GNOME DE.

$ ps x | grep ibus
  16712 ?        Ssl    0:35 ibus-daemon -rxd --panel disable
  16748 ?        Sl     0:00 /usr/libexec/ibus-dconf
  16752 ?        Sl     0:10 /usr/libexec/ibus-extension-gtk3
  16756 ?        Sl     0:00 /usr/libexec/ibus-x11 --kill-daemon
  16775 ?        Sl     0:00 /usr/libexec/ibus-portal
  29576 ?        Sl     0:08 /usr/libexec/ibus-engine-simple
 119947 pts/1    S+     0:00 grep --color=auto ibus
$ env | grep -E 'XMOD|_IM'
QT_IM_MODULE=ibus
XMODIFIERS=@im=ibus

Is there anything that I'm missing?

Thanks

@gunnarhj
Copy link
Contributor
gunnarhj commented Mar 9, 2023

@menon92: No, that LGTM. Well, I don't see the ibus-avro process, but it will be there as soon as you switch to Avro.

So the input problem you are experiencing seems not to be caused by a bad IBus configuration.

@sarim
Copy link
Owner
sarim commented Mar 9, 2023

I'm still confused why jok is becoming ho automatically in his pc (as shown in screencap). That kinda feels some something other than avro is also active?
@menon92 There is a hidden .candidate-selections.json file in your home folder. Rename it to keep backup. Then try again, see if that solves the issue.

@menon92
Copy link
Author
menon92 commented Mar 10, 2023

@sarim I have try remove the .candidate-selections.json still facing the same issue.
Here is today what I have tried. Please let me know If any other test I should perform
Peek 2023-03-10 09-17

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
0