Public bug reported:

Binary package hint: command-not-found

c$ 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=de_DE.ISO_8859-1
LC_CTYPE="de_DE.ISO_8859-1"
LC_NUMERIC="de_DE.ISO_8859-1"
LC_TIME="de_DE.ISO_8859-1"
LC_COLLATE="de_DE.ISO_8859-1"
LC_MONETARY="de_DE.ISO_8859-1"
LC_MESSAGES="de_DE.ISO_8859-1"
LC_PAPER="de_DE.ISO_8859-1"
LC_NAME="de_DE.ISO_8859-1"
LC_ADDRESS="de_DE.ISO_8859-1"
LC_TELEPHONE="de_DE.ISO_8859-1"
LC_MEASUREMENT="de_DE.ISO_8859-1"
LC_IDENTIFICATION="de_DE.ISO_8859-1"
LC_ALL=


And the message command--not-found yields:
$ foobar
Sorry, command-not-found has crashed! Please file a bug report at:
https://bugs.launchpad.net/ubuntu/+source/command-not-found
Please include the following information with the report:
unsupported locale setting
Traceback (most recent call last):
  File "/usr/lib/command-not-found", line 19, in <module>
    parser = OptionParser(version = __version__, usage=_("%prog [options] 
<command-name>"))
  File "/usr/lib/python2.5/gettext.py", line 584, in lgettext
    return ldgettext(_current_domain, message)
  File "/usr/lib/python2.5/gettext.py", line 556, in ldgettext
    return t.lgettext(message)
  File "/usr/lib/python2.5/gettext.py", line 366, in lgettext
    return tmsg.encode(locale.getpreferredencoding())
  File "/usr/lib/python2.5/locale.py", line 514, in getpreferredencoding
    setlocale(LC_CTYPE, "")
  File "/usr/lib/python2.5/locale.py", line 478, in setlocale
    return _setlocale(category, locale)
Error: unsupported locale setting
Python version: 2.5.2 final 0
bash: foobar: command not found

** Affects: command-not-found (Ubuntu)
     Importance: Undecided
         Status: New

-- 
unsupported locale setting, on any not found command (due to  locale)
https://bugs.launchpad.net/bugs/252488
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to