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

Bug#919102: marked as done (reportbug: crash if fails to contact debian server)



Your message dated Fri, 10 Jul 2020 02:37:55 +0000
with message-id <E1jtivD-000CSN-U4@fasolo.debian.org>
and subject line Bug#919102: fixed in reportbug 7.7.0
has caused the Debian Bug report #919102,
regarding reportbug: crash if fails to contact debian server
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.)


-- 
919102: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919102
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: reportbug
Version: 7.1.7+deb9u2
Severity: important

Dear Maintainer,

When trying to report a bug from linux package and the server is under '500
Internal Server Error', reportbug will crash.
Sorry if this is not a reportbug's bug.


I've been having this issue for some time, so decided to run reportbug from
terminal and got the following :

b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>500
Internal Server Error</title>\n</head><body>\n<h1>Internal Server
Error</h1>\n<p>The server encountered an internal error or\nmisconfiguration
and was unable to complete\nyour request.</p>\n<p>Please contact the server
administrator at \n owner@bugs.debian.org to inform them of the time this error
occurred,\n and the actions you performed just before this error.</p>\n<p>More
information about this error may be available\nin the server error
log.</p>\n<hr>\n<address>Apache Server at bugs.debian.org Port
443</address>\n</body></html>\n'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/reportbug/debbugs.py", line 1077, in
get_reports
    stats = debianbts.get_status(bugs)
  File "/usr/lib/python3/dist-packages/debianbts.py", line 257, in get_status
    reply = soap_client.call('get_status', method_el)
  File "/usr/lib/python3/dist-packages/pysimplesoap/client.py", line 262, in
call
    jetty=self.__soap_server in ('jetty',))
  File "/usr/lib/python3/dist-packages/pysimplesoap/simplexml.py", line 56, in
__init__
    self.__document = xml.dom.minidom.parseString(text)
  File "/usr/lib/python3.5/xml/dom/minidom.py", line 1968, in parseString
    return expatbuilder.parseString(string)
  File "/usr/lib/python3.5/xml/dom/expatbuilder.py", line 925, in parseString
    return builder.parseString(string)
  File "/usr/lib/python3.5/xml/dom/expatbuilder.py", line 223, in parseString
    parser.Parse(string, True)
xml.parsers.expat.ExpatError: syntax error: line 1, column 49

During handling of the above exception, another exception occurred:

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 1079, in
get_reports
    raise QuertBTSError
reportbug.exceptions.QuertBTSError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/reportbug", line 2264, in <module>
    main()
  File "/usr/bin/reportbug", line 1108, 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 1765, 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:
INTERFACE="gtk2"

** /home/raiden/.reportbugrc:
reportbug_version "7.1.7"
mode novice
ui gtk2
realname "Neil"
email "ledufff@hotmail.com"
smtphost "smtp-mail.outlook.com"
smtpuser "ledufff@hotmail.com"
smtptls

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

