Bug 2181417 - Unable to keep Input Method running
Summary: Unable to keep Input Method running
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: imsettings
Version: 37
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Akira TAGOH
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-24 04:09 UTC by cooper
Modified: 2023-03-26 14:06 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-03-26 14:06:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Screenshot of pop up (46.99 KB, image/png)
2023-03-24 04:09 UTC, cooper
no flags Details

Description cooper 2023-03-24 04:09:38 UTC
Created attachment 1953324 [details]
Screenshot of pop up

**Description of problem:**
Whenever I login to Fedora this window pops out(attached screenshot), "Unable to keep Input Method running. Giving up to bring the process up because main Input Method process for fcitx5 rapidly died many times. 
See $XDG_CACHE_HOME/imsettings/log for more details."

Log details from .cache/imsettings:

imsettings information
==========================
XINPUTRC: /home/fedora/.config/imsettings/xinputrc
	  File: /home/fedora/.config/imsettings/xinputrc -> /etc/X11/xinit/xinput.d/fcitx5.conf
	  Size: 35        	Blocks: 8          IO Block: 4096   symbolic link
	Device: 0,31	Inode: 22626819    Links: 1
	Access: (0777/lrwxrwxrwx)  Uid: ( 1000/  fedora)   Gid: ( 1000/  fedora)
	Context: unconfined_u:object_r:config_home_t:s0
	Access: 2023-03-24 08:52:41.728667609 +0600
	Modify: 2023-03-24 08:52:37.358466059 +0600
	Change: 2023-03-24 08:52:37.358466059 +0600
	 Birth: 2023-03-24 08:52:37.358466059 +0600
Is DBus enabled: yes
Is imsettings enabled: yes
Is GTK+ supported: no
Is Qt supported: no
DESKTOP: KDE
GUESS_DESKTOP: $XDG_CURRENT_DESKTOP
DISABLE_IMSETTINGS: 
IMSETTINGS_DISABLE_DESKTOP_CHECK: 
DBUS_SESSION_BUS_ADDRESS: unix:path=/run/user/1000/bus
GTK_IM_MODULE: fcitx
QT_IM_MODULE: fcitx
XMODIFIERS: @im=fcitx5
IMSETTINGS_MODULE: fcitx5
IMSETTINGS_INTEGRATE_DESKTOP: yes
IMSETTINGS_DISABLE_SYS_XINPUTRC: no
IMSETTINGS_DISABLE_USER_XINPUTRC: no


[         1.227663]: IMSettings-Daemon[1161]: WARNING **: Child process exited with code 1
[         1.254247]: IMSettings-Daemon[1161]: INFO: X Display is available
[         1.641626]: IMSettings-Daemon[1161]: INFO: Attempting to switch IM to fcitx5 [lang=C, desktop=KDE, update=false]

[         1.875716]: IMSettings-Daemon[1161]: WARNING **: Child process exited with code 1
[         1.875926]: IMSettings-Daemon[1161]: INFO:   no need to invoke any auxiliary process for fcitx5
[         1.876041]: IMSettings-Daemon[1161]: INFO:   Starting the main process for fcitx5 [lang:C]
[         1.878048]: IMSettings-Daemon[1161]: INFO:   Started fcitx5: [process: /usr/bin/fcitx5 -D, lang: C, pid: 5783, id: 132, time: 2023-03-24T09:11:01.877976+06
[         1.878786]: IMSettings-GSettings backend[1161]: INFO: Setting up fcitx:xim as gtk+ immodule
[         1.892211]: fcitx5[5783]: I2023-03-24 09:11:01.892063 instance.cpp:1270] Override Enabled Addons: {}

[         1.892376]: fcitx5[5783]: I2023-03-24 09:11:01.892162 instance.cpp:1271] Override Disabled Addons: {}

[         1.901741]: fcitx5[5783]: I2023-03-24 09:11:01.901528 addonmanager.cpp:191] Loaded addon xcb

[         1.905293]: fcitx5[5783]: I2023-03-24 09:11:01.905129 addonmanager.cpp:191] Loaded addon quickphrase

