Re: python-notmuch decoding error on a message
authorDavid Bremner <david@tethera.net>
Thu, 24 Nov 2011 16:13:22 +0000 (12:13 +2000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:40:22 +0000 (09:40 -0800)
06/c7648413400534d05f523e5e9eead8fae29f3f [new file with mode: 0644]

diff --git a/06/c7648413400534d05f523e5e9eead8fae29f3f b/06/c7648413400534d05f523e5e9eead8fae29f3f
new file mode 100644 (file)
index 0000000..8d6cd2f
--- /dev/null
@@ -0,0 +1,78 @@
+Return-Path: <bremner@unb.ca>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 870B5431FD0\r
+       for <notmuch@notmuchmail.org>; Thu, 24 Nov 2011 08:13:32 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.3\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id And4XUFcxhJ0 for <notmuch@notmuchmail.org>;\r
+       Thu, 24 Nov 2011 08:13:31 -0800 (PST)\r
+Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21])\r
+       (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 8E4F6431FB6\r
+       for <notmuch@notmuchmail.org>; Thu, 24 Nov 2011 08:13:31 -0800 (PST)\r
+Received: from zancas.localnet\r
+       (fctnnbsc36w-156034074106.pppoe-dynamic.High-Speed.nb.bellaliant.net\r
+       [156.34.74.106]) (authenticated bits=0)\r
+       by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id pAOGDM0N017315\r
+       (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO);\r
+       Thu, 24 Nov 2011 12:13:23 -0400\r
+Received: from bremner by zancas.localnet with local (Exim 4.77)\r
+       (envelope-from <bremner@unb.ca>)\r
+       id 1RTbvO-00068h-Fc; Thu, 24 Nov 2011 12:13:22 -0400\r
+From: David Bremner <david@tethera.net>\r
+To: Antoine Amarilli <antoine.amarilli@ens.fr>, notmuch@notmuchmail.org\r
+Subject: Re: python-notmuch decoding error on a message\r
+In-Reply-To: <20111106221554.GA23240@clipper.ens.fr>\r
+References: <20111106221554.GA23240@clipper.ens.fr>\r
+User-Agent: Notmuch/0.10 (http://notmuchmail.org) Emacs/23.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Thu, 24 Nov 2011 12:13:22 -0400\r
+Message-ID: <8762i98pnh.fsf@zancas.localnet>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Thu, 24 Nov 2011 16:13:32 -0000\r
+\r
+On Sun, 6 Nov 2011 23:15:54 +0100, Antoine Amarilli <antoine.amarilli@ens.fr> wrote:\r
+> Hello,\r
+> \r
+> The attached message makes python-notmuch crash when trying to access it (see\r
+> attached log).\r
+> \r
+> I don't know if the encoding of Subject is valid or not, but it would probably\r
+> be better anyway to ignore decoding errors and return some approximation of\r
+> Subject instead of failing like this.\r
+> \r
+\r
+I get a set of critical errors about forgetting to call g_type_init.\r
+\r
+We actually call g_type_init in the CLI now, thanks to \r
+   \r
+   id:"1311625989-97755-1-git-send-email-aaronecay@gmail.com"\r
+\r
+but it sounds like this probably needs to be called either in libnotmuch\r
+or in the bindings. \r
+\r
+For what it is worth this message decodes fine in the CLI\r
+\r
+d\r