Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 2473E429E25 for ; Fri, 12 Aug 2011 01:14:31 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.09 X-Spam-Level: X-Spam-Status: No, score=-0.09 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, T_MIME_NO_TEXT=0.01] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k3moP94-wg0Q for ; Fri, 12 Aug 2011 01:14:30 -0700 (PDT) Received: from homiemail-a75.g.dreamhost.com (caiajhbdcbhh.dreamhost.com [208.97.132.177]) by olra.theworths.org (Postfix) with ESMTP id 73C68431FB6 for ; Fri, 12 Aug 2011 01:14:30 -0700 (PDT) Received: from homiemail-a75.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a75.g.dreamhost.com (Postfix) with ESMTP id F3D065EC07E; Fri, 12 Aug 2011 01:14:21 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=SSpaeth.de; h=from:to:subject :in-reply-to:references:date:message-id:mime-version: content-type; q=dns; s=sspaeth.de; b=Y9i+3MJfyCeDZSD28kEg195om3a s7PFatMM9EQUultJq1uDS6nY10nus92bPNR/C9J2WVuZD1Kg9uUsP3NPtcIujcHz hLYBxb0L7o+eDfTDNobxanJWy6k2CGlqEbAkHv+38lxnPQMZ80uNArFinoRUM0c6 Hd4xE0IWxBl0WrGo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=SSpaeth.de; h=from:to :subject:in-reply-to:references:date:message-id:mime-version: content-type; s=sspaeth.de; bh=KhcPYWS4J5L9DaOnv1KWPHRgTfY=; b=h h/xzBFNl2AaNd46IBbpS36ATYg9ntUyVkbvK+M/xqysXGISGcOWpoEgskly4S3Av 4ulkpy05u0KvYJC8x5XO4NMPJCcrbUEOTpc5RkM8HJLm0PaXlAVgWg8Tzez9gitC b1Ek0XGINh82kwPxrH9utbCdtWHj9kQcCF7swoK4OE= Received: from spaetzbook.sspaeth.de (unknown [84.55.206.35]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: fax@sspaeth.de) by homiemail-a75.g.dreamhost.com (Postfix) with ESMTPSA id 58C2F5EC014; Fri, 12 Aug 2011 01:14:20 -0700 (PDT) Received: by spaetzbook.sspaeth.de (sSMTP sendmail emulation); Fri, 12 Aug 2011 10:14:18 +0200 From: Sebastian Spaeth To: Michael Heinrich , notmuch@notmuchmail.org Subject: Re: [Patch] tag.py: Bugfix to avoid decode() on a NoneType object In-Reply-To: References: User-Agent: Notmuch/0.5-233-gb404931 (http://notmuchmail.org) Emacs/23.2.1 (x86_64-pc-linux-gnu) Date: Fri, 12 Aug 2011 10:14:17 +0200 Message-ID: <87wrejnj1i.fsf@SSpaeth.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Aug 2011 08:14:31 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Fri, 22 Jul 2011 14:11:41 +0000 (UTC), Michael Heinrich wrote: > Dear all, >=20 > with current head I get following error in my python scripts when I read = the > tags of a message: >=20 > File "/home/heinrich/.local/lib/python2.6/site-packages/notmuch/tag.py"= , line > 88, in next > tag =3D Tags._get(self._tags).decode('utf-8') Just for reference, this has been fixed in commit 94c5edd064f856a888ce29f7ac1523006b4b8fd6 on Aug 9th using a slightly different patch of mine. Sebastian --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk5E4NkACgkQVYX1jMgnoGISmACfc3mLlEoet8udchRLQ1wU1LK5 Zi8AoILCmwbZBQgm4LmhoRRpbF1dm5DI =jsJ9 -----END PGP SIGNATURE----- --=-=-=--