[Bug 146864] Re: command-not-found crash on CTRL+C exit
Michael Novak
146864 at bugs.launchpad.net
Thu Nov 8 13:52:58 UTC 2018
/mnt/c/repository$ q
^C
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:
/mnt/c/repository$ command-not-found version: 0.3
Python version: 3.6.6 final 0
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
Exception information:
[Errno 3] No such process
Traceback (most recent call last):
File "/usr/lib/python3.6/subprocess.py", line 405, in run
stdout, stderr = process.communicate(input, timeout=timeout)
File "/usr/lib/python3.6/subprocess.py", line 830, in communicate
stdout = self.stdout.read()
KeyboardInterrupt
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/CommandNotFound/util.py", line 23, 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 options.no_failure_msg:
File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 353, in advise
snaps, mispell_snaps = self.get_snaps(command)
File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 113, in get_snaps
universal_newlines=True)
File "/usr/lib/python3.6/subprocess.py", line 336, in check_output
**kwargs).stdout
File "/usr/lib/python3.6/subprocess.py", line 412, in run
process.kill()
File "/usr/lib/python3.6/subprocess.py", line 1590, in kill
self.send_signal(signal.SIGKILL)
File "/usr/lib/python3.6/subprocess.py", line 1580, in send_signal
os.kill(self.pid, sig)
ProcessLookupError: [Errno 3] No such process
--
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