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 42FC14048D3
\r
6 for <notmuch@notmuchmail.org>; Fri, 12 Mar 2010 07:03:39 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-1.527 tagged_above=-999 required=5
\r
12 tests=[AWL=-0.417, 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 t9WNBNF8bwDo for <notmuch@notmuchmail.org>;
\r
16 Fri, 12 Mar 2010 07:03:38 -0800 (PST)
\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 66C984048D0
\r
19 for <notmuch@notmuchmail.org>; Fri, 12 Mar 2010 07:03:38 -0800 (PST)
\r
20 Received: from localhost (unknown [192.168.200.4])
\r
21 by max.feld.cvut.cz (Postfix) with ESMTP id 1FED619F3431;
\r
22 Fri, 12 Mar 2010 16:03:37 +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
27 with ESMTP id mgh9LG1VUlXL; Fri, 12 Mar 2010 16:03:35 +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 BC4EA19F33B1;
\r
30 Fri, 12 Mar 2010 16:03:35 +0100 (CET)
\r
31 Received: from steelpick.localdomain (k335-30.felk.cvut.cz [147.32.86.30])
\r
32 (Authenticated sender: sojkam1)
\r
33 by imap.feld.cvut.cz (Postfix) with ESMTPSA id 7176FFA003;
\r
34 Fri, 12 Mar 2010 16:03:35 +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 1Nq6Ol-0000zb-26; Fri, 12 Mar 2010 16:03:35 +0100
\r
38 From: Michal Sojka <sojkam1@fel.cvut.cz>
\r
39 To: Sebastian Spaeth <Sebastian@SSpaeth.de>,
\r
40 David A Benjamin <davidben@MIT.EDU>, Ben Gamari <bgamari.foss@gmail.com>
\r
41 In-Reply-To: <877hphtx6h.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 Date: Fri, 12 Mar 2010 16:03:34 +0100
\r
46 Message-ID: <87fx45eg55.fsf@steelpick.localdomain>
\r
48 Content-Type: text/plain; charset=us-ascii
\r
49 Cc: notmuch <notmuch@notmuchmail.org>
\r
50 Subject: Re: [notmuch] Notmuch command interface
\r
51 X-BeenThere: notmuch@notmuchmail.org
\r
52 X-Mailman-Version: 2.1.13
\r
54 List-Id: "Use and development of the notmuch mail system."
\r
55 <notmuch.notmuchmail.org>
\r
56 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
57 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
58 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
59 List-Post: <mailto:notmuch@notmuchmail.org>
\r
60 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
61 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
62 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
63 X-List-Received-Date: Fri, 12 Mar 2010 15:03:39 -0000
\r
65 On Fri, 12 Mar 2010, Sebastian Spaeth wrote:
\r
66 > > Unfortunately, I didn't make much progress in implementating this, but
\r
67 > > it's definitely a priority for me because I want to get rid of slow
\r
70 > notmuchsync master is now using the json output, by the way. I think
\r
71 > that suppressing the output of msg bodies in notmuch show will help
\r
72 > notmuchsync performance *a lot*.
\r
74 I've just tried it :-(
\r
76 + /home/wsh/src/notmuchsync/notmuchsync -s -n -d
\r
77 20100312 15:59:37 - DEBUG - Execute ['notmuch', 'show', '--format=json', '1265813977..1270997977']
\r
78 Traceback (most recent call last):
\r
79 File "/home/wsh/src/notmuchsync/notmuchsync", line 76, in <module>
\r
80 all_mails=all_mails)
\r
81 File "/home/wsh/src/notmuchsync/notmuch/notmuch.py", line 434, in syncTags
\r
82 msgs = self.show(searchterm, wholeThread=False)
\r
83 File "/home/wsh/src/notmuchsync/notmuch/notmuch.py", line 372, in show
\r
84 json_forest = json.loads(stdout)
\r
85 File "/usr/lib/pymodules/python2.5/simplejson/__init__.py", line 307, in loads
\r
86 return _default_decoder.decode(s)
\r
87 File "/usr/lib/pymodules/python2.5/simplejson/decoder.py", line 335, in decode
\r
88 obj, end = self.raw_decode(s, idx=_w(s, 0).end())
\r
89 File "/usr/lib/pymodules/python2.5/simplejson/decoder.py", line 353, in raw_decode
\r
90 raise ValueError("No JSON object could be decoded")
\r
91 ValueError: No JSON object could be decoded
\r
93 Do you know what's wrong? I use notmuch based on commit
\r
94 d30049d2b9fd5eb113cd99e88d6fa7b40c36d3c5 (current master).
\r