1 Return-Path: <patricktotzke@gmail.com>
\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 94EF9431FBF
\r
6 for <notmuch@notmuchmail.org>; Sat, 8 Dec 2012 08:21:03 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id P9jKydqctEBP for <notmuch@notmuchmail.org>;
\r
17 Sat, 8 Dec 2012 08:21:02 -0800 (PST)
\r
18 Received: from mail-wg0-f47.google.com (mail-wg0-f47.google.com
\r
19 [74.125.82.47]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client
\r
20 certificate requested) by olra.theworths.org (Postfix) with ESMTPS id
\r
21 A37E5431FAE for <notmuch@notmuchmail.org>; Sat, 8 Dec 2012 08:21:02 -0800
\r
23 Received: by mail-wg0-f47.google.com with SMTP id dq11so762475wgb.2
\r
24 for <notmuch@notmuchmail.org>; Sat, 08 Dec 2012 08:21:00 -0800 (PST)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
\r
26 h=content-type:mime-version:content-disposition:to:from:in-reply-to
\r
27 :cc:references:message-id:user-agent:subject:date;
\r
28 bh=t1PN6vT4MSQsUwY9lDLa3EFtmWhZT2zYNkMeHTAjB7E=;
\r
29 b=PRqKHBJxuUO/8QHPfEhlOkBzfQUlrtDFseFWWXjXeI6uDANUQTFoIaBxmXQhUI60x1
\r
30 cG0f0LnWSxUECNeE9mF0fEqpnTFKG4r0nn9KLFdUma6+iDZc9Rf48D7c6Ra6d05FFdIG
\r
31 D4xvbLKoiuxu1Q0YGuWr1ETO0ZXuhh+vNDC2jSgMnziBV0G47pw40phSN5bBaZc6a/tb
\r
32 Bw3Zh1xb8A9xV4U72UWKRBAalobyV3+44bMh+gCP29xxRBd7R9IzCwp0kr+bnMTrqzDB
\r
33 WZs/lqHnAbtNRBaKcKeogBmyXydB04DZajXRsEypsskQiFgCg3NyZDAvUFm65DPO7gT/
\r
35 Received: by 10.180.94.226 with SMTP id df2mr3610058wib.11.1354983658822;
\r
36 Sat, 08 Dec 2012 08:20:58 -0800 (PST)
\r
37 Received: from localhost (cpc14-sgyl28-2-0-cust332.18-2.cable.virginmedia.com.
\r
39 by mx.google.com with ESMTPS id y3sm2714766wix.6.2012.12.08.08.20.56
\r
40 (version=TLSv1/SSLv3 cipher=OTHER);
\r
41 Sat, 08 Dec 2012 08:20:57 -0800 (PST)
\r
42 Content-Type: multipart/signed; protocol="application/pgp-signature";
\r
43 micalg="pgp-sha1"; boundary="===============1675551967294765155=="
\r
45 Content-Disposition: inline
\r
46 To: "Jason A. Donenfeld" <Jason@zx2c4.com>,
\r
47 From: Patrick Totzke <patricktotzke@gmail.com>
\r
49 <CAHmME9q6QN1YE=+_r1zHNdhc9hrJgEWxQ_L4rxsjJWOFRD-ZnA@mail.gmail.com>
\r
51 <CAHmME9om0twqigr0L2pwXtbj4ceBVVFz0HqxkwFfB-AnusP2VQ@mail.gmail.com>
\r
52 <50c16b03.47e2440a.6038.ffffedce@mx.google.com> <50C1AEA0.9090508@gmail.com>
\r
53 <20121207092305.4942.42415@megatron>
\r
54 <CAHmME9q6QN1YE=+_r1zHNdhc9hrJgEWxQ_L4rxsjJWOFRD-ZnA@mail.gmail.com>
\r
55 Message-ID: <20121208162055.14777.40147@brick.lan>
\r
56 User-Agent: alot/0.3.3+
\r
57 Subject: Re: gmail importer script
\r
58 Date: Sat, 08 Dec 2012 16:20:55 +0000
\r
59 Cc: public-notmuch-gxuj+Tv9EO5zyzON3hdc1g@plane.gmane.org,
\r
60 notmuch@notmuchmail.org, Rainer M Krug <R.M.Krug@gmail.com>
\r
61 X-BeenThere: notmuch@notmuchmail.org
\r
62 X-Mailman-Version: 2.1.13
\r
64 List-Id: "Use and development of the notmuch mail system."
\r
65 <notmuch.notmuchmail.org>
\r
66 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
67 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
68 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
69 List-Post: <mailto:notmuch@notmuchmail.org>
\r
70 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
71 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
72 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
73 X-List-Received-Date: Sat, 08 Dec 2012 16:21:03 -0000
\r
75 --===============1675551967294765155==
\r
76 Content-Type: text/plain; charset="utf-8"
\r
78 Content-Transfer-Encoding: quoted-printable
\r
80 Quoting Jason A. Donenfeld (2012-12-07 13:49:46)
\r
81 > Not sure what is causing this. My best guess is that your password was
\r
82 > incorrect and that I'm not checking the login return value.
\r
84 Yes, you're right, it was an incorrect passwd.
\r
86 > One thing you also might want to watch out for is
\r
87 > exceptions due to a locked notmuch index.
\r
94 See e.g. here: https://github.com/pazz/alot/blob/master/alot/db/manager.py#=
\r
96 I'm sure "afew" (https://github.com/teythoon/afew) does a similar thing.
\r
99 I have two new errors:
\r
101 ---------------------------------------------------------
\r
102 ./gmail-notmuch.py -u patricktotzke@gmail.com -p mypwd ~/mail/gmail/
\r
104 Selecting all mail...
\r
105 Error opening database at /home/pazz/mail/gmail/.notmuch: No such file or d=
\r
107 Traceback (most recent call last):
\r
108 File "./gmail-notmuch.py", line 225, in <module>
\r
110 File "./gmail-notmuch.py", line 56, in main
\r
111 database =3D notmuch.Database(destination, False, notmuch.Database.MODE=
\r
113 File "/home/pazz/.local/lib/python2.7/site-packages/notmuch/database.py",=
\r
114 line 154, in __init__
\r
115 self.open(path, mode)
\r
116 File "/home/pazz/.local/lib/python2.7/site-packages/notmuch/database.py",=
\r
118 raise NotmuchError(status)
\r
119 notmuch.errors.FileError
\r
120 ---------------------------------------------------------
\r
122 I also tried with maildir param ~/mail/gmail/\[Google\ Mail\].All\ Mail
\r
123 as this is where my all-mail maildir is, and i also tried an absolute path,=
\r
124 all the same result.
\r
126 If I point it to the root of my notmuch directory I get:
\r
127 ---------------------------------------------------------
\r
128 [~/projects/gmail-notmuch] ./gmail-notmuch.py -u patricktotzke@gmail.com -p=
\r
129 mypwd /home/pazz/mail
\r
131 Selecting all mail...
\r
132 Traceback (most recent call last):
\r
133 File "./gmail-notmuch.py", line 225, in <module>
\r
135 File "./gmail-notmuch.py", line 58, in main
\r
136 messages =3D discover_messages(imap, total)
\r
137 File "./gmail-notmuch.py", line 104, in discover_messages
\r
138 new_readline.progressbar =3D create_progressbar("Receiving message list=
\r
140 File "./gmail-notmuch.py", line 147, in create_progressbar
\r
141 return ProgressBar(maxval=3Dtotal, widgets=3D[text + ": ", SimpleProgre=
\r
142 ss(), Bar(), Percentage(), " ", ETA(), " ", FileTransferSpeed(unit=3D"email=
\r
144 TypeError: __init__() got an unexpected keyword argument 'unit'
\r
146 BTW: I had to change the hardcoded "[Gmail]" to "[Google Mail]" for it to g=
\r
153 --===============1675551967294765155==
\r
155 Content-Transfer-Encoding: 7bit
\r
156 Content-Description: signature
\r
157 Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii"
\r
159 -----BEGIN PGP SIGNATURE-----
\r
160 Version: GnuPG v1.4.11 (GNU/Linux)
\r
162 iEYEABECAAYFAlDDaOcACgkQlDQDZ9fWxap7fACeMTapo+x9flWn8lVKRg5/Ap6m
\r
163 poUAoLIPjuEIGWge29R3i0XceRNfZSNW
\r
165 -----END PGP SIGNATURE-----
\r
167 --===============1675551967294765155==--
\r