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.2/locale.py", line 541, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
This is on my Ubuntu 12.10.
But on my other computer with Ubuntu 12.04 it crashes as well (although with less output).
command-not-found crashes every time, when it is called using an unknown or uninstalled locale.
So I try:
ck@cebulon:~$ LANG=asd asd /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
This is on my Ubuntu 12.10.
But on my other computer with Ubuntu 12.04 it crashes as well (although with less output).
Is it an python problem?