[Bug 1130444] Re: unicode character crashes command-not-found application
Launchpad Bug Tracker
1130444 at bugs.launchpad.net
Wed Jul 16 06:29:51 UTC 2014
** Branch linked: lp:ubuntu/utopic-proposed/command-not-found
--
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/1130444
Title:
unicode character crashes command-not-found application
Status in “command-not-found” package in Ubuntu:
Fix Committed
Bug description:
$ off�
Die Anwendung command-not-found ist abgestürzt! Bitte berichten Sie über den Fehler unter:
https://bugs.launchpad.net/command-not-found/+filebug
Bitte führen Sie folgende Informationen im Fehlerbericht an:
Command-not-found-Version: 0.3
Python-Version: 3.2.3 final 0
Distributor ID: Ubuntu
Description: Ubuntu 12.10
Release: 12.10
Codename: quantal
Informationen zum Fehler:
'utf-8' codec can't encode character '\udcb6' in position 3: surrogates not allowed
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/CommandNotFound/util.py", line 24, in crash_guard
callback()
File "/usr/lib/command-not-found", line 87, in main
if not cnf.advise(args[0], options.ignore_installed) and not options.no_failure_msg:
File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 265, in advise
packages = self.getPackages(command)
File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 157, in getPackages
result.update([(pkg, db.component) for pkg in db.lookup(command)])
File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 85, in lookup
result = self.db.lookup(command)
File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 41, in lookup
key = key.encode('utf-8')
UnicodeEncodeError: 'utf-8' codec can't encode character '\udcb6' in position 3: surrogates not allowed
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/1130444/+subscriptions
More information about the foundations-bugs
mailing list