← Back to team overview

desktop-packages team mailing list archive

[Bug 837656] Re: gnome-language-selector crashed with UnicodeError in call_blocking(): String parameters to be sent over D-Bus must be valid UTF-8

 

Thanks both for your efforts to improve Ubuntu by reporting this issue!

It looks like the LANGUAGE environment variable somehow is assigned some
odd value, with non-ascii characters, which appears to be the reason for
the crash. There should be a line in the .profile file in your home
directory that looks something like:

export LANGUAGE="fr:en"

or

export LANGUAGE="ru:en"

If you haven't already solved the problem, could you please try to
1. switch to some other user language than French/Russian,
2. switch back to French/Russian again, and
3. click the "Apply System-Wide" button.

Please let us know whether that worked without problems.

If you did something unusual, that might be the cause why LANGUAGE was
assigned the odd value in the first place, it would also be valuable to
know.

** Changed in: language-selector (Ubuntu)
     Assignee: (unassigned) => Gunnar Hjalmarsson (gunnarhj)

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

Title:
  gnome-language-selector crashed with UnicodeError in call_blocking():
  String parameters to be sent over D-Bus must be valid UTF-8

Status in “language-selector” package in Ubuntu:
  Confirmed

Bug description:
  enter apply change after installing language French

  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: language-selector-gnome 0.49
  ProcVersionSignature: Ubuntu 3.0.0-9.14-generic 3.0.3
  Uname: Linux 3.0.0-9-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  Date: Tue Aug 30 22:14:11 2011
  ExecutablePath: /usr/bin/gnome-language-selector
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64+mac (20110830)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/gnome-language-selector
  ProcEnviron:
   SHELL=/bin/bash
   PATH=(custom, no user)
   LANG=fr_FR.UTF-8
   LANGUAGE=��
  PythonArgs: ['/usr/bin/gnome-language-selector']
  SourcePackage: language-selector
  Title: gnome-language-selector crashed with UnicodeError in call_blocking(): String parameters to be sent over D-Bus must be valid UTF-8
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

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