[Bug 146864] Re: command-not-found crash on CTRL+C exit
rubens
rubensdiasp at gmail.com
Sun Sep 6 23:24:40 UTC 2015
versão de command-not-found: 0.3
Versão de Python: 3.4.0 final 0
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty
Informação de exceção:
'utf-8' codec can't encode character '\udc9b' in position 0: 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 90, in main if not cnf.advise(args[0], options.ignore_installed) and not option.no_failure_msg:
File "/usr/lib/python3/dist-packages/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([ 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-pakages/CommandNotFound.py, line 41, in lookup key = key.encode('utf-8')
UnicodeEncodeError: 'utf-8' codec can't encode character '\udc9b' in position 0: surrogates not allowed
** Changed in: command-not-found
Assignee: (unassigned) => rubens (rubensdiasp)
--
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/146864
Title:
command-not-found crash on CTRL+C exit
Status in command-not-found:
Fix Released
Status in command-not-found package in Ubuntu:
Fix Released
Bug description:
Binary package hint: command-not-found
(on) From Ctrl+C interrupt. Kaboom, follow instructions, etc. Here's
the error:
OS: Ubuntu Gusty Gibbion 7.10 BETA
Crash: from using Ctrl+C
No module named CommandNotFound
Traceback (most recent call last):
File "/usr/lib/command-not-found", line 10, in <module>
from CommandNotFound import CommandNotFound
ImportError: No module named CommandNotFound
Python version: 2.5.1 final 0
Nothing to do with the Ctrl+C method of exiting a command, but hey, it
happened.
-Mike.
To manage notifications about this bug go to:
https://bugs.launchpad.net/command-not-found/+bug/146864/+subscriptions
More information about the foundations-bugs
mailing list