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 Vogt 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
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
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 >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
@ 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
@ 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
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
@ 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
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] command-not-found crash on CTRL+C exit
Public bug reported: 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 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. ** Affects: command-not-found (Ubuntu) Importance: Undecided Status: New ** Description changed: 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 from CommandNotFound import CommandNotFound ImportError: No module named CommandNotFound Python version: 2.5.1 final 0 - Mike. + Nothing to do with the Ctrl+C method of exiting a command, but hey, it + happened. + + -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