[Bug 146864] Re: command-not-found crash on CTRL+C exit
Michael, I don't know if this is the same issue as what opened the thread, but I got similar output to you after a Ctrl-C. "foo" ^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: command-not-found version: 0.3 Python version: 3.6.9 final 0 Distributor ID: Ubuntu Description:Ubuntu 18.04.4 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 425, in run stdout, stderr = process.communicate(input, timeout=timeout) File "/usr/lib/python3.6/subprocess.py", line 855, in communicate self.wait() File "/usr/lib/python3.6/subprocess.py", line 1477, in wait (pid, sts) = self._try_wait(0) File "/usr/lib/python3.6/subprocess.py", line 1424, in _try_wait (pid, sts) = os.waitpid(self.pid, wait_flags) 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 356, in check_output **kwargs).stdout File "/usr/lib/python3.6/subprocess.py", line 432, in run process.kill() File "/usr/lib/python3.6/subprocess.py", line 1610, in kill self.send_signal(signal.SIGKILL) File "/usr/lib/python3.6/subprocess.py", line 1600, 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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/146864 Title: command-not-found crash on CTRL+C exit To manage notifications about this bug go to: https://bugs.launchpad.net/command-not-found/+bug/146864/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 146864] Re: command-not-found crash on CTRL+C exit
/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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/146864 Title: command-not-found crash on CTRL+C exit To manage notifications about this bug go to: https://bugs.launchpad.net/command-not-found/+bug/146864/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 146864] Re: command-not-found crash on CTRL+C exit
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 (Ubuntu) Assignee: (unassigned) => rubens (rubensdiasp) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/146864 Title: command-not-found crash on CTRL+C exit To manage notifications about this bug go to: https://bugs.launchpad.net/command-not-found/+bug/146864/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 146864] Re: command-not-found crash on CTRL+C exit
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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/146864 Title: command-not-found crash on CTRL+C exit To manage notifications about this bug go to: https://bugs.launchpad.net/command-not-found/+bug/146864/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 146864] Re: command-not-found crash on CTRL+C exit
dotty, this cannot be fixed with python code. As explained in comment #25 this is a core python issue. Fortunately it seems to be fixed in python 2.6+ (I cannot reproduce this error any more so I'm going to close it) ** Changed in: command-not-found Status: Incomplete = Fix Released ** Changed in: command-not-found (Ubuntu) Status: Incomplete = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/146864 Title: command-not-found crash on CTRL+C exit To manage notifications about this bug go to: https://bugs.launchpad.net/command-not-found/+bug/146864/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 146864] Re: command-not-found crash on CTRL+C exit
Thank you for reporting this bug to Ubuntu. Gusty reached EOL on April 18th, 2009. Please see this document for currently supported Ubuntu releases: https://wiki.ubuntu.com/Releases Please feel free to report any other bugs you may find. ** Changed in: command-not-found (Ubuntu) Status: Triaged = Incomplete ** Changed in: command-not-found Status: Confirmed = Incomplete -- command-not-found crash on CTRL+C exit https://bugs.launchpad.net/bugs/146864 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 146864] Re: command-not-found crash on CTRL+C exit
This is very easily fixed by putting: try: import ... except ImportError: exit(..) around the imports. You can also use: try: crash_guard(main, BUG_REPORT_URL, __version__) except KeyboardInterrupt: pass lower down to stop a Ctrl+C from creating tonnes of error messages. I'd love to submit this as a patch however have no idea how to. If anyone would be interested in explaining how, or have some feedback on this fix, could you send me an email at timdavi...@gmail.com. Thanks. -- command-not-found crash on CTRL+C exit https://bugs.launchpad.net/bugs/146864 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 146864] Re: command-not-found crash on CTRL+C exit
The same problem: ken...@ns8210h:~/websites/doc$ cd custom ken...@ns8210h:~/websites/doc/custom$ t ^C ken...@ns8210h:~/websites/doc/custom$ 'import site' failed; use -v for traceback ken...@ns8210h:~/websites/doc/custom$ cd wTraceback (most recent call last): File /usr/lib/command-not-found, line 8, in module import CommandNotFound ImportError: No module named CommandNotFound at Another: ken...@ns8210h:~/websites/doc/trunk/src/sites/all/modules/custom/wat$ Traceback (most recent call last): File /usr/lib/command-not-found, line 8, in module import CommandNotFound ImportError: No module named CommandNotFound -- command-not-found crash on CTRL+C exit https://bugs.launchpad.net/bugs/146864 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 146864] Re: command-not-found crash on CTRL+C exit
This is Python Issue 3137: http://bugs.python.org/issue3137 No activity in a year. You could poke around in http://svn.python.org/projects/python/trunk/Python/pythonrun.c. But be careful of an incomplete fix; this happens for other module imports also. e.g., I just got: Traceback (most recent call last): File /usr/lib/command-not-found, line 12, in module from optparse import OptionParser File /usr/lib/python2.6/optparse.py, line 9, in module KeyboardInterrupt ** Bug watch added: Python Roundup #3137 http://bugs.python.org/issue3137 -- command-not-found crash on CTRL+C exit https://bugs.launchpad.net/bugs/146864 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 146864] Re: command-not-found crash on CTRL+C exit
** Also affects: command-not-found Importance: Undecided Status: New ** Changed in: command-not-found Importance: Undecided = Low ** Changed in: command-not-found Status: New = Confirmed -- command-not-found crash on CTRL+C exit https://bugs.launchpad.net/bugs/146864 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 146864] Re: command-not-found crash on CTRL+C exit
** Changed in: command-not-found (Ubuntu) Status: Incomplete = Triaged -- command-not-found crash on CTRL+C exit https://bugs.launchpad.net/bugs/146864 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 146864] Re: command-not-found crash on CTRL+C exit
The only proper fix for this (as Zygmunt Krynicki already pointed out) is to write a C client that can then catch SIGINT early. The problem with python is that during startup we can not install a SIGINT handler. So if ctrl-c is pressed early enough, a similar error is always going to show up (e.g. import site failed). -- command-not-found crash on CTRL+C exit https://bugs.launchpad.net/bugs/146864 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 146864] Re: command-not-found crash on CTRL+C exit
A work around would be hard, or near impossible? On Fri, Jun 26, 2009 at 4:13 AM, Michael Vogtmichael.v...@ubuntu.com wrote: The only proper fix for this (as Zygmunt Krynicki already pointed out) is to write a C client that can then catch SIGINT early. The problem with python is that during startup we can not install a SIGINT handler. So if ctrl-c is pressed early enough, a similar error is always going to show up (e.g. import site failed). -- command-not-found crash on CTRL+C exit https://bugs.launchpad.net/bugs/146864 You received this bug notification because you are a direct subscriber of the bug. -- command-not-found crash on CTRL+C exit https://bugs.launchpad.net/bugs/146864 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 146864] Re: command-not-found crash on CTRL+C exit
The problem is still there; I misspelled 'gqview' and hit Ctrl-C quickly and got: [EMAIL PROTECTED]:~/Desktop/Ce$ gqiew [EMAIL PROTECTED]:~/Desktop/Ce$ 'import site' failed; use -v for traceback KABOOOM!!! Whoops, command-not-found has crashed! Please file a bug report at: https://bugs.launchpad.net/ubuntu/+source/command-not-found Please include the following information with the report: No module named CommandNotFound [EMAIL PROTECTED]:~/Desktop/Ce$ Traceback (most recent call last): File /usr/lib/command-not-found, line 10, in module from CommandNotFound import CommandNotFound [EMAIL PROTECTED]:~/Desktop/Ce$ ImportError: No module named CommandNotFound Python version: 2.5.1 final 0 -- command-not-found crash on CTRL+C exit https://bugs.launchpad.net/bugs/146864 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 146864] Re: command-not-found crash on CTRL+C exit
Man, no fix. I'm going to brush up on my Python skills and try and make a fix or do something with it :) -- command-not-found crash on CTRL+C exit https://bugs.launchpad.net/bugs/146864 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 146864] Re: command-not-found crash on CTRL+C exit
[EMAIL PROTECTED]:/usr/share/doc/bash# while [ 1 ]; do echo '2' ;done bash: echo '2': command not found bash: echo '2': command not found bash: echo '2': command not found bash: echo '2': command not found bash: echo '2': command not found bash: echo '2': command not found bash: echo '2': command not found 'import site' failed; use -v for traceback ==My CTRL-C [EMAIL PROTECTED]:/usr/share/doc/bash# Sorry, command-not-found has crashed! Please file a bug report at: https://bugs.launchpad.net/ubuntu/+source/command-not-found Please include the following information with the report: 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.2 final 0 -- command-not-found crash on CTRL+C exit https://bugs.launchpad.net/bugs/146864 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 146864] Re: command-not-found crash on CTRL+C exit
Over a year old, and no patch! On Tue, Oct 21, 2008 at 7:13 PM, cyzen [EMAIL PROTECTED] wrote: [EMAIL PROTECTED]:/usr/share/doc/bash# while [ 1 ]; do echo '2' ;done bash: echo '2': command not found bash: echo '2': command not found bash: echo '2': command not found bash: echo '2': command not found bash: echo '2': command not found bash: echo '2': command not found bash: echo '2': command not found 'import site' failed; use -v for traceback ==My CTRL-C [EMAIL PROTECTED]:/usr/share/doc/bash# Sorry, command-not-found has crashed! Please file a bug report at: https://bugs.launchpad.net/ubuntu/+source/command-not-found Please include the following information with the report: 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.2 final 0 -- command-not-found crash on CTRL+C exit https://bugs.launchpad.net/bugs/146864 You received this bug notification because you are a direct subscriber of the bug. -- command-not-found crash on CTRL+C exit https://bugs.launchpad.net/bugs/146864 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 146864] Re: command-not-found crash on CTRL+C exit
$ EPS04492 # I pasted random stuff in command line. Readcted with Ctrl+C. And then... 'import site' failed; use -v for traceback KABOOOM!!! Whoops, command-not-found has crashed! Please file a bug report at: https://bugs.launchpad.net/ubuntu/+source/command-not-found Please include the following information with the report: 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 -- command-not-found crash on CTRL+C exit https://bugs.launchpad.net/bugs/146864 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 146864] Re: command-not-found crash on CTRL+C exit
@ Garibaldi In reference to your question about the bug being hardware related (sorry for the month delay) I really don't think it's hardware related. Given other people have been able to reproduce the problem as well as encounter it, it shouldn't be hardware. If it was, that would be one HELL of a problem. :) -- command-not-found crash on CTRL+C exit https://bugs.launchpad.net/bugs/146864 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 146864] Re: command-not-found crash on CTRL+C exit
I've just entered: lls -tlr instead of ls -ltr and at once hit CTRL+C The result was similar like described in the thread begin: $ lls -tlr 'import site' failed; use -v for traceback KABOOOM!!! Whoops, command-not-found has crashed! Please file a bug report at: https://bugs.launchpad.net/ubuntu/+source/command-not-found [EMAIL PROTECTED]:~$ Please include the following information with the report: 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 -- command-not-found crash on CTRL+C exit https://bugs.launchpad.net/bugs/146864 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 146864] Re: command-not-found crash on CTRL+C exit
Same here : KABOOOM!!! Whoops, command-not-found has crashed! Please file a bug report at: https://bugs.launchpad.net/ubuntu/+source/command-not-found Please include the following information with the report: 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 After a CTRL+C -- command-not-found crash on CTRL+C exit https://bugs.launchpad.net/bugs/146864 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 146864] Re: command-not-found crash on CTRL+C exit
I have this same issue, however the situation was a bit different. I had a fresh install of an Ubuntu Gusty 7.10 variant (XFCE) and I simply shut down the computer (no errors or problems) and restart the machine. On restart, this message comes up and drops me to a root console. I cannot start X or the system. It is using ext3 but even so I thought I'd run fsck. After doing that, same problem -- command-not-found crash on CTRL+C exit https://bugs.launchpad.net/bugs/146864 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 146864] Re: command-not-found crash on CTRL+C exit
Well, I've posted this bug quite a few months ago and there is no fix yet. What would be interesting if anyone has experienced this with the Ubuntu 4.08 RC (or by tomorrow the final release) -- command-not-found crash on CTRL+C exit https://bugs.launchpad.net/bugs/146864 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 146864] Re: command-not-found crash on CTRL+C exit
So would I just have to reinstall to fix it? -- command-not-found crash on CTRL+C exit https://bugs.launchpad.net/bugs/146864 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 146864] Re: command-not-found crash on CTRL+C exit
@ Garibaldi I don't think that would fix the problem. -- command-not-found crash on CTRL+C exit https://bugs.launchpad.net/bugs/146864 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 146864] Re: command-not-found crash on CTRL+C exit
@ikehack, Is it some hardware related issue then? -- command-not-found crash on CTRL+C exit https://bugs.launchpad.net/bugs/146864 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 146864] Re: command-not-found crash on CTRL+C exit
Hm, I can not reproduce this. Running ls -lR / and then hitting ctrl-c a couple of times make command-not-found not crash for me on hardy. Same for typing in something bogus command and then hitting ctrl-c quickly. If someone can still reproduce it, could you please add some steps here? Thanks, Michael ** Changed in: command-not-found (Ubuntu) Status: Confirmed = Incomplete -- command-not-found crash on CTRL+C exit https://bugs.launchpad.net/bugs/146864 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 146864] Re: command-not-found crash on CTRL+C exit
On Gutsy, I've just replicated the symptoms using the (mis-typed) command sud su - obviously sud was meant to be sudo. :) The CLI had a think about it, I realised my mistake hit CTRL+C to receive: KABOOOM!!! Whoops, command-not-found has crashed! Please file a bug report at: https://bugs.launchpad.net/ubuntu/+source/command-not-found Please include the following information with the report: 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 This can be reproduced at will if you leave a short moment before hitting CTRL+C after Return... It is often accompanied by the pre- symptom: 'import site' failed; use -v for traceback Note that if you do have problems replicating, try adding a heavy CPU load to your machine then issue. -- command-not-found crash on CTRL+C exit https://bugs.launchpad.net/bugs/146864 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 146864] Re: command-not-found crash on CTRL+C exit
@ Marren, Was that on the Ctrl-C method of exit? -- command-not-found crash on CTRL+C exit https://bugs.launchpad.net/bugs/146864 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 146864] Re: command-not-found crash on CTRL+C exit
Yup, got it too: KABOOOM!!! Whoops, command-not-found has crashed! Please file a bug report at: https://bugs.launchpad.net/ubuntu/+source/command-not-found Please include the following information with the report: 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 This is on Gutsy. -- command-not-found crash on CTRL+C exit https://bugs.launchpad.net/bugs/146864 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 146864] Re: command-not-found crash on CTRL+C exit
Have just come across the same issue when typing in the wrong command and ctrl-Cing. Would be nice to see the bug accepted/confirmed. -- command-not-found crash on CTRL+C exit https://bugs.launchpad.net/bugs/146864 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 146864] Re: command-not-found crash on CTRL+C exit
This is indeed a bug. It's annoying. I don't know any way to fix it though. It should remain open as a reminder. ** Changed in: command-not-found (Ubuntu) Importance: Undecided = Medium Status: Incomplete = Confirmed -- command-not-found crash on CTRL+C exit https://bugs.launchpad.net/bugs/146864 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 146864] Re: command-not-found crash on CTRL+C exit
Thanks for your bugreport. Could you please describe the steps to reproduce this issue. Thanks, mIchael ** Changed in: command-not-found (Ubuntu) Status: New = Incomplete -- command-not-found crash on CTRL+C exit https://bugs.launchpad.net/bugs/146864 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 146864] Re: command-not-found crash on CTRL+C exit
I did ls -l and it wasn't bashing out anything in the directory, it was just hanging there. I got impatient and CTRL+C'd about 3 times, then I got the command-not-found kaboom. Last time I checked ls -l is a real command. I hope that was some help to what you were looking for. -Mike -- command-not-found crash on CTRL+C exit https://bugs.launchpad.net/bugs/146864 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 146864] Re: command-not-found crash on CTRL+C exit
It's a python issue. As far as I know there is no way around it in *any* python program. That's why I wanted to write a C client. This is not fixable without patching python. -- command-not-found crash on CTRL+C exit https://bugs.launchpad.net/bugs/146864 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs