Re: Emacs notmuch-show consistently reports "End of file during parsing"
authorTellman <edwint@amazon.com>
Wed, 23 May 2012 18:34:59 +0000 (11:34 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:47:17 +0000 (09:47 -0800)
26/dec0f8af25c1558b6df27cb969c2390b14ebaa [new file with mode: 0644]

diff --git a/26/dec0f8af25c1558b6df27cb969c2390b14ebaa b/26/dec0f8af25c1558b6df27cb969c2390b14ebaa
new file mode 100644 (file)
index 0000000..3e75280
--- /dev/null
@@ -0,0 +1,103 @@
+Return-Path: <edwint@78ca391a1b82.ant.amazon.com>\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 BA5C0431FC0\r
+       for <notmuch@notmuchmail.org>; Wed, 23 May 2012 11:50:55 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 4.397\r
+X-Spam-Level: ****\r
+X-Spam-Status: No, score=4.397 tagged_above=-999 required=5\r
+       tests=[DKIM_ADSP_ALL=1.1, NO_DNS_FOR_FROM=0.379,\r
+       RCVD_IN_BRBL_LASTEXT=1.644, RDNS_NONE=1.274] 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 GXCxu71zhI7k for <notmuch@notmuchmail.org>;\r
+       Wed, 23 May 2012 11:50:55 -0700 (PDT)\r
+X-Greylist: delayed 955 seconds by postgrey-1.32 at olra;\r
+       Wed, 23 May 2012 11:50:55 PDT\r
+Received: from 78ca391a1b82.ant.amazon.com (unknown [207.171.191.61])\r
+       by olra.theworths.org (Postfix) with ESMTP id 47DE7431FAF\r
+       for <notmuch@notmuchmail.org>; Wed, 23 May 2012 11:50:55 -0700 (PDT)\r
+Received: by 78ca391a1b82.ant.amazon.com (Postfix, from userid 1829422907)\r
+       id 2EEADDCD856; Wed, 23 May 2012 11:34:59 -0700 (PDT)\r
+Date: Wed, 23 May 2012 11:34:59 -0700\r
+From: Tellman <edwint@amazon.com>\r
+To: Tomi Ollila <tomi.ollila@iki.fi>\r
+Subject: Re: Emacs notmuch-show consistently reports "End of file during\r
+       parsing"\r
+Message-ID: <20120523183459.GA34543@amazon.com>\r
+References: <20120523142301.GC10576@amazon.com>\r
+       <m2fwaqncm1.fsf@guru.guru-group.fi>\r
+Mime-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Disposition: inline\r
+In-Reply-To: <m2fwaqncm1.fsf@guru.guru-group.fi>\r
+User-Agent: Mutt/1.4.2.3i\r
+Cc: "notmuch@notmuchmail.org" <notmuch@notmuchmail.org>\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, 23 May 2012 18:50:55 -0000\r
+\r
+Thanks for the quick response.\r
+\r
+I have gmime 2.4 installed.\r
+\r
+I tried the search and show commands and the responses all looked OK to me, although I wasn't quite sure what to look for.  I didn't see any error messages.\r
+\r
+Here's a sample: \r
+\r
+[[[{"id": "5qt490ipfnbu1z.fsf@78ca391a1b82.ant.amazon.com", "match": true, "filename": "/Users/edwint/mail/INBOX/sent/cur/1337734168.4985_755109_1.78ca391a1b82.ant.amazon.com:2,S", "timestamp": 1337734168, "date_relative": "Yest. 17:49", "tags": ["inbox"], "headers": {"Subject": "hi", "From": "Ed Tellman <edwint@amazon.com>", "To": "edwint@amazon.com", "Cc": "", "Bcc": "", "Date": "Tue, 22 May 2012 17:49:28 -0700"}, "body": [{"id": 1, "content-type": "text/plain", "content": "hi\n"}]}, []]]]78ca391a1b82:gmime \r
+\r
+I tried a bunch of other ones, and they all looked similar.\r
+\r
+Thanks,\r
+--Ed\r
+\r
+\r
+On Wed, May 23, 2012 at 08:25:26AM -0700, Tomi Ollila wrote:\r
+> On Wed, May 23 2012, Tellman <edwint@amazon.com> wrote:\r
+> \r
+> > I recently installed notmuch on my OS X laptop.  Searching works fine--it\r
+> > seems to find all my mail and displays the subject lines, dates, etc.,\r
+> > correctly.\r
+> \r
+> > However, the emacs mode is unable to display the contents of any of the\r
+> > messages.  I see the subjects correctly, but when I try to view the\r
+> > actual message, I see: "End of file during parsing" and an empty page.\r
+> \r
+> > I have OS X Lion, Emacs.App, version 23.2.1, and notmuch version 0.11\r
+> > installed via MacPorts.\r
+> >\r
+> > Does anyone have an idea what might be causing this?\r
+> \r
+> What version of gmime is installed ?\r
+> \r
+> Do the following on command line (the l33t... below is \r
+> actually a date 'Tue May 15 23:10:56 2012 UTC').\r
+> \r
+> notmuch search --output=threads 1337123456..\r
+> \r
+> and then execute\r
+> \r
+> notmuch show --format=json thread:000000000000XXXX\r
+> \r
+> (take the XXX from the thread list outputted before\r
+> -- try many of those and see whether something fails\r
+> during execution...).\r
+> \r
+> > Thanks,\r
+> > --Ed Tellman\r
+> \r
+> Tomi\r