[Bug 920860] Re: Sorry, command-not-found has crashed!

Jean-Baptiste Lallement jean-baptiste at ubuntu.com
Wed Jan 25 13:24:03 UTC 2012


Thanks for your report.

Here is the error 
Traceback (most recent call last):
  File "/usr/lib/command-not-found", line 90, in <module>
    main()
  File "/usr/lib/command-not-found", line 85, in main
    if not cnf.advise(args[0].encode('utf-8'), options.ignore_installed) and not options.no_failure_msg:
  File "/usr/lib/python2.7/dist-packages/CommandNotFound/CommandNotFound.py", line 252, in advise
    print >> sys.stderr, _("The program '%s' is currently not installed. ") % command,
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 45: ordinal not in range(128)


** Changed in: command-not-found (Ubuntu)
       Status: New => Triaged

** Changed in: command-not-found (Ubuntu)
   Importance: Undecided => Medium

** Summary changed:

- Sorry, command-not-found has crashed!
+ command-not-found crashed in advise with: UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 45: ordinal not in range(128)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to command-not-found in Ubuntu.
https://bugs.launchpad.net/bugs/920860

Title:
  command-not-found crashed in advise with: UnicodeEncodeError: 'ascii'
  codec can't encode character u'\xe9' in position 45: ordinal not in
  range(128)

Status in “command-not-found” package in Ubuntu:
  Triaged

Bug description:
  On an up-to-date 12.04 installation, swedish language:

  $ LC_ALL=C chuck
  Sorry, command-not-found has crashed! Please file a bug report at:
  https://bugs.launchpad.net/command-not-found/+filebug
  Please include the following information with the report:

  command-not-found version: 0.2.44

  (note: the command "chuck" is not currently installed)

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: command-not-found 0.2.46ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-10.17-generic 3.2.1
  Uname: Linux 3.2.0-10-generic x86_64
  ApportVersion: 1.91-0ubuntu1
  Architecture: amd64
  Date: Tue Jan 24 09:33:11 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120103)
  PackageArchitecture: all
  SourcePackage: command-not-found
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/920860/+subscriptions




More information about the foundations-bugs mailing list