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 42FC14048D3 for ; Fri, 12 Mar 2010 07:03:39 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.527 X-Spam-Level: X-Spam-Status: No, score=-1.527 tagged_above=-999 required=5 tests=[AWL=-0.417, BAYES_05=-1.11] autolearn=ham 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 t9WNBNF8bwDo for ; Fri, 12 Mar 2010 07:03:38 -0800 (PST) Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36]) by olra.theworths.org (Postfix) with ESMTP id 66C984048D0 for ; Fri, 12 Mar 2010 07:03:38 -0800 (PST) Received: from localhost (unknown [192.168.200.4]) by max.feld.cvut.cz (Postfix) with ESMTP id 1FED619F3431; Fri, 12 Mar 2010 16:03:37 +0100 (CET) X-Virus-Scanned: IMAP AMAVIS Received: from max.feld.cvut.cz ([192.168.200.1]) by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new, port 10044) with ESMTP id mgh9LG1VUlXL; Fri, 12 Mar 2010 16:03:35 +0100 (CET) Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34]) by max.feld.cvut.cz (Postfix) with ESMTP id BC4EA19F33B1; Fri, 12 Mar 2010 16:03:35 +0100 (CET) Received: from steelpick.localdomain (k335-30.felk.cvut.cz [147.32.86.30]) (Authenticated sender: sojkam1) by imap.feld.cvut.cz (Postfix) with ESMTPSA id 7176FFA003; Fri, 12 Mar 2010 16:03:35 +0100 (CET) Received: from wsh by steelpick.localdomain with local (Exim 4.71) (envelope-from ) id 1Nq6Ol-0000zb-26; Fri, 12 Mar 2010 16:03:35 +0100 From: Michal Sojka To: Sebastian Spaeth , David A Benjamin , Ben Gamari In-Reply-To: <877hphtx6h.fsf@SSpaeth.de> References: <4b990b7b.0e67f10a.073c.0686@mx.google.com> <87eijqlz54.fsf@steelpick.localdomain> <877hphtx6h.fsf@SSpaeth.de> Date: Fri, 12 Mar 2010 16:03:34 +0100 Message-ID: <87fx45eg55.fsf@steelpick.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: notmuch Subject: Re: [notmuch] Notmuch command interface 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: Fri, 12 Mar 2010 15:03:39 -0000 On Fri, 12 Mar 2010, Sebastian Spaeth wrote: > > Unfortunately, I didn't make much progress in implementating this, but > > it's definitely a priority for me because I want to get rid of slow > > notmuchsync. > > notmuchsync master is now using the json output, by the way. I think > that suppressing the output of msg bodies in notmuch show will help > notmuchsync performance *a lot*. I've just tried it :-( + /home/wsh/src/notmuchsync/notmuchsync -s -n -d 20100312 15:59:37 - DEBUG - Execute ['notmuch', 'show', '--format=json', '1265813977..1270997977'] Traceback (most recent call last): File "/home/wsh/src/notmuchsync/notmuchsync", line 76, in all_mails=all_mails) File "/home/wsh/src/notmuchsync/notmuch/notmuch.py", line 434, in syncTags msgs = self.show(searchterm, wholeThread=False) File "/home/wsh/src/notmuchsync/notmuch/notmuch.py", line 372, in show json_forest = json.loads(stdout) File "/usr/lib/pymodules/python2.5/simplejson/__init__.py", line 307, in loads return _default_decoder.decode(s) File "/usr/lib/pymodules/python2.5/simplejson/decoder.py", line 335, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/pymodules/python2.5/simplejson/decoder.py", line 353, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded Do you know what's wrong? I use notmuch based on commit d30049d2b9fd5eb113cd99e88d6fa7b40c36d3c5 (current master). Michal