[         1.906369]: fcitx5[5783]: I2023-03-24 09:11:01.906216 addonmanager.cpp:191] Loaded addon imselector

[         1.930952]: fcitx5[5783]: I2023-03-24 09:11:01.930777 addonmanager.cpp:191] Loaded addon keyboard

[         1.934162]: fcitx5[5783]: E2023-03-24 09:11:01.933627 addonloader.cpp:61] Failed to create addon: dbus Unable to request dbus name. Is there another fcitx already running?

[         1.934340]: fcitx5[5783]: I2023-03-24 09:11:01.933748 addonmanager.cpp:188] Could not load addon dbus

[         1.934436]: fcitx5[5783]: I2023-03-24 09:11:01.933874 addonmanager.cpp:297] Unloading addon keyboard

[         1.934530]: fcitx5[5783]: I2023-03-24 09:11:01.934181 addonmanager.cpp:297] Unloading addon imselector

[         1.935277]: fcitx5[5783]: I2023-03-24 09:11:01.934224 addonmanager.cpp:297] Unloading addon quickphrase

[         1.935429]: fcitx5[5783]: I2023-03-24 09:11:01.934644 addonmanager.cpp:297] Unloading addon xcb

[         1.935538]: fcitx5[5783]: I2023-03-24 09:11:01.934670 inputcontextmanager.cpp:358] All display connections are gone, exit now.


[         1.937579]: IMSettings-Daemon[1161]: WARNING **: main Input Method process for fcitx5 died with the status 1, but unexpectedly. restarting...
[         1.937781]: IMSettings-Daemon[1161]: INFO:   Starting the main process for fcitx5 [lang:C]
[         1.939975]: IMSettings-Daemon[1161]: INFO:   Started fcitx5: [process: /usr/bin/fcitx5 -D, lang: C, pid: 5795, id: 135, time: 2023-03-24T09:11:01.939911+06
[         1.952491]: fcitx5[5795]: I2023-03-24 09:11:01.952354 instance.cpp:1270] Override Enabled Addons: {}

[         1.952680]: fcitx5[5795]: I2023-03-24 09:11:01.952448 instance.cpp:1271] Override Disabled Addons: {}

[         1.959690]: fcitx5[5795]: I2023-03-24 09:11:01.959524 addonmanager.cpp:191] Loaded addon xcb

[         1.962400]: fcitx5[5795]: I2023-03-24 09:11:01.962287 addonmanager.cpp:191] Loaded addon quickphrase

[         1.962926]: fcitx5[5795]: I2023-03-24 09:11:01.962826 addonmanager.cpp:191] Loaded addon imselector

[         1.979604]: fcitx5[5795]: I2023-03-24 09:11:01.979436 addonmanager.cpp:191] Loaded addon keyboard

[         1.981855]: fcitx5[5795]: E2023-03-24 09:11:01.981651 addonloader.cpp:61] Failed to create addon: dbus Unable to request dbus name. Is there another fcitx already running?

[         1.982163]: fcitx5[5795]: I2023-03-24 09:11:01.982019 addonmanager.cpp:188] Could not load addon dbus

[         1.982841]: fcitx5[5795]: I2023-03-24 09:11:01.982666 addonmanager.cpp:297] Unloading addon keyboard

[         1.983640]: fcitx5[5795]: I2023-03-24 09:11:01.983465 addonmanager.cpp:297] Unloading addon imselector

[         1.984101]: fcitx5[5795]: I2023-03-24 09:11:01.983947 addonmanager.cpp:297] Unloading addon quickphrase

[         1.984716]: fcitx5[5795]: I2023-03-24 09:11:01.984653 addonmanager.cpp:297] Unloading addon xcb

[         1.984833]: fcitx5[5795]: I2023-03-24 09:11:01.984688 inputcontextmanager.cpp:358] All display connections are gone, exit now.


