Re: gmail importer script
authorJason A. Donenfeld <Jason@zx2c4.com>
Sat, 8 Dec 2012 17:04:48 +0000 (18:04 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:51:49 +0000 (09:51 -0800)
66/cf36d177af0926bed96cdf530396d74d92596a [new file with mode: 0644]

diff --git a/66/cf36d177af0926bed96cdf530396d74d92596a b/66/cf36d177af0926bed96cdf530396d74d92596a
new file mode 100644 (file)
index 0000000..9f6eb5e
--- /dev/null
@@ -0,0 +1,100 @@
+Return-Path: <Jason@zx2c4.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id C440D431FBF\r
+       for <notmuch@notmuchmail.org>; Sat,  8 Dec 2012 09:04:50 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.1\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       RCVD_IN_DNSWL_NONE=-0.0001] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id ieFm+2XurtJD for <notmuch@notmuchmail.org>;\r
+       Sat,  8 Dec 2012 09:04:50 -0800 (PST)\r
+Received: from homiemail-a7.g.dreamhost.com (caiajhbdcbhh.dreamhost.com\r
+       [208.97.132.177])\r
+       by olra.theworths.org (Postfix) with ESMTP id 4B6C5431FAE\r
+       for <notmuch@notmuchmail.org>; Sat,  8 Dec 2012 09:04:50 -0800 (PST)\r
+Received: from homiemail-a7.g.dreamhost.com (localhost [127.0.0.1])\r
+       by homiemail-a7.g.dreamhost.com (Postfix) with ESMTP id 91C0025C063\r
+       for <notmuch@notmuchmail.org>; Sat,  8 Dec 2012 09:04:49 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=zx2c4.com; h=mime-version\r
+       :in-reply-to:references:date:message-id:subject:from:to:cc:\r
+       content-type; s=zx2c4.com; bh=dVoXToo5t8yR+Heg8QI7gDP1YqU=; b=QF\r
+       /EGZFWgLAKwdfjMfKnZcF0cUdNMYdl8ZGzBRgT0xSf4uSjJpPdIH0p0Tmjs50Ouo\r
+       Ei0TIdF41o5gxeLFW2p3kA+FLu2ry0byKyq6Rejy3AWv+ceajmVluYy5gGmRT4kW\r
+       /lknH00g/T4mGJmPH1DNATMGt3BWbg7bM0ojCFNwQ=\r
+Received: from mail-ob0-f181.google.com (mail-ob0-f181.google.com\r
+       [209.85.214.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       (Authenticated sender: jason@zx2c4.com)\r
+       by homiemail-a7.g.dreamhost.com (Postfix) with ESMTPSA id 7110725C062\r
+       for <notmuch@notmuchmail.org>; Sat,  8 Dec 2012 09:04:49 -0800 (PST)\r
+Received: by mail-ob0-f181.google.com with SMTP id oi10so1315932obb.26\r
+       for <notmuch@notmuchmail.org>; Sat, 08 Dec 2012 09:04:48 -0800 (PST)\r
+MIME-Version: 1.0\r
+Received: by 10.182.172.74 with SMTP id ba10mr5062228obc.83.1354986288457;\r
+       Sat, 08 Dec 2012 09:04:48 -0800 (PST)\r
+Received: by 10.76.33.70 with HTTP; Sat, 8 Dec 2012 09:04:48 -0800 (PST)\r
+In-Reply-To: <20121208162055.14777.40147@brick.lan>\r
+References:\r
+ <CAHmME9om0twqigr0L2pwXtbj4ceBVVFz0HqxkwFfB-AnusP2VQ@mail.gmail.com>\r
+       <50c16b03.47e2440a.6038.ffffedce@mx.google.com> <50C1AEA0.9090508@gmail.com>\r
+ <20121207092305.4942.42415@megatron>\r
+       <CAHmME9q6QN1YE=+_r1zHNdhc9hrJgEWxQ_L4rxsjJWOFRD-ZnA@mail.gmail.com>\r
+       <20121208162055.14777.40147@brick.lan>\r
+Date: Sat, 8 Dec 2012 18:04:48 +0100\r
+Message-ID:\r
+ <CAHmME9obAbvmXDJnQDGhSonADQYJr55gT4m62jkiWv0k8zrPpA@mail.gmail.com>\r
+Subject: Re: gmail importer script\r
+From: "Jason A. Donenfeld" <Jason@zx2c4.com>\r
+To: Patrick Totzke <patricktotzke@gmail.com>\r
+Content-Type: text/plain; charset=ISO-8859-1\r
+Cc: public-notmuch-gxuj+Tv9EO5zyzON3hdc1g@plane.gmane.org,\r
+       notmuch@notmuchmail.org, Rainer M Krug <R.M.Krug@gmail.com>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 08 Dec 2012 17:04:50 -0000\r
+\r
+On Sat, Dec 8, 2012 at 5:20 PM, Patrick Totzke <patricktotzke@gmail.com> wrote:\r
+> I have two new errors:\r
+>\r
+> ---------------------------------------------------------\r
+> ./gmail-notmuch.py -u patricktotzke@gmail.com -p mypwd ~/mail/gmail/\r
+>\r
+> I also tried with maildir param ~/mail/gmail/\[Google\ Mail\].All\ Mail\r
+> as this is where my all-mail maildir is, and i also tried an absolute path, all the same result.\r
+>\r
+> If I point it to the root of my notmuch directory I get:\r
+\r
+Pointing it at the root directory is what you want. In fact, I'm\r
+removing the argument from the script and having it just get that from\r
+the config. So the correct invocation will be:\r
+\r
+./gmail-notmuch.py -u blabla -p password\r
+\r
+>   File "./gmail-notmuch.py", line 147, in create_progressbar\r
+>     return ProgressBar(maxval=total, widgets=[text + ": ", SimpleProgress(), Bar(), Percentage(), " ", ETA(), " ", FileTransferSpeed(unit="emails")])\r
+> TypeError: __init__() got an unexpected keyword argument 'unit'\r
+\r
+You're probably running with an old version of python-statusbar.\r
+\r
+>\r
+> BTW: I had to change the hardcoded "[Gmail]" to "[Google Mail]" for it to get that far.\r
+\r
+Really? Are you in the UK? I'll have to do this dynamically using the\r
+XLIST imap extension.\r