Package: reportbug
Version: 6.0
Severity: normal

When I try to show the info for #503300, I get the backtrace:

Exception in thread None:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/lib/pymodules/python2.6/reportbug/ui/gtk2_ui.py", line 345, in run
    http_proxy=self.http_proxy, archived=self.archived)
  File "/usr/lib/pymodules/python2.6/reportbug/debbugs.py", line 1287, in
get_report
    hdrs.append(i + ': ' + h.get(i))
TypeError: cannot concatenate 'str' and 'NoneType' objects


That's because the message doesn't contain 'Date' header:

(Pdb) 'Date' in h
False
(Pdb) print h.as_string()
Received: (at control) by bugs.debian.org; 16 Jan 2009 21:49:35 +0000
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
        (2007-08-08) on rietz.debian.org
X-Spam-Level:
X-Spam-Bayes: score:0.0000 Tokens: new, 13; hammy, 128; neutral, 23; spammy,
        1. spammytokens:0.873-+--H*c:iso-8859-1
hammytokens:0.000-+--sk:lists.d,
        0.000-+--HCc:D*packages.debian.org, 0.000-+--HCc:D*alioth.debian.org,
        0.000-+--HCc:D*lists.alioth.debian.org,
0.000-+--H*F:D*alioth.debian.org
X-Spam-Status: No, score=-5.7 required=4.0 tests=ALL_TRUSTED,AWL,BAYES_00,
        MISSING_DATE autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02
Return-path: <bts-link-upstr...@lists.alioth.debian.org>
Received: from merkel.debian.org ([192.25.206.16])
        by rietz.debian.org with esmtp (Exim 4.63)
        (envelope-from <bts-link-upstr...@lists.alioth.debian.org>)
        id 1LNwDD-0000nx-Fw
        for cont...@bugs.debian.org; Fri, 16 Jan 2009 21:26:43 +0000
Received: from localhost ([127.0.0.1] helo=merkel.debian.org)
        by merkel.debian.org with esmtp (Exim 4.63)
        (envelope-from <bts-link-upstr...@lists.alioth.debian.org>)
        id 1LNvgA-0002S9-S1; Fri, 16 Jan 2009 13:52:34 -0700
Content-Type: text/plain; charset="iso-8859-1"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-ID: <20090116205234.12933.57770.btsl...@merkel.debian.org>
From: bts-link-upstr...@lists.alioth.debian.org
To: cont...@bugs.debian.org
Cc: bts-link-upstr...@lists.alioth.debian.org, ipyt...@packages.debian.org
Subject: [bts-link] source package ipython
X-BTS-Link: ipython
Reply-To: bts-link-de...@lists.alioth.debian.org
Delivered-To: cont...@bugs.debian.org



-- Package-specific info:
** Environment settings:
EDITOR="vim"
DEBEMAIL="w...@wrar.name"
DEBFULLNAME="Andrey Rahmatullin"
INTERFACE="gtk2"

** /home/wrar/.reportbugrc:
reportbug_version "4.12.6"
mode expert
ui gtk2
realname "Andrey Rahmatullin"
email "w...@wrar.name"

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-wrar+ (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages reportbug depends on:
ii  apt                           0.8.15.6   Advanced front-end for dpkg
ii  python                        2.6.7-3    interactive high-level object-orie
ii  python-reportbug              6.0        Python modules for interacting wit

reportbug recommends no packages.

Versions of packages reportbug suggests:
ii  debconf-utils                1.5.41      debconf utilities
ii  debsums                      2.0.48+nmu3 tool for verification of installed
ii  dlocate                      1.02        fast alternative to dpkg -L and dp
pn  emacs22-bin-common | emacs23 <none>      (no description available)
ii  file                         5.04-6      Determines file type using "magic"
ii  gnupg                        1.4.11-3    GNU privacy guard - a free PGP rep
ii  postfix [mail-transport-agen 2.8.3-1     High-performance mail transport ag
ii  python-gtk2                  2.24.0-2    Python bindings for the GTK+ widge
pn  python-gtkspell              <none>      (no description available)
ii  python-urwid                 0.9.9.2-1   curses-based UI/widget library for
ii  python-vte                   1:0.28.1-2  Python bindings for the VTE widget
ii  xdg-utils                    1.1.0~rc1-2 desktop integration utilities from

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to