[notmuch] Notmuch command interface
Michal Sojka
sojkam1 at fel.cvut.cz
Fri Mar 12 07:03:34 PST 2010
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 <module>
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
More information about the notmuch
mailing list