Package: reportbug
Version: 6.6.6
Severity: normal

Dear Maintainer,

when reportbug queries madison, but you're behind a captive portal
(ie, coffeeshop, public place...), reportbug crashes.

reportbug apt
Gtk-Message: Failed to load module "canberra-gtk-module"
Warning: no reportbug configuration found.  Proceeding in novice mode.
Detected character set: UTF-8
Please change your locale if this is incorrect.
Using 'kwadronaut <kwadronaut@kwadronaut.boomgaard>' as your from
Getting status for apt...
Checking for newer versions at madison...
Traceback (most recent call last):
  File "/usr/bin/reportbug", line 2247, in <module>
  File "/usr/bin/reportbug", line 1115, in main
    return iface.user_interface()
  File "/usr/bin/reportbug", line 1636, in user_interface
    http_proxy=self.options.http_proxy, arch=arch)
  File "/usr/lib/python2.7/dist-packages/reportbug/",
line 228, in check_available
    comparison = compare_versions(version, avail[dist])
  File "/usr/lib/python2.7/dist-packages/reportbug/",
line 96, in compare_versions
    return debian_support.version_compare(upstream, current)
  File "/usr/lib/python2.7/dist-packages/debian/", line
314, in version_compare
    va = Version(a)
  File "/usr/lib/python2.7/dist-packages/debian/", line
213, in __init__
    super(AptPkgVersion, self).__init__(version)
  File "/usr/lib/python2.7/dist-packages/debian/", line
111, in __init__
    self.full_version = version
  File "/usr/lib/python2.7/dist-packages/debian/", line
137, in __setattr__
  File "/usr/lib/python2.7/dist-packages/debian/", line
116, in _set_full_version
    raise ValueError("Invalid version string %r" % version)
ValueError: Invalid version string '(gtIEMobile7)'

I expect it to complain about crappy network connectivity, suggest to
retry with --no-query-bts, not crash like this.

Workaround is a functional network or using -b.

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

** /home/kwadronaut/.reportbugrc:
reportbug_version "6.6.6"
mode standard
ui text
email ""
header "X-Debbugs-CC:"

-- System Information:
Debian Release: stretch/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (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.2.10
ii  python-reportbug  6.6.6
pn  python:any        <none>

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  claws-mail                               <none>
pn  debconf-utils                            <none>
pn  debsums                                  <none>
pn  dlocate                                  <none>
pn  emacs23-bin-common | emacs24-bin-common  <none>
ii  file                                     1:5.25-2
ii  gnupg                                    1.4.20-6
ii  nullmailer [mail-transport-agent]        1:1.13-1+b1
ii  python-gtk2                              2.24.0-4
pn  python-gtkspellcheck                     <none>
pn  python-urwid                             <none>
ii  python-vte                               1:0.28.2-5+b1
ii  xdg-utils                                1.1.1-1

Versions of packages python-reportbug depends on:
ii  apt               1.2.10
ii  file              1:5.25-2
ii  python-debian     0.1.27
ii  python-debianbts  2.6.0
pn  python:any        <none>

python-reportbug suggests no packages.

-- no debconf information

Reportbug-maint mailing list

Reply via email to