From 861f026364c2bd0d4aab8e9d2f9c6f8e54e36036 Mon Sep 17 00:00:00 2001 From: Tellman Date: Thu, 24 May 2012 11:34:59 +1700 Subject: [PATCH] Re: Emacs notmuch-show consistently reports "End of file during parsing" --- 26/dec0f8af25c1558b6df27cb969c2390b14ebaa | 103 ++++++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 26/dec0f8af25c1558b6df27cb969c2390b14ebaa diff --git a/26/dec0f8af25c1558b6df27cb969c2390b14ebaa b/26/dec0f8af25c1558b6df27cb969c2390b14ebaa new file mode 100644 index 000000000..3e75280dd --- /dev/null +++ b/26/dec0f8af25c1558b6df27cb969c2390b14ebaa @@ -0,0 +1,103 @@ +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 BA5C0431FC0 + for ; Wed, 23 May 2012 11:50:55 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 4.397 +X-Spam-Level: **** +X-Spam-Status: No, score=4.397 tagged_above=-999 required=5 + tests=[DKIM_ADSP_ALL=1.1, NO_DNS_FOR_FROM=0.379, + RCVD_IN_BRBL_LASTEXT=1.644, RDNS_NONE=1.274] 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 GXCxu71zhI7k for ; + Wed, 23 May 2012 11:50:55 -0700 (PDT) +X-Greylist: delayed 955 seconds by postgrey-1.32 at olra; + Wed, 23 May 2012 11:50:55 PDT +Received: from 78ca391a1b82.ant.amazon.com (unknown [207.171.191.61]) + by olra.theworths.org (Postfix) with ESMTP id 47DE7431FAF + for ; Wed, 23 May 2012 11:50:55 -0700 (PDT) +Received: by 78ca391a1b82.ant.amazon.com (Postfix, from userid 1829422907) + id 2EEADDCD856; Wed, 23 May 2012 11:34:59 -0700 (PDT) +Date: Wed, 23 May 2012 11:34:59 -0700 +From: Tellman +To: Tomi Ollila +Subject: Re: Emacs notmuch-show consistently reports "End of file during + parsing" +Message-ID: <20120523183459.GA34543@amazon.com> +References: <20120523142301.GC10576@amazon.com> + +Mime-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +Content-Disposition: inline +In-Reply-To: +User-Agent: Mutt/1.4.2.3i +Cc: "notmuch@notmuchmail.org" +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: Wed, 23 May 2012 18:50:55 -0000 + +Thanks for the quick response. + +I have gmime 2.4 installed. + +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. + +Here's a sample: + +[[[{"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 ", "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 + +I tried a bunch of other ones, and they all looked similar. + +Thanks, +--Ed + + +On Wed, May 23, 2012 at 08:25:26AM -0700, Tomi Ollila wrote: +> On Wed, May 23 2012, Tellman wrote: +> +> > I recently installed notmuch on my OS X laptop. Searching works fine--it +> > seems to find all my mail and displays the subject lines, dates, etc., +> > correctly. +> +> > However, the emacs mode is unable to display the contents of any of the +> > messages. I see the subjects correctly, but when I try to view the +> > actual message, I see: "End of file during parsing" and an empty page. +> +> > I have OS X Lion, Emacs.App, version 23.2.1, and notmuch version 0.11 +> > installed via MacPorts. +> > +> > Does anyone have an idea what might be causing this? +> +> What version of gmime is installed ? +> +> Do the following on command line (the l33t... below is +> actually a date 'Tue May 15 23:10:56 2012 UTC'). +> +> notmuch search --output=threads 1337123456.. +> +> and then execute +> +> notmuch show --format=json thread:000000000000XXXX +> +> (take the XXX from the thread list outputted before +> -- try many of those and see whether something fails +> during execution...). +> +> > Thanks, +> > --Ed Tellman +> +> Tomi -- 2.26.2