[ubuntu-dev] Bug#637168: /usr/bin/requestsync: please handle traceback on keyboardinterrupt in requestsync

Karl Goetz karl at kgoetz.id.au
Tue Aug 9 02:57:24 UTC 2011


Package: ubuntu-dev-tools
Version: 0.101
Severity: minor
File: /usr/bin/requestsync

Hi,
I was going to request a sync for the new freeciv then noticed it was targeting the wrong
release. Solution? ^C. Annoyingly, this spat out a traceback - could this be handled better?
I assume so :)
thanks,
kk

12:40:29  kgoetz at epicfail: ~ $ requestsync -d sid -s -e freeciv 
W: Target release missing - assuming maverick
^CTraceback (most recent call last):
  File "/usr/bin/requestsync", line 136, in <module>
    debian_srcpkg = getDebianSrcPkg(srcpkg, distro)
  File "/usr/lib/pymodules/python2.6/ubuntutools/requestsync/mail.py", line 104, in getDebianSrcPkg
    return getSrcPkg('debian', name, release)
  File "/usr/lib/pymodules/python2.6/ubuntutools/requestsync/mail.py", line 89, in getSrcPkg
    out = rmadison(distro, name, release)
  File "/usr/lib/pymodules/python2.6/ubuntutools/requestsync/mail.py", line 72, in rmadison
    rmadison_out = rmadison_cmd.communicate()[0]
  File "/usr/lib/python2.6/subprocess.py", line 683, in communicate
    stdout = self.stdout.read()
KeyboardInterrupt



-- System Information:
Debian Release: 6.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ubuntu-dev-tools depends on:
ii  binutils             2.20.1-16           The GNU assembler, linker and bina
ii  dctrl-tools          2.14.5              Command-line tools to process Debi
ii  devscripts           2.10.69+squeeze1    scripts to make the life of a Debi
ii  diffstat             1.53-1              produces graph of changes introduc
ii  dpkg-dev             1.15.8.11           Debian package development tools
ii  lsb-release          3.2-23.2squeeze1    Linux Standard Base version report
ii  python               2.6.6-3+squeeze6    interactive high-level object-orie
ii  python-apt           0.7.100.1+squeeze1  Python interface to libapt-pkg
ii  python-debian        0.1.18              Python modules to work with Debian
ii  python-launchpadlib  1.6.2-1             Launchpad web services client libr
ii  python-lazr.restfulc 0.9.21-1            client for lazr.restful-based web 
ii  python-support       1.0.10              automated rebuilding support for P
ii  sudo                 1.7.4p4-2.squeeze.2 Provide limited super user privile

Versions of packages ubuntu-dev-tools recommends:
ii  bzr                    2.1.2-1           easy to use distributed version co
ii  ca-certificates        20090814+nmu2     Common CA certificates
ii  cowdancer              0.62+nmu2         Copy-on-write directory tree utili
ii  debootstrap            1.0.27~gns1       Bootstrap a basic Debian system
ii  genisoimage            9:1.1.11-1        Creates ISO-9660 CD-ROM filesystem
ii  libapt-pkg-perl        0.1.24+b1         Perl interface to libapt-pkg
ii  libwww-perl            5.836-1           Perl HTTP/WWW client/server librar
ii  pbuilder               0.199+nmu1        personal package builder for Debia
ii  perl-modules           5.10.1-17squeeze2 Core Perl modules
ii  python-magic           5.04-5            File type determination library us
ii  python-soappy          0.12.0-4          SOAP Support for Python
ii  reportbug              4.12.6            reports bugs in the Debian distrib

Versions of packages ubuntu-dev-tools suggests:
pn  qemu-kvm-extras-static        <none>     (no description available)

-- no debconf information





More information about the ubuntu-dev-team mailing list