Your message dated Wed, 3 Jun 2015 10:42:57 +0200
with message-id <20150603084257.gb24...@home.ouaza.com>
and subject line Re: Bug#787163: At the new package tracker the section bugs
not shown
has caused the Debian Bug report #787163,
regarding tracker.debian.org: [regression] the package tracker seems to have
lost the bugs box
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 ow...@bugs.debian.org
immediately.)
--
787163: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=787163
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: tracker.debian.org
Severity: important
Hello and thanks for developing the (new) Debian Package Tracker!
I have recently noticed a regression: the package tracker seems to
no longer display the bugs box (which used to show up on the top of the
right column). The bugs box seems to be missing from all package pages,
such as, for instance:
https://tracker.debian.org/pkg/apt-listbugs
https://tracker.debian.org/pkg/apt
https://tracker.debian.org/pkg/reportbug
...
This appears to be an important regression, since I think the bugs box
was very useful to quickly access the lists of bugs of various severities,
the bugs vs. time plots, and so forth...
BTW, when the bugs box was present, it used to be displayed only if
the package had a number of bugs greater than 0.
I believe this was a suboptimal behavior, since, that way, you hide
the links to bug lists (which can, in some cases, contain one or more
just-filed bug reports, before the tracker data gets updated) and also
the link to the bugs vs. time plot (which is useful even when the bug
count is zero: it shows how the bug count reached zero!).
Please re-enable the bugs box in the package pages, and, while you are
at it, please enable it even for packages with zero bugs.
Thanks for your time.
Bye.
--- 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 ---