#1141061 reportbug: Failing with python 3.14 because of urllib

#1141061#5
Date:
2026-06-29 06:50:21 UTC
From:
To:
Dear Maintainer,

When reporting a bug and selecting and existing bug to retrieve the information
reportbug fails with:


Enter the number of the bug report you want to give more info on,
or press ENTER to exit: #36
Traceback (most recent call last):
  File "/usr/bin/reportbug", line 2419, in <module>
    main()
    ~~~~^^
  File "/usr/bin/reportbug", line 1110, in main
    return iface.user_interface()
           ~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/bin/reportbug", line 1804, in user_interface
    exinfo = ui.handle_bts_query(pkg, bts, self.options.timeout,
                                 self.options.mirrors,
    ...<5 lines>...
                                 mbox_reader_cmd=self.options.mbox_reader_cmd,
                                 latest_first=self.options.latest_first)
  File "/usr/lib/python3/dist-packages/reportbug/ui/text_ui.py", line 623, in
handle_bts_query
    return browse_bugs(hierarchy, count, bugs, bts, queryonly,
                       mirrors, http_proxy, timeout, screen, title,
                       package, source, mbox_reader_cmd)
  File "/usr/lib/python3/dist-packages/reportbug/ui/text_ui.py", line 739, in
browse_bugs
    return debbugs.get_report(number, timeout)[0]
           ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/reportbug/debbugs.py", line 2051, in
get_report
    log = debianbts.get_bug_log(number)
  File "/usr/lib/python3/dist-packages/debianbts/debianbts.py", line 296, in
get_bug_log
    items = _soap_client_call(f"{{{NS}}}get_bug_log", nr)
  File "/usr/lib/python3/dist-packages/debianbts/debianbts.py", line 534, in
_soap_client_call
    with opener.open(
         ~~~~~~~~~~~^
        urllib.request.Request(
        ^^^^^^^^^^^^^^^^^^^^^^^
    ...<7 lines>...
        )
        ^
    ) as f:
    ^
  File "/usr/lib/python3.14/urllib/request.py", line 493, in open
    response = meth(req, response)
  File "/usr/lib/python3.14/urllib/request.py", line 602, in http_response
    response = self.parent.error(
        'http', request, response, code, msg, hdrs)
  File "/usr/lib/python3.14/urllib/request.py", line 531, in error
    return self._call_chain(*args)
           ~~~~~~~~~~~~~~~~^^^^^^^
  File "/usr/lib/python3.14/urllib/request.py", line 464, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.14/urllib/request.py", line 611, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 503: Service Unavailable


This is probably due to urllib class missing in python 3.14

#1141061#10
Date:
2026-06-29 15:02:35 UTC
From:
To:
moment in time. There is no relation to python 3.14.

Closing as this is not a bug in reportbug.

Best,
Chris