Package: reportbug
Version: 7.5.2
Followup-For: Bug #919102

Dear Maintainer,

I can confirm this with version 7.5.2. If there's no network connection,
reportbug will crash as described. I noticed this after upgrading to buster.
Crash information below.

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/httplib2/", line 1186, in
  File "/usr/lib/python3/dist-packages/httplib2/", line 998, in
    address_info = socket.getaddrinfo(host, port, 0, socket.SOCK_STREAM)
  File "/usr/lib/python3.7/", line 748, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Tilapäinen virhe nimenselvityksessä

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/reportbug/ui/", line 1049, in
    http_proxy=http_proxy, archived=archived, source=source)
  File "/usr/lib/python3/dist-packages/reportbug/", line 1069, in
    bugs = debianbts.get_bugs(pkg_filter, package)
  File "/usr/lib/python3/dist-packages/debianbts/", line 401, in
    reply ='get_bugs', method_el)
  File "/usr/lib/python3/dist-packages/pysimplesoap/", line 256, in
    self.xml_response = self.send(method, self.xml_request)
  File "/usr/lib/python3/dist-packages/pysimplesoap/", line 318, in
    location, http_method, body=xml, headers=headers)
  File "/usr/lib/python3/dist-packages/httplib2/", line 1513, in
    (response, content) = self._request(conn, authority, uri, request_uri,
method, body, headers, redirections, cachekey)
  File "/usr/lib/python3/dist-packages/httplib2/", line 1263, in
    (response, content) = self._conn_request(conn, request_uri, method, body,
  File "/usr/lib/python3/dist-packages/httplib2/", line 1193, in
    raise ServerNotFoundError("Unable to find the server at %s" %
httplib2.ServerNotFoundError: Unable to find the server at

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/reportbug", line 2285, in <module>
  File "/usr/bin/reportbug", line 1115, in main
    return iface.user_interface()
  File "/usr/bin/reportbug", line 1728, in user_interface
  File "/usr/lib/python3/dist-packages/reportbug/ui/", line 1763, in
    args, kwargs = op.sync_pre_operation(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/reportbug/ui/", line 1051, in
    error_dialog("Unable to connect to %s BTS." % sysinfo['name'])
  File "/usr/lib/python3/dist-packages/reportbug/ui/", line 137, in
  File "/usr/lib/python3/dist-packages/reportbug/ui/", line 92, in
    (_describe_context(really), _describe_context(expected)))
AssertionError: Function should be called in <MainContext of reportbug thread>
but was called in <MainContext of UI thread>

-- Package-specific info:
** Environment settings:

** /home/username/.reportbugrc:
reportbug_version "7.1.7"
mode standard
ui gtk2
realname *******
email *********************
header "X-Debbugs-CC: *********************"

-- System Information:
Debian Release: 10.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8),
LANGUAGE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages reportbug depends on:
ii  apt                1.8.2
ii  python3            3.7.3-1
ii  python3-reportbug  7.5.2
ii  sensible-utils     0.0.12

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  claws-mail                               <none>
pn  debconf-utils                            <none>
pn  debsums                                  <none>
pn  dlocate                                  <none>
pn  emacs24-bin-common | emacs25-bin-common  <none>
ii  file                                     1:5.35-4
ii  gnupg                                    2.2.12-1
pn  postfix | exim4 | mail-transport-agent   <none>
pn  python3-urwid                            <none>
pn  reportbug-gtk                            <none>
ii  xdg-utils                                1.1.3-1

Versions of packages python3-reportbug depends on:
ii  apt                1.8.2
ii  file               1:5.35-4
ii  python3            3.7.3-1
ii  python3-apt        1.8.4
ii  python3-debian     0.1.35
ii  python3-debianbts  2.8.2
ii  python3-requests   2.21.0-1

python3-reportbug suggests no packages.

Reply via email to