Comment 1 for bug 119273

Revision history for this message
David Paleino (dpaleino) wrote : Re: [Bug 119273] Normal kill does not work

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):
  File "/usr/bin/pastebinit", line 218, in ?
    page = url_opener.open(website + '/', params) #Send the
informations and be redirected to the final page File
"/usr/lib/python2.4/urllib.py", line 192, in open return getattr(self,
name)(url, data) File "/usr/lib/python2.4/urllib.py", line 272, in
open_http import httplib
  File "/usr/lib/python2.4/httplib.py", line 70, in ?
    import mimetools
  File "/usr/lib/python2.4/mimetools.py", line 6, in ?
    import tempfile
  File "/usr/lib/python2.4/tempfile.py", line 18, in ?
    """
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

--
 . ''`. Debian packager! | http://snipurl.com/gofoxygo/
 : :' : User #334216 | http://www.hanskalabs.net/
 `. `'` GPG: 1392B174 | http://www.debianizzati.org/
   `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174