Applying patches directly from emails?
[notmuch-archives.git] / 27 / 061330573ae53750e81bfb9de65781a1b6540b
1 Return-Path: <tomi.ollila@iki.fi>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 6B74C431FBC\r
6         for <notmuch@notmuchmail.org>; Fri, 25 May 2012 10:03:26 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id Bt4zhCSNo4Yq for <notmuch@notmuchmail.org>;\r
16         Fri, 25 May 2012 10:03:23 -0700 (PDT)\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
18         by olra.theworths.org (Postfix) with ESMTP id 39232431FB6\r
19         for <notmuch@notmuchmail.org>; Fri, 25 May 2012 10:03:23 -0700 (PDT)\r
20 Received: by guru.guru-group.fi (Postfix, from userid 501)\r
21         id 9FF45100641; Fri, 25 May 2012 20:03:32 +0300 (EEST)\r
22 From: Tomi Ollila <tomi.ollila@iki.fi>\r
23 To: Tellman <edwint@amazon.com>\r
24 Subject: Re: Emacs notmuch-show consistently reports "End of file during\r
25         parsing"\r
26 In-Reply-To: <20120525155331.GA80819@amazon.com>\r
27 References: <20120523142301.GC10576@amazon.com>\r
28         <m2fwaqncm1.fsf@guru.guru-group.fi>\r
29         <20120523183459.GA34543@amazon.com>\r
30         <m2obpew1vz.fsf@guru.guru-group.fi>\r
31         <20120525155331.GA80819@amazon.com>\r
32 User-Agent: Notmuch/0.13+38~g944a859 (http://notmuchmail.org) Emacs/23.1.1\r
33         (x86_64-redhat-linux-gnu)\r
34 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
35         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
36         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
37 Date: Fri, 25 May 2012 20:03:32 +0300\r
38 Message-ID: <m2ipfkmbvf.fsf@guru.guru-group.fi>\r
39 MIME-Version: 1.0\r
40 Content-Type: text/plain; charset=us-ascii\r
41 Cc: "notmuch@notmuchmail.org" <notmuch@notmuchmail.org>\r
42 X-BeenThere: notmuch@notmuchmail.org\r
43 X-Mailman-Version: 2.1.13\r
44 Precedence: list\r
45 List-Id: "Use and development of the notmuch mail system."\r
46         <notmuch.notmuchmail.org>\r
47 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
48         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
49 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
50 List-Post: <mailto:notmuch@notmuchmail.org>\r
51 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
52 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
53         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
54 X-List-Received-Date: Fri, 25 May 2012 17:03:26 -0000\r
55 \r
56 On Fri, May 25 2012, Tellman <edwint@amazon.com> wrote:\r
57 \r
58 > I installed gmime 2.4.28 and notmuch 0.12 and that combination seems to\r
59 > work fine.\r
60 >\r
61 > I'm not sure what the problem was, but it seems OK now.\r
62 \r
63 Good that it works for you!\r
64 \r
65 Do you happen to know which version of gmime you were using previously --\r
66 http://www.macports.org/ports.php?by=library&substr=gmime shows version\r
67 2.4.23 (but that is just something that internet search presented me)\r
68 \r
69 > Thanks for your help.\r
70 >\r
71 > --Ed\r
72 \r
73 Tomi\r
74 \r
75 \r
76 >\r
77 > On Wed, May 23, 2012 at 11:04:32PM -0700, Tomi Ollila wrote:\r
78 >> On Wed, May 23 2012, Tellman <edwint@amazon.com> wrote:\r
79 >> \r
80 >> > Thanks for the quick response.\r
81 >> >\r
82 >> > I have gmime 2.4 installed.\r
83 >> \r
84 >> Gmime 2.4.x -- what is the value if 'x' :D ?\r
85 >> \r
86 >> > I tried the search and show commands and the responses all looked OK to\r
87 >> > me, although I wasn't quite sure what to look for.  I didn't see any\r
88 >> > error messages.\r
89 >> \r
90 >> > Here's a sample: \r
91 >> >\r
92 >> > (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
93 >> >\r
94 >> > I tried a bunch of other ones, and they all looked similar.\r
95 >> \r
96 >> \r
97 >> Putting cursor /here (use monospace font ;) and entering C-x C-e parses ......\r
98 >>            |\r
99 >>            |\r
100 >>            V\r
101 >> (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
102 >> \r
103 >> ...... the message OK... You could next try to enter\r
104 >> \r
105 >> id:"5qt490ipfnbu1z.fsf@78ca391a1b82.ant.amazon.com"\r
106 >> \r
107 >> into your notmuch-hello search bar and see if that message shows ok.\r
108 >> \r
109 >> If that does then just some threads makes the parsing fail.\r
110 >> \r
111 >> I have had similar experience: when using gmime 2.4.21 some threads\r
112 >> (note: not all) make notmuch segfault. Updating to 2.4.25 fixed that\r
113 >> problem. You may have the same problem or not.\r
114 >> \r
115 >> >\r
116 >> > Thanks,\r
117 >> > --Ed\r
118 >> \r
119 >> Tomi\r
120 >> \r
121 >> >\r
122 >> >\r
123 >> > On Wed, May 23, 2012 at 08:25:26AM -0700, Tomi Ollila wrote:\r
124 >> >> On Wed, May 23 2012, Tellman <edwint@amazon.com> wrote:\r
125 >> >> \r
126 >> >> > I recently installed notmuch on my OS X laptop.  Searching works fine--it\r
127 >> >> > seems to find all my mail and displays the subject lines, dates, etc.,\r
128 >> >> > correctly.\r
129 >> >> \r
130 >> >> > However, the emacs mode is unable to display the contents of any of the\r
131 >> >> > messages.  I see the subjects correctly, but when I try to view the\r
132 >> >> > actual message, I see: "End of file during parsing" and an empty page.\r
133 >> >> \r
134 >> >> > I have OS X Lion, Emacs.App, version 23.2.1, and notmuch version 0.11\r
135 >> >> > installed via MacPorts.\r
136 >> >> >\r
137 >> >> > Does anyone have an idea what might be causing this?\r
138 >> >> \r
139 >> >> What version of gmime is installed ?\r
140 >> >> \r
141 >> >> Do the following on command line (the l33t... below is \r
142 >> >> actually a date 'Tue May 15 23:10:56 2012 UTC').\r
143 >> >> \r
144 >> >> notmuch search --output=threads 1337123456..\r
145 >> >> \r
146 >> >> and then execute\r
147 >> >> \r
148 >> >> notmuch show --format=json thread:000000000000XXXX\r
149 >> >> \r
150 >> >> (take the XXX from the thread list outputted before\r
151 >> >> -- try many of those and see whether something fails\r
152 >> >> during execution...).\r
153 >> >> \r
154 >> >> > Thanks,\r
155 >> >> > --Ed Tellman\r
156 >> >> \r
157 >> >> Tomi\r
158 >> > _______________________________________________\r
159 >> > notmuch mailing list\r
160 >> > notmuch@notmuchmail.org\r
161 >> > http://notmuchmail.org/mailman/listinfo/notmuch\r
162 > _______________________________________________\r
163 > notmuch mailing list\r
164 > notmuch@notmuchmail.org\r
165 > http://notmuchmail.org/mailman/listinfo/notmuch\r