Normal kill does not work

Bug #119273 reported by Rolf Leggewie
2
Affects Status Importance Assigned to Milestone
pastebinit
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.

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

Revision history for this message
David Paleino (dpaleino) wrote :

Hi believe I've corrected the bug in the bazaar repository.
Please, feel free to take the new version from the repository,
available at:

http://codebrowse.launchpad.net/~pastebinit-developers/pastebinit/trunk

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

Changed in pastebinit:
assignee: nobody → dpaleino
importance: Undecided → Medium
status: Unconfirmed → Fix Committed
Revision history for this message
Rolf Leggewie (r0lf) wrote : Re: [Bug 119273] Re: Normal kill does not work

David Paleino wrote:
> Hi believe I've corrected the bug in the bazaar repository.
>
Thank you, David, for taking care of it so quickly.

David Paleino (dpaleino)
Changed in pastebinit:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers