Emacs notmuch-show consistently reports "End of file during parsing"

Tellman, Ed edwint at amazon.com
Fri May 25 10:08:11 PDT 2012


Unfortunately, I didn't check before I replaced it.  I just removed the
one from mac-ports, got the most recent 2.4 version and compiled it from
source.

I also installed notmuch 0.12 instead of 0.11, so that may have been what
fixed things.

Sorry, I didn't do it more systematically to help identify the actual
problem.

--Ed

On 5/25/12 10:03 AM, "Tomi Ollila" <tomi.ollila at iki.fi> wrote:

>On Fri, May 25 2012, Tellman <edwint at amazon.com> wrote:
>
>> I installed gmime 2.4.28 and notmuch 0.12 and that combination seems to
>> work fine.
>>
>> I'm not sure what the problem was, but it seems OK now.
>
>Good that it works for you!
>
>Do you happen to know which version of gmime you were using previously --
>http://www.macports.org/ports.php?by=library&substr=gmime shows version
>2.4.23 (but that is just something that internet search presented me)
>
>> Thanks for your help.
>>
>> --Ed
>
>Tomi
>
>
>>
>> On Wed, May 23, 2012 at 11:04:32PM -0700, Tomi Ollila wrote:
>>> On Wed, May 23 2012, Tellman <edwint at amazon.com> 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 at 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 at amazon.com>", "To": "edwint at 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 at 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 at amazon.com>", "To": "edwint at 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 at 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 <edwint at amazon.com> 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 at notmuchmail.org
>>> > http://notmuchmail.org/mailman/listinfo/notmuch
>> _______________________________________________
>> notmuch mailing list
>> notmuch at notmuchmail.org
>> http://notmuchmail.org/mailman/listinfo/notmuch



More information about the notmuch mailing list