Public bug reported:
`gnome-language-selector` ("Language Support" application) crashes every
time in stonking. Works OK in resolute.
This is happening due to changes/refactoring done to `im-config` between
v0.62 (resolute) and v1.1 (stonking). Many options have either been
renamed (re-lettered?) or dropped.
From my understanding,
-a -> -p
-l (unless -a used) -> -i
-m -> -d or -r (?!)
-n -> -w
-x seems to have been dropped.
Following is the traceback message:
```
Traceback (most recent call last):
File "/usr/bin/gnome-language-selector", line 21, in on_activate
instance = GtkLanguageSelector(datadir=options.datadir,
options=options)
File
"/usr/lib/python3/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py",
line 206, in __init__
self.check_input_methods()
~~~~~~~~~~~~~~~~~~~~~~~~^^
File
"/usr/lib/python3/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py",
line 57, in wrapper
res = f(*args, **kwargs)
File
"/usr/lib/python3/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py",
line 455, in check_input_methods
currentIM = self.ImConfig.getCurrentInputMethod()
File "/usr/lib/python3/dist-packages/LanguageSelector/ImConfig.py", line 26,
in getCurrentInputMethod
subprocess.check_output(['im-config', '-m']).decode().split()[:3]
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.14/subprocess.py", line 473, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
**kwargs).stdout
^^^^^^^^^
File "/usr/lib/python3.14/subprocess.py", line 578, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['im-config', '-m']' returned non-zero
exit status 1.
```
ProblemType: Bug
DistroRelease: Ubuntu 26.10
Package: language-selector-gnome 0.230ubuntu
ProcVersionSignature: Ubuntu 7.3.0-9.9-generic 7.3.0-rc6
Uname: Linux 7.3.0-9-generic x86_64
ApportVersion: 2.36.0-0ubuntu1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: MATE
Date: Mon Oct 12 09:11:57 2026
InstallationDate: Installed on 2026-10-05 (7 days ago)
InstallationMedia: Ubuntu-MATE 26.10 "Stonking Stingray" - Daily amd64
(20261003)
PackageArchitecture: all
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
SourcePackage: language-selector
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: language-selector (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug stonking
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2170516
Title:
gnome-language-selector crashes due to deprecated options to im-config
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/2170516/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs