Public bug reported: Binary package hint: command-not-found
I'm using: Description: Ubuntu 8.04.1 Release: 8.04 I use the command-not-found version "0.2.17ubuntu1" I typed "mplayer" in the Terminal just to know what package I need to install, a list came and than a crash information: Das Programm mplayer ist folgenden Paketen enthalten: * mplayer-nogui * mplayer 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 153, in advise print >>sys.stderr, _("Try: %s <selected package>") % "sudo 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 command-not-found does the same thing if I type "x-www-browser": Das Programm x-www-browser ist folgenden Paketen enthalten: * midori * dillo * kazehakase * galeon-common * epiphany-gecko * konqueror * firefox-2 * seamonkey-browser * chimera2 * links2 * netsurf * firefox-3.0 * amaya 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 153, in advise print >>sys.stderr, _("Try: %s <selected package>") % "sudo 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 If I type something for that is only one installable package than every thing is OK e. g.: "xine": The program 'xine' is currently not installed. You can install it by typing: sudo apt-get install xine-ui ** Affects: command-not-found (Ubuntu) Importance: Undecided Status: New ** Tags: ascii unicode -- crashed by when I typed "mplayer" https://bugs.launchpad.net/bugs/247246 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
