[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#908619: reportbug: Crash when reporting bug: TypeError: fixer() missing argument: 'check_hostname'



Package: reportbug
Version: 7.5.0
Severity: important

Dear Maintainer,

When trying to report a bug with "reportbug" that is configured to use
the gtk2 interface, it crashes.

Steps to reproduce:
1. Configure reportbug to use gtk2 interface
2. Run "reportbug reportbug"
3. It crashes:

cweiske:~> reportbug reportbug
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/reportbug/ui/gtk2_ui.py", line 1049, in sync_pre_operation
    http_proxy=http_proxy, archived=archived, source=source)
  File "/usr/lib/python3/dist-packages/reportbug/debbugs.py", line 1072, in get_reports
    bugs = debianbts.get_bugs(pkg_filter, package)
  File "/usr/lib/python3/dist-packages/debianbts/debianbts.py", line 410, in get_bugs
    reply = soap_client.call('get_bugs', method_el)
  File "/usr/lib/python3/dist-packages/pysimplesoap/client.py", line 260, in call
    self.xml_response = self.send(method, self.xml_request)
  File "/usr/lib/python3/dist-packages/pysimplesoap/client.py", line 313, in send
    location, http_method, body=xml, headers=headers)
  File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1395, in request
    self.disable_ssl_certificate_validation)
  File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 978, in __init__
    timeout=timeout, context=context)
TypeError: fixer() missing 1 required positional argument: 'check_hostname'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/reportbug", line 2266, in <module>
    main()
  File "/usr/bin/reportbug", line 1109, in main
    return iface.user_interface()
  File "/usr/bin/reportbug", line 1722, in user_interface
    latest_first=self.options.latest_first)
  File "/usr/lib/python3/dist-packages/reportbug/ui/gtk2_ui.py", line 1763, in func
    args, kwargs = op.sync_pre_operation(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/reportbug/ui/gtk2_ui.py", line 1051, in sync_pre_operation
    error_dialog("Unable to connect to %s BTS." % sysinfo['name'])
  File "/usr/lib/python3/dist-packages/reportbug/ui/gtk2_ui.py", line 137, in error_dialog
    _assert_context(ui_context)
  File "/usr/lib/python3/dist-packages/reportbug/ui/gtk2_ui.py", line 92, in _assert_context
    (_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:
EDITOR="emacs"
INTERFACE="text"

** /home/cweiske/.reportbugrc:
reportbug_version "7.5.0"
mode standard
ui text
email "cweiske+bugs.debian.org@cweiske.de"

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages reportbug depends on:
ii  apt                1.6.4
ii  python3            3.6.6-1
ii  python3-reportbug  7.5.0
ii  sensible-utils     0.0.12

reportbug recommends no packages.

Versions of packages reportbug suggests:
ii  claws-mail                               3.17.1-1
pn  debconf-utils                            <none>
pn  debsums                                  <none>
pn  dlocate                                  <none>
ii  dma [mail-transport-agent]               0.11-1+b1
pn  emacs24-bin-common | emacs25-bin-common  <none>
ii  file                                     1:5.34-2
ii  gnupg                                    2.2.10-1
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.6.4
ii  file               1:5.34-2
ii  python3            3.6.6-1
ii  python3-apt        1.6.2
ii  python3-debian     0.1.33
ii  python3-debianbts  2.7.2
ii  python3-requests   2.18.4-2

python3-reportbug suggests no packages.

-- no debconf information


Reply to: