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

Bug#787417: marked as done (Please bring back bug links)



Your message dated Wed, 3 Jun 2015 10:42:57 +0200
with message-id <20150603084257.GB24427@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 Please bring back bug links
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.)


-- 
787163: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=787163
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: tracker.debian.org

The old PTS as well as tracker.d.o had had the "bugs" counts and links
in the top right corner, in the "Links" box. For some time now tracker
seems to have lost them. These are very useful for a quick check about
#RC bugs and links to these.

Can you please bring them back? It seems odd that this still links to
Ubuntu bugs, but not the Debian ones any more.

Thanks,

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

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

Reply to: