unsupported locale setting
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/CommandNotFound/util.py", line 24, in crash_guard
callback()
File "/usr/lib/command-not-found", line 69, in main
enable_i18n()
File "/usr/lib/command-not-found", line 40, in enable_i18n
locale.setlocale(locale.LC_ALL, '')
File "/usr/lib/python3.3/locale.py", line 541, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
bjorn@jupiter:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 13.04
Release: 13.04
Codename: raring
bjorn@jupiter:~$ locale
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=en_US.UTF-8
LANGUAGE=en_US:en
LC_CTYPE=custom.UTF-8
LC_NUMERIC=custom.UTF-8
LC_TIME=custom.UTF-8
LC_COLLATE=custom.UTF-8
LC_MONETARY=custom.UTF-8
LC_MESSAGES=custom.UTF-8
LC_PAPER=custom.UTF-8
LC_NAME=custom.UTF-8
LC_ADDRESS=custom.UTF-8
LC_TELEPHONE=custom.UTF-8
LC_MEASUREMENT=custom.UTF-8
LC_IDENTIFICATION=custom.UTF-8
LC_ALL=
bjorn@jupiter:~$ dpkg --list command-not-found
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===================-==============-==============-============================================
ii command-not-found 0.3ubuntu7.1 all Suggest installation of packages in interact
bjorn@jupiter:~$ vncviewer /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.3.1 final 0
Distributor ID: Ubuntu
Description: Ubuntu 13.04
Release: 13.04
Codename: raring
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. 3/locale. py", line 541, in setlocale category, locale) custom. UTF-8 custom. UTF-8 custom. UTF-8 custom. UTF-8 custom. UTF-8 custom. UTF-8 custom. UTF-8 custom. UTF-8 custom. UTF-8 custom. UTF-8 custom. UTF-8 ON=custom. UTF-8 Unknown/ Install/ Remove/ Purge/Hold Not/Inst/ Conf-files/ Unpacked/ halF-conf/ Half-inst/ trig-aWait/ Trig-pend /Reinst- required (Status,Err: uppercase=bad) ======= ======= ==-==== ======= ===-=== ======= ====-== ======= ======= ======= ======= ======= =======
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
bjorn@jupiter:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 13.04
Release: 13.04
Codename: raring
bjorn@jupiter:~$ locale
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=en_US.UTF-8
LANGUAGE=en_US:en
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=
bjorn@jupiter:~$ dpkg --list command-not-found
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii command-not-found 0.3ubuntu7.1 all Suggest installation of packages in interact