Public bug reported:

Binary package hint: command-not-found

While I type "a" and then enter in console after su, this error message
shown in my ubuntu 8.04

[EMAIL PROTECTED]:~$su
[EMAIL PROTECTED]:/home/lfs# a
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 characters in position 7-8: ordinal not in range(128)
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())
UnicodeEncodeError: 'ascii' codec can't encode characters in position 7-8: 
ordinal not in range(128)
Python version: 2.5.2 final 0
bash: a: command not found

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

-- 
'ascii' codec can't encode characters in position 7-8
https://bugs.launchpad.net/bugs/234575
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to