[         2.001750]: IMSettings-Daemon[1161]: WARNING **: main Input Method process for fcitx5 died with the status 1, but unexpectedly. restarting...
[         2.001919]: IMSettings-Daemon[1161]: INFO:   Starting the main process for fcitx5 [lang:C]
[         2.003515]: IMSettings-Daemon[1161]: INFO:   Started fcitx5: [process: /usr/bin/fcitx5 -D, lang: C, pid: 5798, id: 138, time: 2023-03-24T09:11:02.003455+06
[         2.018326]: fcitx5[5798]: I2023-03-24 09:11:02.018211 instance.cpp:1270] Override Enabled Addons: {}

[         2.018662]: fcitx5[5798]: I2023-03-24 09:11:02.018293 instance.cpp:1271] Override Disabled Addons: {}

[         2.036023]: fcitx5[5798]: I2023-03-24 09:11:02.028480 addonmanager.cpp:191] Loaded addon xcb

[         2.036178]: fcitx5[5798]: I2023-03-24 09:11:02.032735 addonmanager.cpp:191] Loaded addon quickphrase

[         2.036283]: fcitx5[5798]: I2023-03-24 09:11:02.033130 addonmanager.cpp:191] Loaded addon imselector

[         2.051122]: fcitx5[5798]: I2023-03-24 09:11:02.051038 addonmanager.cpp:191] Loaded addon keyboard

[         2.052856]: fcitx5[5798]: E2023-03-24 09:11:02.052453 addonloader.cpp:61] Failed to create addon: dbus Unable to request dbus name. Is there another fcitx already running?

[         2.053233]: fcitx5[5798]: I2023-03-24 09:11:02.052489 addonmanager.cpp:188] Could not load addon dbus

[         2.053487]: fcitx5[5798]: I2023-03-24 09:11:02.052585 addonmanager.cpp:297] Unloading addon keyboard

[         2.053987]: fcitx5[5798]: I2023-03-24 09:11:02.052870 addonmanager.cpp:297] Unloading addon imselector

[         2.054248]: fcitx5[5798]: I2023-03-24 09:11:02.052907 addonmanager.cpp:297] Unloading addon quickphrase

[         2.054349]: fcitx5[5798]: I2023-03-24 09:11:02.053241 addonmanager.cpp:297] Unloading addon xcb

[         2.054434]: fcitx5[5798]: I2023-03-24 09:11:02.053265 inputcontextmanager.cpp:358] All display connections are gone, exit now.


[         2.055250]: IMSettings-Daemon[1161]: CRITICAL **: Giving up to bring the process up because main Input Method process for fcitx5 rapidly died many times. See $XDG_CACHE_HOME/imsettings/log for more details.

Version-Release number of selected component (if applicable):


**How reproducible:**
Normal steps to login to your user

**Steps to Reproduce:**
1.Power up your PC
2.Enter your password and login
3.Error window pops out

**Actual results:**
Annoying pop up.

**Expected results:**
There shouldn't be any pop up.

**Additional info:**
fcitx5 is working fine as expected. I can switch from English to my native language keyboard that I installed with the global hotkey. It's the error pop up that is confusing me.

OS: Fedora 37
DE: Plasma 5.27.3 (X11)

Comment 1 Akira TAGOH 2023-03-25 08:06:24 UTC
As that logs said, you already have fcitx5 instance running. You may have another method to bring it up. then you don't need to use imsettings. That isn't our bug.
Please try to remove imsettings and see. if IM doesn't work, enable it again. If you still see this, you may need to find out who actually bring it up other than imsettings. that's the root cause of this then.

I'm afraid I don't have anything I can do for a sort of this.

Comment 2 cooper 2023-03-26 14:06:48 UTC
(In reply to Akira TAGOH from comment #1)
> As that logs said, you already have fcitx5 instance running. You may have
> another method to bring it up. then you don't need to use imsettings. That
> isn't our bug.
> Please try to remove imsettings and see. if IM doesn't work, enable it
> again. If you still see this, you may need to find out who actually bring it
> up other than imsettings. that's the root cause of this then.
> 
> I'm afraid I don't have anything I can do for a sort of this.

Thanks, removing `imsettings` stopped that pop up.


Note You need to log in before you can comment on or make changes to this bug.