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

sourcepower sourcepower at gmx.org
Sun Oct 15 17:09:09 UTC 2017


Thank you for the help. I didn't execute "im-config -n none" instead i
did the following.

- enable the needed locales (= uncomment it)

sudo vi /etc/locale.gen
...
de_DE.UTF-8 UTF-8
en_US.UTF-8 UTF-8
...

sudo locale-gen


- set the system language to en_US.UTF-8

sudo update-locale LANG=en_US.UTF-8


- reboot the system
- results

steven at box:~$ locale -a
C
C.UTF-8
de_DE.utf8
en_US.utf8
POSIX
steven at box:~$ locale
LANG=en_US.UTF-8
LANGUAGE=en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

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