Normal kill does not work
Bug #119273 reported by
Rolf Leggewie
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pastebinit |
Fix Released
|
Medium
|
David Paleino |
Bug Description
It seems not possible to kill a running pastebinit (for example because one finds out that pasting a 5 MB file is not such a good idea after all ;-)) with Ctrl+c or with "kill $pid". "kill -s 9 $pid" is necessary.
Changed in pastebinit: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi Rolf,
Il giorno Fri, 08 Jun 2007 07:35:11 -0000
Rolf Leggewie <email address hidden> ha scritto:
> Public bug reported:
>
> It seems not possible to kill a running pastebinit (for example
> because one finds out that pasting a 5 MB file is not such a good
> idea after all ;-)) with Ctrl+c or with "kill $pid". "kill -s 9
> $pid" is necessary.
Are you sure?
I've been able to kill pastebinit with a double Ctrl-C.
The first one gave me:
'import site' failed; use -v for traceback
while the second:
Traceback (most recent call last): pastebinit" , line 218, in ? open(website + '/', params) #Send the python2. 4/urllib. py", line 192, in open return getattr(self, python2. 4/urllib. py", line 272, in python2. 4/httplib. py", line 70, in ? python2. 4/mimetools. py", line 6, in ? python2. 4/tempfile. py", line 18, in ?
File "/usr/bin/
page = url_opener.
informations and be redirected to the final page File
"/usr/lib/
name)(url, data) File "/usr/lib/
open_http import httplib
File "/usr/lib/
import mimetools
File "/usr/lib/
import tempfile
File "/usr/lib/
"""
KeyboardInterrupt
I admit that it can depend on the "point" where pastebinit is (i.e.: is
it posting? is it reading from a pipe? is it *?)
As soon as possible, I'll look into the KeyboardInterrupt exception. :-)
Kind regards,
David
-- snipurl. com/gofoxygo/ www.hanskalabs. net/ www.debianizzat i.org/
. ''`. Debian packager! | http://
: :' : User #334216 | http://
`. `'` GPG: 1392B174 | http://
`- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174