Re: bug related to ical
authorTomi Ollila <tomi.ollila@iki.fi>
Wed, 26 Sep 2012 05:53:11 +0000 (08:53 +0300)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:49:37 +0000 (09:49 -0800)
29/4f2a02efe44a47013f48183b7c9de7eaa08359 [new file with mode: 0644]

diff --git a/29/4f2a02efe44a47013f48183b7c9de7eaa08359 b/29/4f2a02efe44a47013f48183b7c9de7eaa08359
new file mode 100644 (file)
index 0000000..b74561e
--- /dev/null
@@ -0,0 +1,158 @@
+Return-Path: <tomi.ollila@iki.fi>\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 63CB8431FC4\r
+       for <notmuch@notmuchmail.org>; Tue, 25 Sep 2012 22:53:09 -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 ovfWRMi6UbFZ for <notmuch@notmuchmail.org>;\r
+       Tue, 25 Sep 2012 22:53:08 -0700 (PDT)\r
+Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
+       by olra.theworths.org (Postfix) with ESMTP id 0F390431FAF\r
+       for <notmuch@notmuchmail.org>; Tue, 25 Sep 2012 22:53:08 -0700 (PDT)\r
+Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
+       by guru.guru-group.fi (Postfix) with ESMTP id 1FD8710014A;\r
+       Wed, 26 Sep 2012 08:53:12 +0300 (EEST)\r
+From: Tomi Ollila <tomi.ollila@iki.fi>\r
+To: Olivier Berger <olivier.berger@it-sudparis.eu>, notmuch@notmuchmail.org\r
+Subject: Re: bug related to ical\r
+In-Reply-To: <87d31artti.fsf@inf-8657.int-evry.fr>\r
+References: <m31ul3qo4w.fsf@quad.robs.office>\r
+       <871uhq2x3t.fsf@inf-8657.int-evry.fr>\r
+       <m2ipb2tjl8.fsf@guru.guru-group.fi>\r
+User-Agent: Notmuch/0.13.2+177~g6720ee8 (http://notmuchmail.org) Emacs/24.2.1\r
+       (x86_64-unknown-linux-gnu)\r
+X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
+       $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
+       !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
+Date: Wed, 26 Sep 2012 08:53:11 +0300\r
+Message-ID: <m2mx0dwcs8.fsf@guru.guru-group.fi>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\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: Wed, 26 Sep 2012 05:53:09 -0000\r
+\r
+Hi\r
+\r
+I am "top-posting" as the content is not from Olivier's mail\r
+id:"87d31artti.fsf@inf-8657.int-evry.fr" but from my email\r
+id:"m2ipb2tjl8.fsf@guru.guru-group.fi"...\r
+\r
+For some reason notmuch emacs client references to my email instead\r
+of Olivier's when pressing 'V', any of the stash commands, reply or\r
+so on. Maybe that has something to do accessing the ical content\r
+(i.e. emacs client access the ical part from wrong message).\r
+\r
+Do others experience the same behaviour ?\r
+\r
+Tomi\r
+\r
+\r
+\r
+> On Tue, Sep 25 2012, Olivier Berger <olivier.berger@it-sudparis.eu> wrote:\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
+> Can either of you provide an email file that triggers this problem\r
+> for others to test ?\r
+>\r
+> Tomi\r
+>\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
+>> _______________________________________________\r
+>> notmuch mailing list\r
+>> notmuch@notmuchmail.org\r
+>> http://notmuchmail.org/mailman/listinfo/notmuch\r