Re: Emacs notmuch-show consistently reports "End of file during parsing"
authorTomi Ollila <tomi.ollila@iki.fi>
Thu, 24 May 2012 06:04:32 +0000 (09:04 +0300)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:47:19 +0000 (09:47 -0800)
ef/e6030d4515fccefe81a66b94282a70be2f31f7 [new file with mode: 0644]

diff --git a/ef/e6030d4515fccefe81a66b94282a70be2f31f7 b/ef/e6030d4515fccefe81a66b94282a70be2f31f7
new file mode 100644 (file)
index 0000000..aa9beef
--- /dev/null
@@ -0,0 +1,137 @@
+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 3F9E4431FCB\r
+       for <notmuch@notmuchmail.org>; Wed, 23 May 2012 23:04:24 -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 yyPwmBAwgvBr for <notmuch@notmuchmail.org>;\r
+       Wed, 23 May 2012 23:04:23 -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 3EC84431FC4\r
+       for <notmuch@notmuchmail.org>; Wed, 23 May 2012 23:04:23 -0700 (PDT)\r
+Received: by guru.guru-group.fi (Postfix, from userid 501)\r
+       id 99F54100641; Thu, 24 May 2012 09:04:32 +0300 (EEST)\r
+From: Tomi Ollila <tomi.ollila@iki.fi>\r
+To: Tellman <edwint@amazon.com>\r
+Subject: Re: Emacs notmuch-show consistently reports "End of file during\r
+       parsing"\r
+In-Reply-To: <20120523183459.GA34543@amazon.com>\r
+References: <20120523142301.GC10576@amazon.com>\r
+       <m2fwaqncm1.fsf@guru.guru-group.fi>\r
+       <20120523183459.GA34543@amazon.com>\r
+User-Agent: Notmuch/0.13~rc1+40~g96c989b (http://notmuchmail.org) Emacs/23.1.1\r
+       (x86_64-redhat-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: Thu, 24 May 2012 09:04:32 +0300\r
+Message-ID: <m2obpew1vz.fsf@guru.guru-group.fi>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\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: Thu, 24 May 2012 06:04:24 -0000\r
+\r
+On Wed, May 23 2012, Tellman <edwint@amazon.com> wrote:\r
+\r
+> Thanks for the quick response.\r
+>\r
+> I have gmime 2.4 installed.\r
+\r
+Gmime 2.4.x -- what is the value if 'x' :D ?\r
+\r
+> I tried the search and show commands and the responses all looked OK to\r
+> me, although I wasn't quite sure what to look for.  I didn't see any\r
+> error messages.\r
+\r
+> Here's a sample: \r
+>\r
+> (json-read)[[[{"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
+\r
+Putting cursor /here (use monospace font ;) and entering C-x C-e parses ......\r
+           |\r
+           |\r
+           V\r
+(json-read)[[[{"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"}]}, []]]]\r
+\r
+...... the message OK... You could next try to enter\r
+\r
+id:"5qt490ipfnbu1z.fsf@78ca391a1b82.ant.amazon.com"\r
+\r
+into your notmuch-hello search bar and see if that message shows ok.\r
+\r
+If that does then just some threads makes the parsing fail.\r
+\r
+I have had similar experience: when using gmime 2.4.21 some threads\r
+(note: not all) make notmuch segfault. Updating to 2.4.25 fixed that\r
+problem. You may have the same problem or not.\r
+\r
+>\r
+> Thanks,\r
+> --Ed\r
+\r
+Tomi\r
+\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
+> _______________________________________________\r
+> notmuch mailing list\r
+> notmuch@notmuchmail.org\r
+> http://notmuchmail.org/mailman/listinfo/notmuch\r