Package: reportbug
Version: 13.0.1
Severity: normal
X-Debbugs-CC: mo...@debian.org nis.marten...@web.de

Dear Debian reportbug package maintainers,

I am experiencing crashing of reportbug tool when reporting a
bookworm-pu bug report against release.debian.org pseudo-package:


-> % reportbug
Please enter the name of the package in which you have found a problem, or type 
'other' to report a more general problem. If you don't know what
package the bug is in, please contact debian-u...@lists.debian.org for 
assistance.
> release.debian.org
Are you sure you want to file a bug on release.debian.org [y|N|q|?]? y
*** 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 'Boyuan Yang <by...@debian.org>' 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 binnmu       binNMU requests
2 bookworm-pu  bookworm proposed updates requests
3 britney      testing migration script bugs
4 bullseye-pu  bullseye proposed updates requests
5 other        None of the other options
6 rm           Stable/Testing removal requests
7 transition   transition tracking
8 unblock      unblock requests

Choose the request type: 2
Please enter the name of the package: xsane
Checking package information...
Traceback (most recent call last):
  File "/usr/bin/reportbug", line 2386, in <module>
    main()
  File "/usr/bin/reportbug", line 1094, in main
    return iface.user_interface()
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/reportbug", line 1762, in user_interface
    res = special_prompts(package, bts, ui, fromaddr,
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/reportbug", line 499, in special_prompts
    return pkgprompts(package, bts, ui, fromaddr, timeout, online, http_proxy)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/reportbug/debbugs.py", line 607, in 
handle_debian_release
    pseudos = add_affects_package(info, package, pseudos, ui)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/reportbug/debbugs.py", line 255, in 
add_affects_package
    src_pkg = info[12] or package
              ~~~~^^^^
TypeError: 'NoneType' object is not subscriptable

I am running a Debian Testing system.

Can you look into it to see where the problem is?

Thanks,
Boyuan Yang

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to