--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: At the new package tracker the section bugs not shown
- From: Jörg Frings-Fürst <debian@jff-webhosting.net>
- Date: Fri, 29 May 2015 11:53:00 +0200
- Message-id: <20150529095300.24171.70041.reportbug@merkur>
Package: tracker.debian.org
Severity: important
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Since some day the section with the bugs are not more shown.
- -- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (900, 'testing'), (800, 'unstable'), (500, 'testing-updates'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/6 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCgAGBQJVaDb8AAoJEAn4nzyModJdbpYP/02G425LtV+cvXb3cSdJwP7P
MRq0YBpcxTcw31c/+pX/qQXUdSknoxTMyRY5ZESbksXpyRGU9Fb8ikwZ2Te5JrLb
1kACiJflsbyPlzPgLj81KAiB6EVY9BlV9rerM0r8nM2n2YJ6qggv2Q73M7xLNMlA
A/3XtBAZY95qJS1Cmh8vhC5y5SWqRphTeeajv1006k9L6JBLmM9sCOpl184zqrtj
z8kBzI2RoUbBGn64sAOU8/VKGJmZ3TLTUOw8kfpVEb1/xQcqVbxzNMprIUkzrVuU
tJawRd78idOxQi2O+cxxIeO6egvn/dXlgFax2AV2nrj4FJtcvb2P3hKPWXDRl9v4
oDpgngHTW0qD2Ny303akTwnyjXPoSTLzPVY+nh/HWnkChD9csgTCT65Sr0YV/dG2
fD1BMGgfJgM7lUbSdt+OPWH/wFL7bmoXm7x87MqmgfS6jK+pT9iT4AEWc0C1NYIH
15Se1Az2biUt73bSzjowTPmYy75LA8Hc2FBk4M53/AZ6awX/oMkzOuZm7OZDbUmh
E3DZIpUPcSsTZq91VAaaXeB77I7SoNx8KNclhhB7RCDkCw+MCPHg8Ue+/sBGXu1s
iCsUHqRuKZCdX0dAkoEoW5Amv3IHhVx6RKIo9OxxODOtrM33Lw0RDGgsl/GbBavO
26i0x4MU+HX3sXqLrRxO
=8xvs
-----END PGP SIGNATURE-----
--- End Message ---
--- Begin Message ---
Hi,
On Mon, 01 Jun 2015, Christophe Siraut wrote:
> The attached patch adds an exception for these entries.
I committed a different patch that just ignores invalid UTF-8 charaters:
--- a/distro_tracker/vendor/debian/tracker_tasks.py
+++ b/distro_tracker/vendor/debian/tracker_tasks.py
@@ -409,7 +409,7 @@ class UpdatePackageBugStats(BaseTask):
# Each line in the response should be bug stats for a single package
bug_stats = {}
for line in response_content.splitlines():
- line = line.decode('utf-8')
+ line = line.decode('utf-8', 'ignore')
package_name, bug_counts = line.split(':', 1)
# Merged counts are in parentheses so remove those before splitting
# the numbers
This is enough to bring back the bug statistics but we still have the bug
that we can't access the Soap interface of the BTS:
2015-06-03 08:32:23,889 [tracker_tasks/27961/139959848625920] ERROR: Could not get bugs tagged help
Traceback (most recent call last):
File "/srv/tracker.debian.org/distro-tracker/distro_tracker/vendor/debian/tracker_tasks.py", line 463, in update_source_and_pseudo_bugs
help_bugs = self._get_tagged_bug_stats('help')
File "/srv/tracker.debian.org/distro-tracker/distro_tracker/vendor/debian/tracker_tasks.py", line 249, in _get_tagged_bug_stats
statuses = server.get_status(bugs)
File "/usr/lib/python2.7/dist-packages/SOAPpy/Client.py", line 545, in __call__
return self.__r_call(*args, **kw)
File "/usr/lib/python2.7/dist-packages/SOAPpy/Client.py", line 567, in __r_call
self.__hd, self.__ma)
File "/usr/lib/python2.7/dist-packages/SOAPpy/Client.py", line 430, in __call
timeout = self.timeout)
File "/usr/lib/python2.7/dist-packages/SOAPpy/Client.py", line 244, in call
r.endheaders()
File "/usr/lib/python2.7/httplib.py", line 997, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 850, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 812, in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line 1212, in connect
server_hostname=server_hostname)
File "/usr/lib/python2.7/ssl.py", line 350, in wrap_socket
_context=self)
File "/usr/lib/python2.7/ssl.py", line 566, in __init__
self.do_handshake()
File "/usr/lib/python2.7/ssl.py", line 788, in do_handshake
self._sslobj.do_handshake()
SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)
I could not find a way to get it working. I even tried to override
the ssl._create_default_https_context() function that is called
in the process to return a custom SSLContext pointing
to /etc/ssl/ca-debian but could not get it to work.
Cheers,
PS: Christophe, I added you to the qa group on alioth.debian.org.
--
Raphaël Hertzog ◈ Debian Developer
Support Debian LTS: http://www.freexian.com/services/debian-lts.html
Learn to master Debian: http://debian-handbook.info/get/
--- End Message ---