--- 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 ---
Source: reportbug
Source-Version: 7.5.3
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.
Sandro Tosi <morph@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: Wed, 28 Aug 2019 19:54:08 -0400
Source: reportbug
Architecture: source
Version: 7.5.3
Distribution: unstable
Urgency: medium
Maintainer: Reportbug Maintainers <debian-reportbug@lists.debian.org>
Changed-By: Sandro Tosi <morph@debian.org>
Closes: 923631 925422 931609 932524 934472 935602
Changes:
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:
513bba939e25c2174b5933d947603f679d29821b 1808 reportbug_7.5.3.dsc
e579736535f0d95123325f49650e73ff94b8b7fd 197708 reportbug_7.5.3.tar.xz
6de0270e8c1dc6ff9c78906698eee90dbc03b270 5688 reportbug_7.5.3_source.buildinfo
Checksums-Sha256:
4d4df9e164830891d2a3d8a384501f29c8f10f3d5a74928e0abc9bbee6d94757 1808 reportbug_7.5.3.dsc
973b30b2cef30c09226530cf283fa85f2a145582da11e33defd9f7c55fcb1bff 197708 reportbug_7.5.3.tar.xz
239869fc40c9725f166140f5d6f70545deb8e752b43bbf985edc72ba201664ea 5688 reportbug_7.5.3_source.buildinfo
Files:
d6c5290f02aa2169494d7d99343dbe9b 1808 utils standard reportbug_7.5.3.dsc
60850b4353dcb1c7e7ef57182ea7c094 197708 utils standard reportbug_7.5.3.tar.xz
8210704029b91be1a103ce440a69f052 5688 utils standard reportbug_7.5.3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEufrTGSrz5KUwnZ05h588mTgBqU8FAl1nFOEACgkQh588mTgB
qU/GLQ//QVdKoy51PqBffaSHaapP55bjf0kR/xNhFE7MPbRT8dG1RU92NYrUaoos
QLzhe3lCAQKi2O35XRFDRqT8syvm2nn2i7P311i7ts/rXFtjlZACuDY7UByizbSV
soekh/y8jD8Ggeb6ry/gccGplV20wR3lZn6GhH+KgDJ4OdVcdSyLT++WRGSFM4+d
/205DQzSSSDWSUo7qvdNKWogNJJTtOZ68B95mHrI25IL2ZrnFjTcr5t+bZDGveYv
ZayUA6HVScNECJj3aEgk5dwTGw9X4XRjuALLskavTt4y4jzyhwcn3yOMFT/2mBtu
STbhJAXHlYchF+sn3nhkedCA0PRXETSlcwtyypLGMK0ajipreTPkCvSa2NoUi3vC
pZK2nfGCLjZaMi5B/3l2n1I98vMOKtSUIkrIP/pjZufaaqQEwO7GYJrk5cjxWJNE
UTnKn5Jaz2HM0vZy4bgP6+O1mUaLM+7ykibvZRXxjP1ZMkJRgHBflF8NkOD192FW
Xj2w/9lmt43OG+Ie6lt49Fh9YLL4ohrJLecjvflfyUik+bM+GYA9FqPSaE9NZDQx
34FfNyeTxydDg/yDquLgxtcGMYs/Y6F70iTTgfCAjNssu1m83lqgTo46+ijUhcOb
5bCK7mjLxFN4wW8CT9AfrY9fiQq2xBK7lLetQyaeZxcWx8iRV/k=
=Axyb
-----END PGP SIGNATURE-----
--- End Message ---