Re: bug related to ical
authorOlivier Berger <olivier.berger@it-sudparis.eu>
Tue, 25 Sep 2012 10:52:22 +0000 (12:52 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:49:36 +0000 (09:49 -0800)
20/21b62635e2c8b37e9dff22b5270b4ab493162f [new file with mode: 0644]

diff --git a/20/21b62635e2c8b37e9dff22b5270b4ab493162f b/20/21b62635e2c8b37e9dff22b5270b4ab493162f
new file mode 100644 (file)
index 0000000..ae7c7b1
--- /dev/null
@@ -0,0 +1,136 @@
+Return-Path: <gmn-notmuch@m.gmane.org>\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 44B01431FC7\r
+       for <notmuch@notmuchmail.org>; Tue, 25 Sep 2012 03:52:38 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       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 BjN5aJdOL0Xb for <notmuch@notmuchmail.org>;\r
+       Tue, 25 Sep 2012 03:52:37 -0700 (PDT)\r
+Received: from plane.gmane.org (plane.gmane.org [80.91.229.3])\r
+       (using TLSv1 with cipher AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id D6A4D431FAF\r
+       for <notmuch@notmuchmail.org>; Tue, 25 Sep 2012 03:52:36 -0700 (PDT)\r
+Received: from list by plane.gmane.org with local (Exim 4.69)\r
+       (envelope-from <gmn-notmuch@m.gmane.org>) id 1TGSko-0004Lp-Gj\r
+       for notmuch@notmuchmail.org; Tue, 25 Sep 2012 12:52:38 +0200\r
+Received: from bauxite.int-evry.fr ([157.159.110.64])\r
+       by main.gmane.org with esmtp (Gmexim 0.1 (Debian))\r
+       id 1AlnuQ-0007hv-00\r
+       for <notmuch@notmuchmail.org>; Tue, 25 Sep 2012 12:52:38 +0200\r
+Received: from olivier.berger by bauxite.int-evry.fr with local (Gmexim 0.1\r
+       (Debian)) id 1AlnuQ-0007hv-00\r
+       for <notmuch@notmuchmail.org>; Tue, 25 Sep 2012 12:52:38 +0200\r
+X-Injected-Via-Gmane: http://gmane.org/\r
+To: notmuch@notmuchmail.org\r
+From: Olivier Berger <olivier.berger@it-sudparis.eu>\r
+Subject: Re: bug related to ical\r
+Date: Tue, 25 Sep 2012 12:52:22 +0200\r
+Lines: 76\r
+Message-ID: <871uhq2x3t.fsf@inf-8657.int-evry.fr>\r
+References: <m31ul3qo4w.fsf@quad.robs.office>\r
+Mime-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+X-Complaints-To: usenet@ger.gmane.org\r
+X-Gmane-NNTP-Posting-Host: bauxite.int-evry.fr\r
+User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)\r
+Cancel-Lock: sha1:jqLWXB0qWmp7zzF350JB5z+amos=\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: Tue, 25 Sep 2012 10:52:38 -0000\r
+\r
+Hi.\r
+\r
+I didn't seem to find any followup.\r
+\r
+I'm experiencing a similar problem... Anyone with hints on how to solve\r
+this ?\r
+\r
+Thanks in advance.\r
+\r
+Best regards,\r
+\r
+Robert Horn <rjhorn@alum.mit.edu> writes:\r
+\r
+> I've noticed a problem related to handling of ical attachments.  I'm\r
+> using Notmuch 0.13 on Emacs 23.3.1.  I've done some basic\r
+> troubleshooting.\r
+>\r
+> The problem arises with emails from Concur that include an ical\r
+> attachment being viewed with the notmuch message viewer.  The problems\r
+> are:\r
+>  1. When opening the email there is sometimes the following mesage and\r
+>  error in Emacs message buffer:\r
+>   Converting icalendar...done\r
+>   notmuch-show-insert-bodypart-internal: Wrong type argument: stringp, nil\r
+>\r
+>  2. Some (not all) of the view commands fail, e.g. "v", "V", "w".\r
+>  Others work, like "m", and "q".\r
+>\r
+>  3. Examination of the /tmp directory shows notmuch-ical temp files being\r
+>  created but they are zero length.\r
+>\r
+> This is related to the ical attachment.  When I editted one of the emails to\r
+> remove the attachment, the problem went away.  I suspect it is related\r
+> to the attachments being base64 encoded.  The header of the mime\r
+> attachment shows:\r
+>\r
+> Content-Type: application/octet-stream;\r
+>      name="ConcurCalendarEntry.ics"\r
+> Content-Transfer-Encoding: base64\r
+> Content-Disposition: attachment;\r
+>      filename="ConcurCalendarEntry.ics"\r
+>\r
+> The encoding is correct.  The attachment decodes and looks right.  With\r
+> some details obscured the attachment contains:\r
+>\r
+> BEGIN:VCALENDAR\r
+> VERSION:2.0\r
+> METHOD:PUBLISH\r
+> BEGIN:VEVENT\r
+> DTSTART:properly-formatted\r
+> DTEND:properly-formatted\r
+> DTSTAMP:properly-formatted\r
+> LOCATION:\r
+> SUMMARY:Concur Travel Itinerary\r
+> DESCRIPTION:Lots of stuff\r
+>  with about 80 lines of description. All indented properly.\r
+> UID:properly-formatted\r
+> PRIORITY:3\r
+> TRANSP:TRANSPARENT\r
+> END:VEVENT\r
+> END:VCALENDAR\r
+>\r
+> I can live without the ics files, so fixing this is not a priority for\r
+> me.  If there is someone interested in figuring this out, I've saved an\r
+> email and can answer questions.  I got lost trying to follow the lisp\r
+> code paths for attachments, so I'm not sure whether it's the text or the\r
+> base64 that is being handed off to icalendar.\r
+>\r
+> R Horn\r
+> rjhorn@alum.mit.edu\r
+\r
+-- \r
+Olivier BERGER \r
+http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8\r
+Ingenieur Recherche - Dept INF\r
+Institut Mines-Telecom, Telecom SudParis, Evry (France)\r
+\r