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