Comment 0 for bug 921557

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

TEST CASE
1. On a french Precise without chunk installed run in a terminal:
$ LC_ALL=C chunk

ACTUAL RESULT:
crash

EXPECTED RESULT
The usual command-not-found output when an application is not installed

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/command-not-found]
ProcVersionSignature: Ubuntu 3.2.0-10.17-generic 3.2.1
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/command-not-found
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110209)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/lib/command-not-found -- chunk
PythonArgs: [u'/usr/lib/command-not-found', u'--', u'chunk']
SourcePackage: command-not-found
Title: 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)
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare