Crash on UTF-8 input
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
command-not-found |
New
|
Undecided
|
Unassigned |
Bug Description
stdedos@
Sorry, command-not-found has crashed! Please file a bug report at:
https:/
Please include the following information with the report:
command-not-found version: 0.3
Python version: 3.4.0 final 0
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
Exception information:
'utf-8' codec can't encode character '\udcc3' in position 3: surrogates not allowed
Traceback (most recent call last):
File "/usr/lib/
callback()
File "/usr/lib/
if not cnf.advise(args[0], options.
File "/usr/lib/
packages = self.getPackage
File "/usr/lib/
result.
File "/usr/lib/
result = self.db.
File "/usr/lib/
key = key.encode('utf-8')
UnicodeEncodeError: 'utf-8' codec can't encode character '\udcc3' in position 3: surrogates not allowed
stdedos@
LANG=C
LANGUAGE=
LC_CTYPE="C"
LC_NUMERIC=
LC_TIME=en_US.UTF-8
LC_COLLATE="C"
LC_MONETARY=
LC_MESSAGES="C"
LC_PAPER=
LC_NAME=el_GR.UTF-8
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
LC_ALL=