Re: Hi all
[notmuch-archives.git] / ec / e28ffba3013fd530c8e0b4bac4baede4ed2eb7
1 Return-Path: <sojkam1@fel.cvut.cz>\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 36E444048EE\r
6         for <notmuch@notmuchmail.org>; Sun, 14 Mar 2010 11:15:56 -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: -1.335\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-1.335 tagged_above=-999 required=5\r
12         tests=[AWL=-0.225, BAYES_05=-1.11] autolearn=ham\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 5D1HlFbsZGba for <notmuch@notmuchmail.org>;\r
16         Sun, 14 Mar 2010 11:15:55 -0700 (PDT)\r
17 Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])\r
18         by olra.theworths.org (Postfix) with ESMTP id 22F0A454968\r
19         for <notmuch@notmuchmail.org>; Sun, 14 Mar 2010 11:15:55 -0700 (PDT)\r
20 Received: from localhost (unknown [192.168.200.4])\r
21         by max.feld.cvut.cz (Postfix) with ESMTP id 02A9219F35FE;\r
22         Sun, 14 Mar 2010 19:15:54 +0100 (CET)\r
23 X-Virus-Scanned: IMAP AMAVIS\r
24 Received: from max.feld.cvut.cz ([192.168.200.1])\r
25         by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new,\r
26         port 10044)\r
27         with ESMTP id 2EWC4fWul4ht; Sun, 14 Mar 2010 19:15:52 +0100 (CET)\r
28 Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])\r
29         by max.feld.cvut.cz (Postfix) with ESMTP id 0E90B19F3388;\r
30         Sun, 14 Mar 2010 19:15:52 +0100 (CET)\r
31 Received: from steelpick.localdomain (unknown [213.29.198.144])\r
32         (Authenticated sender: sojkam1)\r
33         by imap.feld.cvut.cz (Postfix) with ESMTPSA id BDF53FA003;\r
34         Sun, 14 Mar 2010 19:15:51 +0100 (CET)\r
35 Received: from wsh by steelpick.localdomain with local (Exim 4.71)\r
36         (envelope-from <sojkam1@fel.cvut.cz>)\r
37         id 1NqsLp-0001sD-Nl; Sun, 14 Mar 2010 19:15:45 +0100\r
38 From: Michal Sojka <sojkam1@fel.cvut.cz>\r
39 To: Sebastian Spaeth <Sebastian@SSpaeth.de>, David A Benjamin\r
40         <davidben@MIT.EDU>, Ben Gamari <bgamari.foss@gmail.com>\r
41 In-Reply-To: <87k4thplxj.fsf@SSpaeth.de>\r
42 References: <4b990b7b.0e67f10a.073c.0686@mx.google.com>\r
43         <alpine.DEB.1.10.1003111748020.9755@dr-wily.mit.edu>\r
44         <87eijqlz54.fsf@steelpick.localdomain> <877hphtx6h.fsf@SSpaeth.de>\r
45         <87fx45eg55.fsf@steelpick.localdomain> <87k4thplxj.fsf@SSpaeth.de>\r
46 Date: Sun, 14 Mar 2010 19:15:45 +0100\r
47 Message-ID: <87mxyabwha.fsf@steelpick.localdomain>\r
48 MIME-Version: 1.0\r
49 Content-Type: text/plain; charset=us-ascii\r
50 Cc: notmuch <notmuch@notmuchmail.org>\r
51 Subject: Re: [notmuch] Notmuch command interface\r
52 X-BeenThere: notmuch@notmuchmail.org\r
53 X-Mailman-Version: 2.1.13\r
54 Precedence: list\r
55 List-Id: "Use and development of the notmuch mail system."\r
56         <notmuch.notmuchmail.org>\r
57 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
58         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
59 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
60 List-Post: <mailto:notmuch@notmuchmail.org>\r
61 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
62 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
63         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
64 X-List-Received-Date: Sun, 14 Mar 2010 18:15:56 -0000\r
65 \r
66 On Fri, 12 Mar 2010 17:03:04 +0100, "Sebastian Spaeth" <Sebastian@SSpaeth.de> wrote:\r
67 > On Fri, 12 Mar 2010 16:03:34 +0100, Michal Sojka <sojkam1@fel.cvut.cz> wrote:\r
68 > > On Fri, 12 Mar 2010, Sebastian Spaeth wrote:\r
69 > > > > Unfortunately, I didn't make much progress in implementating this, but\r
70 > > > > it's definitely a priority for me because I want to get rid of slow\r
71 > > > > notmuchsync.\r
72 > > > \r
73 > > > notmuchsync master is now using the json output, by the way. I think\r
74 > > > that suppressing the output of msg bodies in notmuch show will help\r
75 > > > notmuchsync performance *a lot*.\r
76 > > \r
77 > > I've just tried it :-(\r
78 > >   File "/usr/lib/pymodules/python2.5/simplejson/decoder.py", line 353, in raw_decode\r
79 > >     raise ValueError("No JSON object could be decoded")\r
80 > > ValueError: No JSON object could be decoded\r
81\r
82 > Wow, that is bad. All it does is taking "nomuch show" output and feeding\r
83 > it to the json parser. That probably means that the json was not valid\r
84 > (which would be bad).\r
85 \r
86 Yes. I found that the problem is caused by emails with an empty body.\r
87 I'll post a patch to fix this in a while.\r
88 \r
89 > Having said that, I remember that I got that when I used a notmuch that\r
90 > doesn't include the notmuch tags in the json output, ie you need notmuch\r
91 > from current master less than 26h ago. Do you use that?\r
92\r
93 > Also Python 2.6 is a requirement, but I see you used that already...\r
94 \r
95 Strange, I use default python from Debian which is 2.5.5 and current\r
96 notmuchsync master runs without problems.\r
97 \r
98 -Michal\r