command-not-found crashed with UnicodeEncodeError in print_spelling_suggestion(): 'ascii' codec can't encode character u'\xe9' in position 26: ordinal not in range(128)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
command-not-found (Ubuntu) |
New
|
Medium
|
Unassigned |
Bug Description
TEST CASE
1. On a french Precise run in a terminal:
$ LC_ALL=C thisapplication
ACTUAL RESULT:
crash
EXPECTED RESULT
The usual command-not-found output when an application is not installed or doesn't exists
Note that I removed the call of main though crash_guard in command-not-found to catch this error otherwise it just says it crashed without any useful information.
ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: command-not-found 0.2.46ubuntu1 [modified: usr/lib/
ProcVersionSign
Uname: Linux 3.2.0-10-generic i686
ApportVersion: 1.91-0ubuntu1
Architecture: i386
Date: Wed Jan 25 14:13:15 2012
ExecutablePath: /usr/lib/
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110209)
InterpreterPath: /usr/bin/python2.7
PackageArchitec
ProcCmdline: /usr/bin/python /usr/lib/
PythonArgs: [u'/usr/
SourcePackage: command-not-found
Title: command-not-found crashed with UnicodeEncodeError in print_spelling_
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
tags: | removed: need-duplicate-check |
description: | updated |
description: | updated |
Changed in command-not-found (Ubuntu): | |
importance: | Undecided → Medium |
Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug #920860, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find. wiki.ubuntu. com/BugSquad
---
Ubuntu Bug Squad volunteer triager
http://