Public bug reported:

Binary package hint: command-not-found

# asdf
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:

command-not-found version: 0.2.21
Python version: 2.5.2 final 0
Distributor ID: Ubuntu
Description:    Ubuntu 8.10
Release:        8.10
Codename:       intrepid
Exception information:

'ascii' codec can't encode characters in position 7-8: ordinal not in range(128)
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/CommandNotFound/util.py", line 32, in 
crash_guard
    callback()
  File "/usr/lib/command-not-found", line 15, in main
    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)
-bash: asdf command not found


PS: I run the command mentioned above on the console(CTRL+ALT+F1), my OS 
version is Ubuntu 8.10, the environment variable LANG=zh_CN.UTF-8

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

-- 
run whatever inexistent commands, such as 'asdf', got command-not-found has 
crashed!
https://bugs.launchpad.net/bugs/312650
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