command-not-found versión: 0.3 Python versión: 3.2.3 final 0 Distributor ID: Ubuntu Description: Ubuntu 12.10 Release: 12.10 Codename: quantal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
command-not-found |
New
|
Undecided
|
Unassigned |
Bug Description
'utf-8' codec can't encode character '\udcab' in position 0: 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 '\udcab' in position 0: surrogates not allowed
It also happens when I mistyped a command with çll. The error message is slightly different: 'utf-8' codec can't encode character '\udce7' in position 0: surrogates not allowed