Kernel: Linux 4.19.0-0.bpo.1-amd64 (SMP w/4 CPU cores)
Locale: LANG=es_CO.UTF-8, LC_CTYPE=es_CO.UTF-8 (charmap=UTF-8), LANGUAGE=es_CO:es (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.4.8
ii  python3            3.5.3-1
ii  python3-reportbug  7.1.7+deb9u2

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  claws-mail                                 <none>
pn  debconf-utils                              <none>
ii  debsums                                    2.2.2
pn  dlocate                                    <none>
pn  emacs24-bin-common | emacs25-bin-common    <none>
ii  exim4-daemon-light [mail-transport-agent]  4.89-2+deb9u3
ii  file                                       1:5.30-1+deb9u2
ii  gir1.2-gtk-3.0                             3.22.11-1
ii  gir1.2-vte-2.91                            0.46.1-1
ii  gnupg                                      2.1.18-8~deb9u3
ii  python3-gi                                 3.22.0-2
ii  python3-gi-cairo                           3.22.0-2
ii  python3-gtkspellcheck                      4.0.5-1
pn  python3-urwid                              <none>
ii  xdg-utils                                  1.1.1-1+deb9u1

Versions of packages python3-reportbug depends on:
ii  apt                1.4.8
ii  file               1:5.30-1+deb9u2
ii  python3            3.5.3-1
ii  python3-apt        1.4.0~beta3
ii  python3-debian     0.1.30
ii  python3-debianbts  2.6.1
ii  python3-requests   2.12.4-1

python3-reportbug suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: reportbug
Source-Version: 7.7.0
Done: Sandro Tosi <morph@debian.org>

We believe that the bug you reported is fixed in the latest version of
reportbug, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 919102@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sandro Tosi <morph@debian.org> (supplier of updated reportbug package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 09 Jul 2020 22:18:36 -0400
Source: reportbug
Architecture: source
Version: 7.7.0
Distribution: unstable
Urgency: medium
Maintainer: Reportbug Maintainers <debian-reportbug@lists.debian.org>
Changed-By: Sandro Tosi <morph@debian.org>
Closes: 271084 532150 544812 620712 657066 687214 709862 730236 780747 788045 843337 855380 865792 867663 871048 872772 883346 894794 918989 919102 922058 926726 936061 940532 942261 946363 946963 955809 961675 961955 963073 963762 964260
Changes:
 reportbug (7.7.0) unstable; urgency=medium
 .
   [ Bastian Venthur ]
   * Replace nosetests with pytest
   * replace pep8, pyflake, pylint with flake8
   * updated docs
   * removed references to non-existing coverage targets
   * removed remaining traces of nose
 .
   [ Nis Martensen ]
   * reportbug/utils.py
     - support merged-/usr during file search; Closes: #942261
     - get_source_name: improve, use python apt
     - use a single global apt cache
     - simplify mua_is_supported
     - switch from pipes to shlex.quotes
     - simplify mua_exists, drop MUAVERSION
     - drop Mua.get_name()
     - add mua support via xdg-email
       (Closes: #532150, #788045, #865792)
     - protect against too long mailto argument
     - Mua.send: return commandline instead of calling ui.system
     - Mua: rename send → get_send_command
     - rename Xdg → Mailto
     - add direct support for a few more MUAs
       Closes: #271084, #922058
     - reportbug/utils.py: clean up cleanup_msg
     - fix get_source_name breakage from previous change
   * bin/reportbug
     - recognize source packages (and `src:linux`) when sending followup info;
       Closes: #946363
     - try to determine an unambiguous package name to pass to debsums;
       Closes: #940532
     - do not create an empty tempfile if the `outfile` option is given
     - fix re-execution after configuration;
       Closes: #620712, #730236, #780747, #926726
     - Query both binary and source package by default; Closes: #936061
     - minor update for STARTTLS clarification
     - Improved QuertBTSError handling
     - improve and simplify mailer selection in handle_editing
     - handle_editing: capitalize "print ..." menu option
   * reportbug/bugreport.py
     - correctly detect LANGUAGE; Closes: #946963
     - bugreport.py: fix missing cores → threads
   * reportbug/debbugs.py:
     - get_reports: also include bugs that affect the package;
       Closes: #544812
     - get_reports: add support for lists of packages
     - get_reports: drop one try..except
   * reportbug/submit.py:
     - use implicit SSL with port 465
     - show output file name after quitting mailer without sending
   * bin/reportbug, reportbug.utils, test_utils: drop mua_name function
   * reportbug/utils.py,submit.py: rename Mua.name → Mua.executable
   * urlutils.py, checkversions.py: use proxy and timeout;
       Closes: #961955
   * reportbug/ui/gtk_ui.py:
     - fix crash in handle_bts_query on non-Debian systems; Closes: #709862
     - Hide back button; Closes: #855380, #867663, #872772
     - handle_bts_query: Use QuertBTSError instead of NoBugs;
       Closes: #919102, #918989
     - drop broken/unused error_dialog function
     - fix argument order in _assert_context
     - fix crash when copying text to clipboard
     - do not change window title in final_message
   * reportbug/ui/text_ui.py:
     - use subprocess.Popen instead of os.popen; Closes: #961675
     - handle_bts_query: Use QuertBTSError
   * reportbug/ui/urwid_ui.py:
     - survive ancient encoding
     - handle_bts_query: Use QuertBTSError
   * Testsuite:
     - adapt to recent code changes
     - test get_source_name with astroid
     - test_debbugs.py: add ftbfs tag
     - test_utils.py: add test for new xdg-email Mua
     - test: adapt to splitting mailer off utils
     - test/test_mailer.py: do not require all MUAs to be installed
       (Closes: #843337)
     - test_mailer.py: extend for big messages and attachments
     - test_utils.py: dirtify test data for cleanup_msg
     - test_utils.py: complete test for cleanup_msg
     - test_utils.py: adapt cleanup_msg expected results
   * fix some minor typos in various files
   * manpages:
     - document that reportbug will exit after --configure
     - Update for SSL/TLS encrypted submission support
     - reportbug.1: mention how to obtain list of valid BTS systems
       (Closes: #964260)
   * doc/README.Users:
     - Clarify how to configure reportbug.debian.org
       (Closes: #963073)
     - document limitations of MUA support
     - some MUAs now support attachments
   * share/handle_bugscript: convert to UTF-8
   * Lintian fixes:
     - add override for desktop-command-not-in-package
     - d/control: suggest default mta
     - d/copyright: fix obsolete-field-in-dep5-copyright
     - d/copyright: fix dep5-copyright-license-name-not-unique
     - d/copyright: fix missing-license-paragraph-in-dep5-copyright
     - d/copyright: fix missing-field-in-dep5-copyright
     - d/copyright: GPL-any is equivalent to GPL-1+
   * debian/control:
     - switch to debhelper compat level 12
     - add Rules-Requires-Root (R³)
     - update standards-version (no changes needed)
   * split off MUA stuff from utils into new mailer submodule
   * reportbug/mailer.py:
     - Mailto Mua: fix payload decoding
     - Mailto Mua: multipart → mailto is not supported
     - Mailto Mua: not urlquoting "/" should be safe
     - mua_exists: invert logic
     - better attachment file check
   * reportbug/exceptions.py,mailer.py: use custom BadMessage exception
   * do not try to run graphical MUAs in text-only environments
   * Use X-Debbugs-CC as pseudoheader instead of header
   * bin/reportbug,reportbug/submit.py,mailer.py: support attachments with MUA
     Closes: #894794
   * bin/reportbug, reportbug/utils.py: minor regex improvements
   * bin/reportbug, reportbug/ui/gtk_ui.py: allow reply with -N in GTK ui
     (Closes: #687214)
   * bin/reportbug, reportbug.desktop: drop --exit-prompt option
 .
   [ Fabrice BAUZAC ]
   * Improve code documentation
 .
   [ Jens Korte ]
   * Update description of --bts option in reportbug.1 man page
 .
   [ Paul Gevers ]
   * Add template to (o)pu release.debian.org bugs; Closes: #883346
 .
   [ Josh Triplett ]
   * querybts: Use http_proxy when opening mbox URLs
 .
   [ Ansgar ]
   * bugreport.py: "CPU cores" → "CPU threads"
 .
   [ Bas Couwenberg ]
   * reportbug/debbugs.py: add the 'ftbfs' tag to make `-T ftbfs` work;
     Closes: #955809
 .
   [ chrysn ]
   * reportbug/ui/gtk_ui.py: add hint to press Next of no bug matches;
     Closes: #871048
 .
   [ mozbugbox ]
   * bin/reportbug: allow followups on ITP bugs; Closes: #657066
 .
   [ Brian Murray ]
   * reportbug/ui/text_ui.py: launch browser for correct package type
     (Closes: #963762)
 .
   [ Sandro Tosi ]
   * Add Nis Martensen to Uploaders, very much well deserved!
   * Extend copyright notice to 2020
   * New release
Checksums-Sha1:
 20ad830744d0814d53de5a11ead01ccfe2fd62de 1860 reportbug_7.7.0.dsc
 812cb194deb7373f3dd4aa3fdf289049f5e4b549 202056 reportbug_7.7.0.tar.xz
 3a15bf52ca785e8c9b136d6b9bfafb1a038e7fff 6283 reportbug_7.7.0_source.buildinfo
Checksums-Sha256:
 f5ab2572330fc8bdb336212b6d3f11ab3486d82993736b4b75f95ee2568ceaea 1860 reportbug_7.7.0.dsc
 f3f268f855b42693b7524944bcb1e3fee83d2872f25f8d8bbd0a8b204a8b99bd 202056 reportbug_7.7.0.tar.xz
 897aa6378897f8de00405e3a1b043d5dc886cfec87852496af5da8b5366748c7 6283 reportbug_7.7.0_source.buildinfo
Files:
 73da77951afd412d6249b60cd5261d4b 1860 utils standard reportbug_7.7.0.dsc
 b6a7d0e74aca40f4da6aefbb272f25cf 202056 utils standard reportbug_7.7.0.tar.xz
 0cf7936d7813e72f86b1d966fc542e7e 6283 utils standard reportbug_7.7.0_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEufrTGSrz5KUwnZ05h588mTgBqU8FAl8H0R8ACgkQh588mTgB
qU/kjxAAxKSeRQPXM20evcywKz7y+180QrFJVo5s2oyDpqcv+KYf699aHslQC4un
PpiF6ems447ouZgQ1l3IewA8IaaVwZUPdtCKulHZaVNa4KLcwQ/6Ip57rPo9Jzhu
a+d5nhBtZYy39yTnbEQiEutuoVrzJuCLY8VDUsYaxApDLPBR7SgOI56FmUWPgZGA
kZQuct6qwcJeRa/aOsZy7SqrAESxbWGBLapiKPX0NEU4J+7ldzKTmcqfUlLToZnk
1r1qdphrraPGkjZJnO6xzOnh7po64IFOH3zmds7a0JBp6hqrV5loS1HBq3cpzv0T
kdRDhDgxFtu6DZjfRMnP4oB0/X11fsIQWni+iSGuWir3FmWcZk6eKdhOkW7n889A
pSq5QiAH3u0Ihvh1c1lzQG28xMhw5BfSgh4xStfDhe8ghgA+dAgiqf1qzGGALVlv
+Tm0TP2EZRb5gEfR0iLFp53hZOx+x/+9kxuOwFLD3mt2B3MPJjukR9+fpMQ760LM
Pwp3oE94QuWH9A2oH1WiN8LGKpNymMbDInb5c8k8pJncSKiR3FR29BQ+0BK5iTra
wv2vyFU8laBvhnCmyIkUUXyR8ZOt1lAr0uZx47xwby6WeBsGaVLO7FUs12p/WzJh
qgkZH65bvOJB/enhgPTsDWYmY2tlMiU/Usp2BVrcoMdQnRd2Lbk=
=f9WK
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: