[Bug 1772237] Please test proposed package

Łukasz Zemczak 1772237 at bugs.launchpad.net
Mon May 21 15:51:50 UTC 2018


Hello Alex, or anyone else affected,

Accepted language-selector into bionic-proposed. The package will build
now and be available at https://launchpad.net/ubuntu/+source/language-
selector/0.188.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-bionic to verification-done-bionic. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-bionic. In either case, without details of
your testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

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

Title:
  Language support quits immediately after starting

Status in language-selector package in Ubuntu:
  Fix Released
Status in language-selector source package in Bionic:
  Fix Committed

Bug description:
  [Impact]

  When Ubuntu is installed with a locale name which Python does not
  understand, e.g. en_IL, Language Support crashes when you try to
  launch it. This is really a bug which should be fixed in the installer
  (bug #1646260). Awaiting the installer fix, this proposed upload
  prevents that Language Support crashes.

  [Test Case]

  1. Make sure that no ~/.xinputrc file is present.

  2. Start Language Support from terminal using this command:

     LANG=en_IL gnome-language-selector

  -> Find that you have reproduced the crash.

  3. Install language-selector-gnome and language-selector-common from
     bionic-proposed and repeat step 2.

  -> Language Support starts without crashing.

  [Regression Potential]

  None.

  [Original description]

  When I click on Language Support from the applications menu, it
  starts, shows a progress bar, and then immediately quits.

  I do not see the crash report window open (Apport), but something
  seems to crash. Here is what is appended to the syslog when the
  phenomenon happens:

  May 20 12:20:28 alex-laptop gnome-language-selector.desktop[14134]: Traceback (most recent call last):
  May 20 12:20:28 alex-laptop gnome-language-selector.desktop[14134]:   File "/usr/bin/gnome-language-selector", line 22, in on_activate
  May 20 12:20:28 alex-laptop gnome-language-selector.desktop[14134]:     options=options)
  May 20 12:20:28 alex-laptop gnome-language-selector.desktop[14134]:   File "/usr/lib/python3/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 202, in __init__
  May 20 12:20:28 alex-laptop gnome-language-selector.desktop[14134]:     self.check_input_methods()
  May 20 12:20:28 alex-laptop gnome-language-selector.desktop[14134]:   File "/usr/lib/python3/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 57, in wrapper
  May 20 12:20:28 alex-laptop gnome-language-selector.desktop[14134]:     res = f(*args, **kwargs)
  May 20 12:20:28 alex-laptop gnome-language-selector.desktop[14134]:   File "/usr/lib/python3/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 453, in check_input_methods
  May 20 12:20:28 alex-laptop gnome-language-selector.desktop[14134]:     currentIM = self.ImConfig.getCurrentInputMethod()
  May 20 12:20:28 alex-laptop gnome-language-selector.desktop[14134]:   File "/usr/lib/python3/dist-packages/LanguageSelector/ImConfig.py", line 39, in getCurrentInputMethod
  May 20 12:20:28 alex-laptop gnome-language-selector.desktop[14134]:     loc = locale.getlocale(locale.LC_CTYPE)[0]
  May 20 12:20:28 alex-laptop gnome-language-selector.desktop[14134]:   File "/usr/lib/python3.6/locale.py", line 581, in getlocale
  May 20 12:20:28 alex-laptop gnome-language-selector.desktop[14134]:     return _parse_localename(localename)
  May 20 12:20:28 alex-laptop gnome-language-selector.desktop[14134]:   File "/usr/lib/python3.6/locale.py", line 490, in _parse_localename
  May 20 12:20:28 alex-laptop gnome-language-selector.desktop[14134]:     raise ValueError('unknown locale: %s' % localename)
  May 20 12:20:28 alex-laptop gnome-language-selector.desktop[14134]: ValueError: unknown locale: en_IL

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: language-selector-gnome 0.188
  ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
  Uname: Linux 4.15.0-20-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.9-0ubuntu7
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Sun May 20 12:15:21 2018
  InstallationDate: Installed on 2018-05-19 (0 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  PackageArchitecture: all
  ProcEnviron:
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_IL
   SHELL=/bin/bash
  SourcePackage: language-selector
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list