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 54FBF431FB6 for ; Sun, 9 Dec 2012 15:13:16 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.099 X-Spam-Level: X-Spam-Status: No, score=-0.099 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=disabled 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 p0MtM73cNJYh for ; Sun, 9 Dec 2012 15:13:15 -0800 (PST) Received: from homiemail-a4.g.dreamhost.com (caiajhbdcagg.dreamhost.com [208.97.132.66]) by olra.theworths.org (Postfix) with ESMTP id 9EADF431FAF for ; Sun, 9 Dec 2012 15:13:15 -0800 (PST) Received: from homiemail-a4.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a4.g.dreamhost.com (Postfix) with ESMTP id D604951C069 for ; Sun, 9 Dec 2012 15:13:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=zx2c4.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; s=zx2c4.com; bh=59hNQ1a6jTVS4AlexvYEYGQgLgY=; b=IE wAHHK4uUTtqMfW782R8ZNIwFeoz87JUrgiU+a+j9WqZESoj7rE5Jp29khgvAuKWt a8k2t4STqHNc5IV2WuEGUt8kdEPU8CtVs1/yHTHKvSxKS+Etx/KFLCHnaoBHsvOt T14tyn5gpx+N3Jmjd8vzPTfTGFScdZGchp1vKVKw0= Received: from mail-oa0-f53.google.com (mail-oa0-f53.google.com [209.85.219.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jason@zx2c4.com) by homiemail-a4.g.dreamhost.com (Postfix) with ESMTPSA id BDB6451C062 for ; Sun, 9 Dec 2012 15:13:13 -0800 (PST) Received: by mail-oa0-f53.google.com with SMTP id j6so1923529oag.26 for ; Sun, 09 Dec 2012 15:13:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.60.31.19 with SMTP id w19mr6679112oeh.3.1355094793105; Sun, 09 Dec 2012 15:13:13 -0800 (PST) Received: by 10.76.33.70 with HTTP; Sun, 9 Dec 2012 15:13:12 -0800 (PST) In-Reply-To: <20121208174626.23685.31363@brick.lan> References: <50c16b03.47e2440a.6038.ffffedce@mx.google.com> <50C1AEA0.9090508@gmail.com> <20121207092305.4942.42415@megatron> <20121208162055.14777.40147@brick.lan> <20121208174626.23685.31363@brick.lan> Date: Mon, 10 Dec 2012 00:13:12 +0100 Message-ID: Subject: Re: gmail importer script From: "Jason A. Donenfeld" To: Patrick Totzke Content-Type: multipart/alternative; boundary=e89a8fb1fd7ec7b17804d0739735 Cc: public-notmuch-gxuj+Tv9EO5zyzON3hdc1g@plane.gmane.org, notmuch@notmuchmail.org, Rainer M Krug 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: Sun, 09 Dec 2012 23:13:16 -0000 --e89a8fb1fd7ec7b17804d0739735 Content-Type: text/plain; charset=ISO-8859-1 On Sat, Dec 8, 2012 at 6:46 PM, Patrick Totzke wrote: > > ZeroDivisionError: float division by zero > Fixed it! Sorry about all this... Jeeze Louise. > > Another feature request: > Could you make the progressbar stuff optinal? in the end one will want to > run this via cronjob > and this shouldn't print anything to stdout. > Also, I can pretty much recommend the 'logging' module. > Sure, but... >/dev/null doesn't cut it? I can add some more refined logging capabilities if you want. > > cheers, > /p > --e89a8fb1fd7ec7b17804d0739735 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Sat, Dec 8, 2012 at 6:46 PM, Patrick = Totzke <patricktotzke@gmail.com> wrote:
ZeroDivisionError: float division by zero

Fixed it! Sorry about all this... Jeeze=A0Louise.=A0



Another feature request:
Could you make the progressbar stuff optinal? in the end one will want to r= un this via cronjob
and this shouldn't print anything to stdout.
Also, I can pretty much recommend the 'logging' module.

Sure, but... >/dev/null doesn't cut it? I c= an add some more refined logging capabilities if you want.

=A0

cheers,
/p


--e89a8fb1fd7ec7b17804d0739735--