Bug#1005998: reportbug: cli version of reportbug crashes with Python IndexError
Package: reportbug
Version: 11.4.0
Severity: important
$ reportbug gimp
Warning: no reportbug configuration found. Proceeding in novice mode.
Detected character set: UTF-8
Please change your locale if this is incorrect.
Using 'Eric Cooper <ecc@ecc1.dev>' as your from address.
Getting status for gimp...
Verifying package integrity...
Checking for newer versions at madison...
Your version (2.10.30-1) of gimp appears to be out of date.
The following newer release(s) are available in the Debian archive:
unstable: 2.10.30-1+b1
Please try to verify if the bug you are about to report is already addressed by these releases. Do you still want to file a report [y|N|q|?]? y
Will send report to Debian (per lsb_release).
Querying Debian BTS for reports on gimp src:gimp...
144 bug reports found:
Bugs with severity important
1) #672894 gimp: toolbox window hangs in endless loop
2) #682705 gimp 2nd level dialogs freeze
3) #872419 gimp: Toolbox icons missed
4) #902852 gimp: Crashes when trying to save a new animated gif, instant crash on recovery
5) #918815 gimp: fatal error: speicherzugriffsfehler (gimp crash debug)
6) #920205 gimp: Hangs at startup trying to show toolbox window
7) #923452 gimp: fails with segfault when trying to change theme
8) #926797 gimp: with KDE plasma 5.14 ( buster) menus are in mode transparency, so they are
9) #928137 gimp: all Alpha layers are corrupted - vertical bars
10) #946714 gimp: GIMP crashed with a fatal error when a was editing an image
11) #949592 gimp crashes on startup
12) #952440 gimp: crashes on Edit then Copy
13) #953363 gimp: file dialogues use black font on black background
14) #954739 gimp: GIMP crashed with a fatal error: fatal error: Segmentation fault
15) #959235 gimp GUI font missing
16) #968005 gimp: install the application well, it did not give any error but when executing i
17) #979192 gimp: Just crashed when i clicked on the top of the gimp window bar
18) #988351 gimp crashes when copyq is running and i copy something from gimp to clipboard
19) #992109 gimp: save/export window doesn't popup
20) #992293 gimp: Can't select invert, crashing, lagging
(1-20/144) Is the bug you found listed above [y|N|b|m|r|q|s|f|e|?]? f
Enter the search pattern (a Perl-compatible regular expression)
or press ENTER to exit: pdf
Bugs with severity minor: 2 reports
1) #525077 gimp stole .ps and .pdf associations in GNOME with lenny->sid upgrade
2) #759704 pcmanfm opens gimp instead of okular to view a PDF file
Bugs with severity wishlist: 1 report
3) #499813 gimp: please allow saving multi-page PDFs
(1-3/3) Is the bug you found listed above [y|N|b|m|r|q|s|f|u|t|e|?]? y
Enter the number of the bug report you want to give more info on,
or press ENTER to exit: #3
Traceback (most recent call last):
File "/usr/bin/reportbug", line 2356, in <module>
main()
File "/usr/bin/reportbug", line 1090, in main
return iface.user_interface()
File "/usr/bin/reportbug", line 1766, in user_interface
exinfo = ui.handle_bts_query(pkg, bts, self.options.timeout,
File "/usr/lib/python3/dist-packages/reportbug/ui/text_ui.py", line 604, in handle_bts_query
return browse_bugs(hierarchy, count, bugs, bts, queryonly,
File "/usr/lib/python3/dist-packages/reportbug/ui/text_ui.py", line 728, in browse_bugs
retval = search_bugs(hierarchy, bts, queryonly, mirrors, http_proxy, timeout, screen, title,
File "/usr/lib/python3/dist-packages/reportbug/ui/text_ui.py", line 936, in search_bugs
return debbugs.get_report(number, timeout)[0]
File "/usr/lib/python3/dist-packages/reportbug/debbugs.py", line 1204, in get_report
status = debianbts.get_status([number])[0]
IndexError: list index out of range
-- Package-specific info:
** Environment settings:
EDITOR="/home/ecc/bin/fastemacs"
PAGER="less"
-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (500, 'testing'), (400, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.15.0-2-amd64 (SMP w/32 CPU threads)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages reportbug depends on:
ii apt 2.3.15
ii python3 3.9.8-1
ii python3-reportbug 11.4.0
ii sensible-utils 0.0.17
reportbug recommends no packages.
Versions of packages reportbug suggests:
pn claws-mail <none>
ii debconf 1.5.79
ii debsums 3.0.2
ii dlocate 1.10
ii dma [mail-transport-agent] 0.13-1
ii emacs-bin-common 1:27.1+1-3.1+b1
ii file 1:5.41-2
ii gnupg 2.2.27-3
pn python3-urwid <none>
pn reportbug-gtk <none>
ii xdg-utils 1.1.3-4.1
Versions of packages python3-reportbug depends on:
ii apt 2.3.15
ii file 1:5.41-2
ii python3 3.9.8-1
ii python3-apt 2.3.0+b1
ii python3-debian 0.1.43
ii python3-debianbts 3.2.0
ii python3-requests 2.25.1+dfsg-2
ii sensible-utils 0.0.17
python3-reportbug suggests no packages.
-- no debconf information
Reply to: