[Bug 1723318] Re: gnome-language-selector crashed with TypeError in getCurrentInputMethod(): 'NoneType' object is not subscriptable

Gunnar Hjalmarsson 1723318 at bugs.launchpad.net
Fri Oct 13 17:34:26 UTC 2017


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

** Changed in: language-selector (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to language-selector in Ubuntu.
https://bugs.launchpad.net/bugs/1723318

Title:
  gnome-language-selector crashed with TypeError in
  getCurrentInputMethod(): 'NoneType' object is not subscriptable

Status in language-selector package in Ubuntu:
  Incomplete

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-selector-gnome 0.180
  ProcVersionSignature: Ubuntu 4.13.0-15.16-generic 4.13.4
  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/gnome-language-selector
  InstallationDate: Installed on 2017-10-13 (0 days ago)
  InstallationMedia: Lubuntu 17.10 "Artful Aardvark" - Beta amd64 (20171011)
  InterpreterPath: /usr/bin/python3.6
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python3 /usr/bin/gnome-language-selector
  ProcEnviron:
   LANGUAGE=en
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=C
   SHELL=/bin/bash
  Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, 3.6.3-0ubuntu2
  PythonArgs: ['/usr/bin/gnome-language-selector']
  PythonDetails: /home/steven/Error: command ['which', 'python'] failed with exit code 1:, Error: [Errno 2] No such file or directory: "/home/steven/Error: command ['which', 'python'] failed with exit code 1:": "/home/steven/Error: command ['which', 'python'] failed with exit code 1:", unpackaged
  SourcePackage: language-selector
  Title: gnome-language-selector crashed with TypeError in getCurrentInputMethod(): 'NoneType' object is not subscriptable
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/1723318/+subscriptions



More information about the foundations-bugs mailing list