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 66C43431FBC
\r
6 for <notmuch@notmuchmail.org>; Mon, 18 Jan 2010 07:41:35 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0.001 tagged_above=-999 required=5
\r
12 tests=[BAYES_50=0.001] 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 EraOwSQ+1aOR for <notmuch@notmuchmail.org>;
\r
16 Mon, 18 Jan 2010 07:41:34 -0800 (PST)
\r
17 Received: from mout.perfora.net (mout.perfora.net [74.208.4.195])
\r
18 by olra.theworths.org (Postfix) with ESMTP id A283D431FAE
\r
19 for <notmuch@notmuchmail.org>; Mon, 18 Jan 2010 07:41:34 -0800 (PST)
\r
20 Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])
\r
21 by mx.perfora.net (node=mxus0) with ESMTP (Nemesis)
\r
22 id 0M1VMf-1NquYO3urh-00tvBH for notmuch@notmuchmail.org;
\r
23 Mon, 18 Jan 2010 10:41:34 -0500
\r
24 Received: from localhost (unknown [192.168.200.4])
\r
25 by max.feld.cvut.cz (Postfix) with ESMTP id 75FC519F3307
\r
26 for <notmuch@notmuchmail.org>; Mon, 18 Jan 2010 16:41:31 +0100 (CET)
\r
27 X-Virus-Scanned: IMAP AMAVIS
\r
28 Received: from max.feld.cvut.cz ([192.168.200.1])
\r
29 by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new,
\r
30 port 10044) with ESMTP id U5jpwsMSJnLC for <notmuch@notmuchmail.org>;
\r
31 Mon, 18 Jan 2010 16:41:27 +0100 (CET)
\r
32 Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])
\r
33 by max.feld.cvut.cz (Postfix) with ESMTP id 430F319F3322
\r
34 for <notmuch@notmuchmail.org>; Mon, 18 Jan 2010 16:41:27 +0100 (CET)
\r
35 Received: from steelpick.localnet (k335-30.felk.cvut.cz [147.32.86.30])
\r
36 (Authenticated sender: sojkam1)
\r
37 by imap.feld.cvut.cz (Postfix) with ESMTPSA id 3A236FA003
\r
38 for <notmuch@notmuchmail.org>; Mon, 18 Jan 2010 16:41:27 +0100 (CET)
\r
39 From: Michal Sojka <sojkam1@fel.cvut.cz>
\r
40 To: notmuch@notmuchmail.org
\r
41 Date: Mon, 18 Jan 2010 16:41:25 +0100
\r
42 User-Agent: KMail/1.12.4 (Linux/2.6.31.9-amd64; KDE/4.3.4; x86_64; ; )
\r
43 References: <87pr57jvkz.fsf@SSpaeth.de>
\r
44 In-Reply-To: <87pr57jvkz.fsf@SSpaeth.de>
\r
46 Content-Type: Text/Plain;
\r
47 charset="iso-8859-1"
\r
48 Content-Transfer-Encoding: 7bit
\r
49 Message-Id: <201001181641.25647.sojkam1@fel.cvut.cz>
\r
50 Subject: Re: [notmuch] Introducing notmuchsync
\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: Mon, 18 Jan 2010 15:41:35 -0000
\r
65 On Monday 18 of January 2010 16:12:28 Sebastian Spaeth wrote:
\r
68 > I really want to sync my maildir flags/folders with notmuch tags and as
\r
69 > I haven't seen a script to do that, I've written (the beginnings of?)
\r
72 > It is probably pre-alpha but I am a fan of release early, release often
\r
73 > and if someone finds it useful to build upon, it was already worth it. I
\r
74 > put the code here: http://github.com/spaetz/notmuchsync
\r
78 with which Python version is this meant to work? I get the following error:
\r
80 Traceback (most recent call last):
\r
81 File "./notmuchsync", line 316, in <module>
\r
82 notmuch.syncTags(frommaildir=True, dryrun=dryrun)
\r
83 File "./notmuchsync", line 249, in syncTags
\r
84 searchterm = "{0}..{1}".format(now-2592000,now+2592000)
\r
85 AttributeError: 'str' object has no attribute 'format'
\r