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 3F9E4431FCB for ; Wed, 23 May 2012 23:04:24 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] 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 yyPwmBAwgvBr for ; Wed, 23 May 2012 23:04:23 -0700 (PDT) Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) by olra.theworths.org (Postfix) with ESMTP id 3EC84431FC4 for ; Wed, 23 May 2012 23:04:23 -0700 (PDT) Received: by guru.guru-group.fi (Postfix, from userid 501) id 99F54100641; Thu, 24 May 2012 09:04:32 +0300 (EEST) From: Tomi Ollila To: Tellman Subject: Re: Emacs notmuch-show consistently reports "End of file during parsing" In-Reply-To: <20120523183459.GA34543@amazon.com> References: <20120523142301.GC10576@amazon.com> <20120523183459.GA34543@amazon.com> User-Agent: Notmuch/0.13~rc1+40~g96c989b (http://notmuchmail.org) Emacs/23.1.1 (x86_64-redhat-linux-gnu) X-Face: HhBM'cA~ MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: Thu, 24 May 2012 06:04:24 -0000 On Wed, May 23 2012, Tellman wrote: > Thanks for the quick response. > > I have gmime 2.4 installed. Gmime 2.4.x -- what is the value if 'x' :D ? > 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: > > (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 ", "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. Putting cursor /here (use monospace font ;) and entering C-x C-e parses ...... | | V (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 ", "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"}]}, []]]] ...... the message OK... You could next try to enter id:"5qt490ipfnbu1z.fsf@78ca391a1b82.ant.amazon.com" into your notmuch-hello search bar and see if that message shows ok. If that does then just some threads makes the parsing fail. I have had similar experience: when using gmime 2.4.21 some threads (note: not all) make notmuch segfault. Updating to 2.4.25 fixed that problem. You may have the same problem or not. > > Thanks, > --Ed Tomi > > > 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 > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > http://notmuchmail.org/mailman/listinfo/notmuch