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

Gunnar Hjalmarsson 1723318 at bugs.launchpad.net
Sun Oct 15 17:40:20 UTC 2017


Ok, that's a more robust fix than I proposed. /etc/default/locale should
always have a valid UTF-8 locale assigned to LANG.

Btw, if you after that opened Language Support, the command "im-config
-n none" was probably executed behind the scenes anyway. ;)

-- 
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:
  Triaged

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