language-selector-kde crashes on startup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
language-selector (Ubuntu) |
Fix Released
|
High
|
Martin Pitt | ||
Oneiric |
Fix Released
|
High
|
Martin Pitt |
Bug Description
Hello,
Since language-selector 0.54, language-
[linux-EX58-UD4P] bambi ~ $ kcmshell4 language-selector
kcmshell(
Traceback (most recent call last):
File "<string>", line 18, in kpythonpluginfa
File "/usr/share/
return QtLanguageSelec
File "/usr/lib/
self.init()
File "/usr/lib/
self.
File "/usr/lib/
languageList = self._cache.
File "/usr/lib/
li = LanguageInforma
File "/usr/lib/
if 'gnome-' not in sys.argv[0]:
AttributeError: 'module' object has no attribute 'argv'
kcmshell(
kcmshell(
The fix "LanguageSelect
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: language-
ProcVersionSign
Uname: Linux 3.0.0-12-generic x86_64
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
Date: Mon Oct 10 19:44:00 2011
InstallationMedia: Kubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
PackageArchitec
ProcEnviron:
LANGUAGE=fr_FR:en
PATH=(custom, user)
LANG=fr_FR.UTF-8
LC_MESSAGES=
SHELL=/bin/bash
SourcePackage: language-selector
UpgradeStatus: Upgraded to oneiric on 2011-02-07 (245 days ago)
Changed in language-selector (Ubuntu): | |
assignee: | nobody → Martin Pitt (pitti) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in language-selector (Ubuntu Oneiric): | |
status: | In Progress → Fix Committed |
* Solution 1)° Define sys.argv to [ "language- selector- kde"] in language- selector- kde.py r/LangCache. py
* Solution 2)° Don't use sys.argv in LanguageSelecto