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

Bug#822533: marked as done (reportbug crash when with a crippled internet connection)



Your message dated Tue, 1 Jan 2019 13:12:30 -0500
with message-id <CAB4XWXxUYquJ0F6BXF=2fD==PqydoN=byzSJogo3M+ie44ZuAQ@mail.gmail.com>
and subject line Re: [Reportbug-maint] Bug#822533: reportbug crash when with a crippled internet connection
has caused the Debian Bug report #822533,
regarding reportbug crash when with a crippled internet connection
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
822533: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=822533
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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
address.
Getting status for apt...
Checking for newer versions at madison...
Traceback (most recent call last):
  File "/usr/bin/reportbug", line 2247, in <module>
    main()
  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/checkversions.py",
line 228, in check_available
    comparison = compare_versions(version, avail[dist])
  File "/usr/lib/python2.7/dist-packages/reportbug/checkversions.py",
line 96, in compare_versions
    return debian_support.version_compare(upstream, current)
  File "/usr/lib/python2.7/dist-packages/debian/debian_support.py", line
314, in version_compare
    va = Version(a)
  File "/usr/lib/python2.7/dist-packages/debian/debian_support.py", line
213, in __init__
    super(AptPkgVersion, self).__init__(version)
  File "/usr/lib/python2.7/dist-packages/debian/debian_support.py", line
111, in __init__
    self.full_version = version
  File "/usr/lib/python2.7/dist-packages/debian/debian_support.py", line
137, in __setattr__
    self._set_full_version(str(value))
  File "/usr/lib/python2.7/dist-packages/debian/debian_support.py", 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:
PAGER="less"
INTERFACE="text"

** /home/kwadronaut/.reportbugrc:
reportbug_version "6.6.6"
mode standard
ui text
email "kwadronaut+debian@riseup.net"
no-cc
header "X-Debbugs-CC: kwadronaut+debian@riseup.net"
smtphost reportbug.debian.org

-- 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

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

i dont think it's reasonable to inject wrong results into the web
services we call and expect reportbug not to crash or misbehave.
wrapping every call to check for errors will make the code more
cumbersome and hard to maintain for (honestly) not much of a gain. i'm
going to close this report. thanks!

-- 
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
G+: https://plus.google.com/u/0/+SandroTosi

--- End Message ---

Reply to: