[pull-*] Ugly message while interrupt by ctrl+c

Bug #713845 reported by Artur Rona on 2011-02-05
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-dev-tools (Ubuntu)
Stefano Rivera

Bug Description

Binary package hint: ubuntu-dev-tools

$ pull-lp-source unity-place-files
pull-lp-source: Downloading https://launchpad.net/ubuntu/+archive/primary/+files/unity-place-files_0.5.36-0ubuntu2.dsc
. done
pull-lp-source: Downloading http://archive.ubuntu.com/ubuntu/pool/main/u/unity-place-files/unity-place-files_0.5.36.orig.tar.gz (0.362 MiB)
.......^X^CTraceback (most recent call last):
  File "/usr/bin/pull-lp-source", line 98, in <module>
  File "/usr/bin/pull-lp-source", line 90, in main
  File "/usr/lib/python2.7/dist-packages/ubuntutools/archive.py", line 313, in pull
    if self._download_file(url, name):
  File "/usr/lib/python2.7/dist-packages/ubuntutools/archive.py", line 290, in _download_file
    block = in_.read(10240)
  File "/usr/lib/python2.7/socket.py", line 380, in read
    data = self._sock.recv(left)
  File "/usr/lib/python2.7/httplib.py", line 561, in read
    s = self.fp.read(amt)
  File "/usr/lib/python2.7/socket.py", line 380, in read
    data = self._sock.recv(left)

The same error affects pull-debian-source and probably other scripts.

Benjamin Drung (bdrung) on 2011-02-08
Changed in ubuntu-dev-tools (Ubuntu):
importance: Undecided → Low
Changed in ubuntu-dev-tools (Ubuntu):
assignee: nobody → Stefano Rivera (stefanor)
status: New → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-dev-tools - 0.120

ubuntu-dev-tools (0.120) unstable; urgency=low

  [ Felix Geyer ]
  * pull-lp-source.1: Document -d option.

  [ Stefano Rivera ]
  * ubuntutools.archive: Filter rmadison results. (LP: #710579)
    - Canonicalise suites (use code-names) before passing them to rmadison.
  * pull-{lp,debian}-source: Download requested versions, as well as simply
    the latest version in a release.
  * pull-{lp,debian}-source, pull-debian-debdiff: Catch KeyboardInterrupt.
    (LP: #713845)
  * pull-debian-source: Handle -p-u and -security suites.
  * Bump X-Python-Version to >= 2.6, now that python-launchpadlib no longer
    supports Python 2.5.

  [ Julian Taylor ]
  * add support for cowbuilder and cowbuilder-dist in builder.py
    - allows use in sponsor-patch and backportpackage (LP: #728751)

  [ Benjamin Drung ]
  * data/ubuntu.csv: Add Oneiric Ocelot to the list of know releases.
  * ubuntutools.distro_info: Fix TypeError crash and add a test case to
    catch regressions (LP: #731398).
 -- Stefano Rivera <email address hidden> Sat, 12 Mar 2011 22:07:47 +0200

Changed in ubuntu-dev-tools (Ubuntu):
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