locale.Error: unsupported locale setting
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
One Hundred Papercuts |
Fix Released
|
High
|
Unassigned | ||
command-not-found |
Fix Released
|
Undecided
|
Unassigned | ||
command-not-found (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
$ weston
Sorry, command-not-found has crashed! Please file a bug report at:
https:/
Please include the following information with the report:
command-not-found version: 0.3
Python version: 3.2.3 final 0
Distributor ID: Ubuntu
Description: Ubuntu quantal (development branch)
Release: 12.10
Codename: quantal
Exception information:
unsupported locale setting
Traceback (most recent call last):
File "/usr/lib/
callback()
File "/usr/lib/
enable_i18n()
File "/usr/lib/
locale.
File "/usr/lib/
return _setlocale(
locale.Error: unsupported locale setting
Related branches
- Zygmunt Krynicki: Approve
-
Diff: 15 lines (+4/-1)1 file modifiedcommand-not-found (+4/-1)
- Ubuntu branches: Pending requested
-
Diff: 30 lines (+11/-1)2 files modifiedcommand-not-found (+4/-1)
debian/changelog (+7/-0)
Changed in command-not-found (Ubuntu): | |
status: | Confirmed → Triaged |
importance: | Undecided → High |
Changed in hundredpapercuts: | |
assignee: | nobody → Paper Cuts Ninja (papercuts-ninja) |
status: | New → Confirmed |
Changed in hundredpapercuts: | |
status: | Confirmed → Triaged |
importance: | Undecided → High |
Changed in command-not-found: | |
status: | Confirmed → Fix Committed |
Changed in hundredpapercuts: | |
status: | Triaged → Fix Committed |
Changed in command-not-found (Ubuntu): | |
status: | Triaged → Fix Committed |
Changed in hundredpapercuts: | |
assignee: | Papercuts Ninjas (papercuts-ninja) → nobody |
Changed in command-not-found (Ubuntu): | |
status: | Fix Committed → Confirmed |
Changed in command-not-found (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in command-not-found (Ubuntu): | |
status: | Triaged → Fix Committed |
Changed in command-not-found: | |
status: | Fix Committed → Fix Released |
Changed in hundredpapercuts: | |
status: | Fix Committed → Fix Released |
This is exactly the same that happens to me:
rafa@rafa-desk:~$ alskdjfah /bugs.launchpad .net/command- not-found/ +filebug
Sorry, command-not-found has crashed! Please file a bug report at:
https:/
Please include the following information with the report:
command-not-found version: 0.3
Python version: 3.2.3 final 0
Distributor ID: Ubuntu
Description: Ubuntu 12.10
Release: 12.10
Codename: quantal
Exception information:
unsupported locale setting python3/ dist-packages/ CommandNotFound /util.py" , line 24, in crash_guard command- not-found" , line 69, in main command- not-found" , line 40, in enable_i18n setlocale( locale. LC_ALL, '') python3. 2/locale. py", line 541, in setlocale category, locale)
Traceback (most recent call last):
File "/usr/lib/
callback()
File "/usr/lib/
enable_i18n()
File "/usr/lib/
locale.
File "/usr/lib/
return _setlocale(
locale.Error: unsupported locale setting
The locales that are set:
rafa@rafa-desk:~$ locale "es_ES. UTF-8" "es_ES. UTF-8" "es_ES. UTF-8" "es_ES. UTF-8" "es_ES. UTF-8" "es_ES. UTF-8" "es_ES. UTF-8" "es_ES. UTF-8" "es_ES. UTF-8" "es_ES. UTF-8" "es_ES. UTF-8" ON="es_ ES.UTF- 8"
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=es_ES.UTF-8
LANGUAGE=es_ES
LC_CTYPE=
LC_NUMERIC=
LC_TIME=
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_PAPER=
LC_NAME=
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
LC_ALL=