gnome-language-selector crashed with TypeError in getCurrentInputMethod(): 'NoneType' object is not subscriptable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
language-selector (Ubuntu) |
Fix Released
|
Medium
|
Gunnar Hjalmarsson |
Bug Description
- fresh Lubuntu 17.10 install with daily iso from 10/12/2017 incl. latest updates
- opening of Start => Preferences => Language Support results in the error
ProblemType: Crash
DistroRelease: Ubuntu 17.10
Package: language-
ProcVersionSign
Uname: Linux 4.13.0-15-generic x86_64
ApportVersion: 2.20.7-0ubuntu3
Architecture: amd64
CurrentDesktop: LXDE
Date: Fri Oct 13 06:11:35 2017
ExecutablePath: /usr/bin/
InstallationDate: Installed on 2017-10-13 (0 days ago)
InstallationMedia: Lubuntu 17.10 "Artful Aardvark" - Beta amd64 (20171011)
InterpreterPath: /usr/bin/python3.6
PackageArchitec
ProcCmdline: /usr/bin/python3 /usr/bin/
ProcEnviron:
LANGUAGE=en
PATH=(custom, no user)
XDG_RUNTIME_
LANG=C
SHELL=/bin/bash
Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, 3.6.3-0ubuntu2
PythonArgs: ['/usr/
PythonDetails: /home/steven/Error: command ['which', 'python'] failed with exit code 1:, Error: [Errno 2] No such file or directory: "/home/
SourcePackage: language-selector
Title: gnome-language-
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
tags: | removed: need-duplicate-check |
Changed in language-selector (Ubuntu): | |
importance: | Undecided → Medium |
information type: | Private → Public |
Changed in language-selector (Ubuntu): | |
assignee: | nobody → Gunnar Hjalmarsson (gunnarhj) |
status: | Triaged → Fix Committed |
Thanks for your report. I see that the LANG environment variable is set to C, which is not normal in a desktop session (it should be some .UTF-8 locale), and I think it explains the crash. Unless you set LANG=C yourself, that value may be related to <https:/ /launchpad. net/bugs/ 1723404>.
Can you please show us the output from these terminal commands:
cat /etc/default/locale
locale -a
locale