Ubuntu installation language used to be German.

command-not-found works as expected for other programs which have only
one install candidate, e.g. nedit

It does also _not_ work for other programs with multiple install
candidates, e.g. mailx fails with exactly the same backtrace:

$ mailx
Das Programm mailx ist folgenden Paketen enthalten:
 * mailx
 * mailutils
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:
'ascii' codec can't encode character u'\xe4' in position 25: ordinal not in 
range(128)
Traceback (most recent call last):
  File "/usr/lib/command-not-found", line 28, in <module>
    CommandNotFound(options.data_dir).advise(args[0], options.ignore_installed)
  File "/usr/lib/python2.5/site-packages/CommandNotFound/CommandNotFound.py", 
line 151, in advise
    print >>sys.stderr, _("Try: %s <selected package>") % "apt-get install"
  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())
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 
25: ordinal not in range(128)
Python version: 2.5.2 final 0
bash: mailx: command not found

-- 
command-not-found crarshes with "LS"
https://bugs.launchpad.net/bugs/252203
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