--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: reportbug: Crashes when filing a cruft RM request for a non-existent package (after confirmed that the user intended for it to be unknown)
- From: Niels Thykier <niels@thykier.net>
- Date: Sun, 03 Mar 2019 08:30:12 +0100
- Message-id: <155159821235.2705.9303400118965044682.reportbug@mangetsu.thykier.net>
Package: reportbug
Version: 7.5.2
Severity: minor
Hi,
I can reproduce a crash in reportbug when asking to file a bug against
ftp.debian.org asking to remove a non-existent package (e.g. if you
list multiple binaries or cheat an use "<common-prefix>-*").
Just before the crash, reportbug asks you to confirm that the
non-existant package is deliberate and that we should continue anyway.
Below is an example flow with the crash.
"""
$ reportbug ftp.debian.org
*** Welcome to reportbug. Use ? for help at prompts. ***
Note: bug reports are publicly archived (including the email address of the submitter).
Detected character set: UTF-8
Please change your locale if this is incorrect.
Using 'Niels Thykier <niels@thykier.net>' as your from address.
Will send report to Debian (per lsb_release).
What sort of request is this? (If none of these things mean anything to you, or you are trying to report a bug in an existing package, please press Enter to exit
reportbug.)
1 ANAIS Package removal - Architecture Not Allowed In Source.
2 ICE Package removal - Internal Compiler Error.
3 NBS Package removal - Not Built [by] Source.
4 NPOASR Package removal - Never Part Of A Stable Release.
5 NVIU Package removal - Newer Version In Unstable.
6 ROM Package removal - Request Of Maintainer.
7 ROP Package removal - Request of Porter.
8 RoQA Package removal - Requested by the QA team.
9 other Not a package removal request, report other problems.
10 override Change override request.
Choose the request type: 3
Please enter the name of the package (either source of binary package): foo
Checking status database...
W: Unable to locate package foo
This package doesn't appear to exist; continue? [y|N|?]? y
Traceback (most recent call last):
File "/usr/bin/reportbug", line 2285, in <module>
main()
File "/usr/bin/reportbug", line 1115, in main
return iface.user_interface()
File "/usr/bin/reportbug", line 1705, in user_interface
self.options.http_proxy)
File "/usr/bin/reportbug", line 543, in special_prompts
return pkgprompts(package, bts, ui, fromaddr, timeout, online, http_proxy)
File "/usr/lib/python3/dist-packages/reportbug/debbugs.py", line 265, in handle_debian_ftp
section, priority = info[16], info[10]
IndexError: list index out of range
"""
Thanks,
~Niels
--- End Message ---
--- Begin Message ---
- To: 923631-close@bugs.debian.org
- Subject: Bug#923631: fixed in reportbug 7.5.3~deb10u1
- From: Andreas Beckmann <anbe@debian.org>
- Date: Sat, 31 Aug 2019 01:02:23 +0000
- Message-id: <E1i3rmZ-0006Y1-Gd@fasolo.debian.org>
Source: reportbug
Source-Version: 7.5.3~deb10u1
We believe that the bug you reported is fixed in the latest version of
reportbug, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 923631@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andreas Beckmann <anbe@debian.org> (supplier of updated reportbug package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 30 Aug 2019 13:52:06 +0200
Source: reportbug
Architecture: source
Version: 7.5.3~deb10u1
Distribution: buster
Urgency: medium
Maintainer: Reportbug Maintainers <debian-reportbug@lists.debian.org>
Changed-By: Andreas Beckmann <anbe@debian.org>
Closes: 923631 925422 931609 932524 934472 935602
Changes:
reportbug (7.5.3~deb10u1) buster; urgency=medium
.
* Non-maintainer upload.
* Re-enable submitting stretch-pu requests.
* Rebuild for buster.
.
reportbug (7.5.3) unstable; urgency=medium
.
* debian/control
- replace emacs* Suggests with emacs-bin-common; Closes: #925422
- bump Standards-Version to 4.4.0 (no changes needed)
- add sensible-utils dep, patch by Nis Martensen
* reportbug/debbugs.py
- when handling ftp.d.o, dont look up package information if the package
doesnt exist, fixing a crash; Closes: #923631
- fix a crash with stable version lookup, patch by Nis Martensen;
Closes: #935602
* bin/reportbug
- remove debug code when handling list-cc-me, patch by Josh Triplett
* reportbug/utils.py
- update release names, following Buster releases, patch by Nicolas
Braud-Santoni; Closes: #932524, #931609
- recognize versioned Provides; patch by Nis Martensen; Closes: #934472
* man/reportbug.1
- add default for --draftpath; patch by laokz
Checksums-Sha1:
750d872a4c48493e618285960a97610a74a04b62 1865 reportbug_7.5.3~deb10u1.dsc
432c794af433e5e5a9a66802b2acf66b4d2e2ca3 197796 reportbug_7.5.3~deb10u1.tar.xz
5ca01235424077040d0e2cfc7b3cb894a2a8d2b4 5571 reportbug_7.5.3~deb10u1_source.buildinfo
Checksums-Sha256:
5cb54bc4684454c59bb91f52389991f94f99835858ccc262a1a28eb50e9e1ee1 1865 reportbug_7.5.3~deb10u1.dsc
607bef6fb3d2c78275bd16ea4be359847b84bcbb9d501b1acc63660acfb4d384 197796 reportbug_7.5.3~deb10u1.tar.xz
f5e79157dd1c283624ef837bea65ac9cafd66135405e5079d1538b793c4a780a 5571 reportbug_7.5.3~deb10u1_source.buildinfo
Files:
125c53114c27a037ad91c8803461517e 1865 utils standard reportbug_7.5.3~deb10u1.dsc
029851faafade7a1780ddc95c1323afc 197796 utils standard reportbug_7.5.3~deb10u1.tar.xz
831466a70a128629e879489823a9f71c 5571 utils standard reportbug_7.5.3~deb10u1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAl1pEYcQHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCGlDD/9xdGctiIskRTTA0PVaREE13gLxdgfc/L6q
CtEySOyutAEJ5Up/S6QDEhcPj4DCW3axW6j5K4ADczJbPfke5brDhtwufyYAK2JV
VeFueRy8Q7NQBmdwOy2HuDpkXOkObkzbGVQuyt9DQpRn2Qi2WPKA7C2uu9vO4x82
v59F9LOvbDBCyJRz40vCvPyPKDpsfsAg2Z+Fg4zeuRRVHNqxIdfdrulhsvqDocro
anAJ5vmlk7dVpKr1oOrhoA7KVqibaSTNhkqxBxPrd2IEQQ6Foou1n/QoXC+3oI1B
fQryC1NMaOFhFnd8y9fX2XLrd+osZCS4Ndn2MjzBh6cCbOs49pG6sV20YjToV+kn
kQvFm0k2k20kvQaPAAcZ5PotbLumH/v8UaAEEzyPtfouCjZEuhIxBw6vVEYYBz9Z
yvPCUVrbLM1WGsY78bM1PMIJSvmOXzdAWTt1Raa2WHsTKS2ED2OeBBfE/pJZKwQo
u2banZnRq7oWWwST8/4gY4AOFMSy1bflsPNLVRB7kwI89qBxyPHg2i1axfXojWxs
A69cYZSpJTwcBjIkeNg0ugC1evASECJ358gUryirZ2weNlf1HDCyUp2R4I6EgDhR
+0iGulAjYeJ6ZKQWE4rVDFwSu/puPJ8HCbHqNriFsP19fzIuMedFMtLwgUw4vNCK
9+exxOsSng==
=Lv7U
-----END PGP SIGNATURE-----
--- End Message ---