[PATCH 6/8] CLI: refactor dumping of tags.
[notmuch-archives.git] / 5d / baa307852d4f12bf7509cbb8420e8fec4d2a9d
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 0EDB9431FB6\r
6         for <notmuch@notmuchmail.org>; Mon, 10 Dec 2012 01:39:46 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.799\r
10 X-Spam-Level: \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 36PU0HaWFMMs for <notmuch@notmuchmail.org>;\r
17         Mon, 10 Dec 2012 01:39:45 -0800 (PST)\r
18 Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com\r
19  [74.125.82.41])        (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  70DEA431FAF    for <notmuch@notmuchmail.org>; Mon, 10 Dec 2012 01:39:45 -0800\r
22  (PST)\r
23 Received: by mail-wg0-f41.google.com with SMTP id ds1so736313wgb.2\r
24         for <notmuch@notmuchmail.org>; Mon, 10 Dec 2012 01:39:42 -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-transfer-encoding:to:from\r
27         :in-reply-to:cc:references:message-id:user-agent:subject:date;\r
28         bh=lWYvzsWHDbic7NWgxLMwiCH+b2TK6WujaOk3dGN5RPM=;\r
29         b=axU2CdoIDxPticw2pv1BYLlhchwE9pOZDdQB3ew1NqzwvezwexsIxjPXmf7HmXqdVI\r
30         IbGriHusTI6K7QwjiujgZAw/zyL3eBnwBUecIX71oCHZOpRI+11+qhxUPU2zKwznCefa\r
31         ydUqPx/bdlIfUqPL7aGobNTja5Lz5Ur0y2FDZsOyzjXQXyJcAayCBps4zVOMmjG+diUt\r
32         Sy79vOwg9HcFbeBrsSuQO6nF69SiKNi49cXUcfJ7gonKl9RRSwJmtolX/McWbLW2RZjI\r
33         C4lyWeml9lLw+9m6oElL8g4/PoFYGrDIp6jwMDjlN3nRyMQCNnL0jIxdRQebmymyy1Lx\r
34         /rlg==\r
35 Received: by 10.216.82.130 with SMTP id o2mr5204360wee.129.1355132382841;\r
36         Mon, 10 Dec 2012 01:39:42 -0800 (PST)\r
37 Received: from localhost (dhcp-91-036.inf.ed.ac.uk. [129.215.91.36])\r
38         by mx.google.com with ESMTPS id t17sm10716523wiv.6.2012.12.10.01.39.40\r
39         (version=TLSv1/SSLv3 cipher=OTHER);\r
40         Mon, 10 Dec 2012 01:39:41 -0800 (PST)\r
41 Content-Type: text/plain; charset="utf-8"\r
42 MIME-Version: 1.0\r
43 Content-Transfer-Encoding: quoted-printable\r
44 To: "Jason A. Donenfeld" <Jason@zx2c4.com>, \r
45 From: Patrick Totzke <patricktotzke@gmail.com>\r
46 In-Reply-To:\r
47  <CAHmME9oHN4zzmXz2wx2LjYaHSFMut=0bfvsJ-uqzXGF3aYRddg@mail.gmail.com>\r
48 References:\r
49  <CAHmME9om0twqigr0L2pwXtbj4ceBVVFz0HqxkwFfB-AnusP2VQ@mail.gmail.com>\r
50         <50c16b03.47e2440a.6038.ffffedce@mx.google.com> <50C1AEA0.9090508@gmail.com>\r
51  <20121207092305.4942.42415@megatron>\r
52         <CAHmME9q6QN1YE=+_r1zHNdhc9hrJgEWxQ_L4rxsjJWOFRD-ZnA@mail.gmail.com>\r
53         <20121208162055.14777.40147@brick.lan>\r
54         <CAHmME9obAbvmXDJnQDGhSonADQYJr55gT4m62jkiWv0k8zrPpA@mail.gmail.com>\r
55         <20121208174626.23685.31363@brick.lan>\r
56         <CAHmME9oHN4zzmXz2wx2LjYaHSFMut=0bfvsJ-uqzXGF3aYRddg@mail.gmail.com>\r
57 Message-ID: <20121210094134.11208.94252@megatron>\r
58 User-Agent: alot/0.3.3+\r
59 Subject: Re: gmail importer script\r
60 Date: Mon, 10 Dec 2012 09:41:34 +0000\r
61 Cc: public-notmuch-gxuj+Tv9EO5zyzON3hdc1g@plane.gmane.org,\r
62         notmuch@notmuchmail.org, Rainer M Krug <R.M.Krug@gmail.com>\r
63 X-BeenThere: notmuch@notmuchmail.org\r
64 X-Mailman-Version: 2.1.13\r
65 Precedence: list\r
66 List-Id: "Use and development of the notmuch mail system."\r
67         <notmuch.notmuchmail.org>\r
68 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
69         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
70 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
71 List-Post: <mailto:notmuch@notmuchmail.org>\r
72 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
73 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
74         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
75 X-List-Received-Date: Mon, 10 Dec 2012 09:39:46 -0000\r
76 \r
77 Quoting Jason A. Donenfeld (2012-12-09 23:13:12)\r
78 > On Sat, Dec 8, 2012 at 6:46 PM, Patrick Totzke <patricktotzke@gmail.com> =\r
79 wrote:\r
80 > =\r
81 \r
82 >     ZeroDivisionError: float division by zero\r
83 > =\r
84 \r
85 > =\r
86 \r
87 > Fixed it! Sorry about all this... Jeeze=C2=A0Louise.=C2=A0\r
88 \r
89 thx\r
90 \r
91 > =\r
92 \r
93 >     Another feature request:\r
94 >     Could you make the progressbar stuff optinal? in the end one will wan=\r
95 t to\r
96 >     run this via cronjob\r
97 >     and this shouldn't print anything to stdout.\r
98 >     Also, I can pretty much recommend the 'logging' module.\r
99 > =\r
100 \r
101 > =\r
102 \r
103 > Sure, but... >/dev/null doesn't cut it? I can add some more refined loggi=\r
104 ng\r
105 > capabilities if you want.\r
106 It would, but its nicer not to load ressources you're not gonna use. Also, =\r
107 progressbar 2.2 seems to be the newest version you see on a reasonably new =\r
108 debian/ubuntu install.. </nitpick>\r
109 \r
110 \r
111 Next exception.. do you have a bugtracker? (/me <3 github)\r
112 ----------------------------------------------------\r
113 Logging in...\r
114 Selecting all mail...\r
115 Receiving message list: 24455 of 24455|####################################=\r
116 ####|100% Time: 0:00:12   2.04 kemails/s\r
117 Parsing message list and labels...\r
118 Searching for local messages...\r
119 Traceback (most recent call last):\r
120   File "./gmail-notmuch.py", line 248, in <module>\r
121     main()\r
122   File "./gmail-notmuch.py", line 75, in main\r
123     if len(new_messages) =3D=3D 0:\r
124 TypeError: object of type 'NoneType' has no len()\r
125 ----------------------------------------------------\r
126 \r
127 \r
128 /p\r