Re: [PATCH 3/5] nmbug-status: Add an nmbug-status(5) man page
[notmuch-archives.git] / c3 / 660ad2d808edf968b6c0127c50201d929f9fbf
1 Return-Path: <Jason@zx2c4.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 97276431FB6\r
6         for <notmuch@notmuchmail.org>; Fri,  7 Dec 2012 05:49:49 -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.099\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.099 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001] 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 O2WfDsP14z4f for <notmuch@notmuchmail.org>;\r
17         Fri,  7 Dec 2012 05:49:49 -0800 (PST)\r
18 X-Greylist: delayed 48332 seconds by postgrey-1.32 at olra;\r
19         Fri, 07 Dec 2012 05:49:48 PST\r
20 Received: from homiemail-a61.g.dreamhost.com (caiajhbdccah.dreamhost.com\r
21         [208.97.132.207])\r
22         by olra.theworths.org (Postfix) with ESMTP id C6B5D431FAE\r
23         for <notmuch@notmuchmail.org>; Fri,  7 Dec 2012 05:49:48 -0800 (PST)\r
24 Received: from homiemail-a61.g.dreamhost.com (localhost [127.0.0.1])\r
25         by homiemail-a61.g.dreamhost.com (Postfix) with ESMTP id 08914578073\r
26         for <notmuch@notmuchmail.org>; Fri,  7 Dec 2012 05:49:47 -0800 (PST)\r
27 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=zx2c4.com; h=mime-version\r
28         :in-reply-to:references:date:message-id:subject:from:to:cc:\r
29         content-type; s=zx2c4.com; bh=VSX4X9fqHCIXgkcbkWPR2fAMn/A=; b=Gv\r
30         JO81FYMPGIiW8q+mQV8X33NvnMqHtQsYn74mc6pD7a0s/U7ymN6u/cZEwCWeLtYn\r
31         d5c6pgW5+KeSW3PODn/7HxacqC8X9B8/jQwg3QK1p/mjAo3kZ/1qwDsXTdTOSLcj\r
32         2L5YdlKFBoKm6BftgNWArs6dcqemGSbn57SkAb99o=\r
33 Received: from mail-ob0-f181.google.com (mail-ob0-f181.google.com\r
34         [209.85.214.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
35         (No client certificate requested)\r
36         (Authenticated sender: jason@zx2c4.com)\r
37         by homiemail-a61.g.dreamhost.com (Postfix) with ESMTPSA id D30BE57806E\r
38         for <notmuch@notmuchmail.org>; Fri,  7 Dec 2012 05:49:46 -0800 (PST)\r
39 Received: by mail-ob0-f181.google.com with SMTP id oi10so416438obb.26\r
40         for <notmuch@notmuchmail.org>; Fri, 07 Dec 2012 05:49:46 -0800 (PST)\r
41 MIME-Version: 1.0\r
42 Received: by 10.182.130.99 with SMTP id od3mr3176568obb.61.1354888186324; Fri,\r
43         07 Dec 2012 05:49:46 -0800 (PST)\r
44 Received: by 10.76.33.70 with HTTP; Fri, 7 Dec 2012 05:49:46 -0800 (PST)\r
45 In-Reply-To: <20121207092305.4942.42415@megatron>\r
46 References:\r
47  <CAHmME9om0twqigr0L2pwXtbj4ceBVVFz0HqxkwFfB-AnusP2VQ@mail.gmail.com>\r
48         <50c16b03.47e2440a.6038.ffffedce@mx.google.com> <50C1AEA0.9090508@gmail.com>\r
49  <20121207092305.4942.42415@megatron>\r
50 Date: Fri, 7 Dec 2012 14:49:46 +0100\r
51 Message-ID:\r
52  <CAHmME9q6QN1YE=+_r1zHNdhc9hrJgEWxQ_L4rxsjJWOFRD-ZnA@mail.gmail.com>\r
53 Subject: Re: gmail importer script\r
54 From: "Jason A. Donenfeld" <Jason@zx2c4.com>\r
55 To: Patrick Totzke <patricktotzke@gmail.com>\r
56 Content-Type: multipart/alternative; boundary=14dae93b61340e663e04d0437d93\r
57 Cc: public-notmuch-gxuj+Tv9EO5zyzON3hdc1g@plane.gmane.org,\r
58         notmuch@notmuchmail.org, Rainer M Krug <R.M.Krug@gmail.com>\r
59 X-BeenThere: notmuch@notmuchmail.org\r
60 X-Mailman-Version: 2.1.13\r
61 Precedence: list\r
62 List-Id: "Use and development of the notmuch mail system."\r
63         <notmuch.notmuchmail.org>\r
64 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
65         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
66 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
67 List-Post: <mailto:notmuch@notmuchmail.org>\r
68 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
69 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
70         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
71 X-List-Received-Date: Fri, 07 Dec 2012 13:49:49 -0000\r
72 \r
73 --14dae93b61340e663e04d0437d93\r
74 Content-Type: text/plain; charset=ISO-8859-1\r
75 \r
76 On Fri, Dec 7, 2012 at 10:23 AM, Patrick Totzke <patricktotzke@gmail.com>wrote:\r
77 \r
78 > Is this supposed to happen?\r
79 >\r
80 \r
81 Obviously not.\r
82 \r
83 \r
84 \r
85 >\r
86 > ---------------------------------------------\r
87 > Logging in...\r
88 > Selecting all mail...\r
89 > Discovering local messages...\r
90 > Receiving message list...\r
91 > Traceback (most recent call last):\r
92 >   File "./gmail-notmuch.py", line 175, in <module>\r
93 >     main()\r
94 >   File "./gmail-notmuch.py", line 58, in main\r
95 >     new_messages = discover_new_messages(imap, old_messages)\r
96 >   File "./gmail-notmuch.py", line 80, in discover_new_messages\r
97 >     typ, data = imap.fetch("1:*", "X-GM-MSGID")\r
98 >   File "/usr/lib/python2.7/imaplib.py", line 443, in fetch\r
99 >     typ, dat = self._simple_command(name, message_set, message_parts)\r
100 >   File "/usr/lib/python2.7/imaplib.py", line 1070, in _simple_command\r
101 >     return self._command_complete(name, self._command(name, *args))\r
102 >   File "/usr/lib/python2.7/imaplib.py", line 825, in _command\r
103 >     ', '.join(Commands[name])))\r
104 > imaplib.error: command FETCH illegal in state AUTH, only allowed in states\r
105 > SELECTED\r
106 >\r
107 >\r
108 Not sure what is causing this. My best guess is that your password was\r
109 incorrect and that I'm not checking the login return value.\r
110 \r
111 \r
112 \r
113 > ------------------------------------------------------\r
114 >\r
115 >\r
116 > In [2]: imaplib.__version__\r
117 > Out[2]: '2.58'\r
118 >\r
119 > One thing you also might want to watch out for is\r
120 > exceptions due to a locked notmuch index.\r
121 >\r
122 \r
123 How do I do this?\r
124 \r
125 \r
126 \r
127 > rock on,\r
128 > /p\r
129 > _______________________________________________\r
130 > notmuch mailing list\r
131 > notmuch@notmuchmail.org\r
132 > http://notmuchmail.org/mailman/listinfo/notmuch\r
133 >\r
134 \r
135 --14dae93b61340e663e04d0437d93\r
136 Content-Type: text/html; charset=ISO-8859-1\r
137 Content-Transfer-Encoding: quoted-printable\r
138 \r
139 <br><br><div class=3D"gmail_quote">On Fri, Dec 7, 2012 at 10:23 AM, Patrick=\r
140  Totzke <span dir=3D"ltr">&lt;<a href=3D"mailto:patricktotzke@gmail.com" ta=\r
141 rget=3D"_blank">patricktotzke@gmail.com</a>&gt;</span> wrote:<br><blockquot=\r
142 e class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc sol=\r
143 id;padding-left:1ex">\r
144 Is this supposed to happen?<br></blockquote><div><br></div><div>Obviously n=\r
145 ot.</div><div><br></div><div>=A0</div><blockquote class=3D"gmail_quote" sty=\r
146 le=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">\r
147 <br>\r
148 ---------------------------------------------<br>\r
149 Logging in...<br>\r
150 Selecting all mail...<br>\r
151 Discovering local messages...<br>\r
152 Receiving message list...<br>\r
153 Traceback (most recent call last):<br>\r
154 =A0 File &quot;./gmail-notmuch.py&quot;, line 175, in &lt;module&gt;<br>\r
155 =A0 =A0 main()<br>\r
156 =A0 File &quot;./gmail-notmuch.py&quot;, line 58, in main<br>\r
157 =A0 =A0 new_messages =3D discover_new_messages(imap, old_messages)<br>\r
158 =A0 File &quot;./gmail-notmuch.py&quot;, line 80, in discover_new_messages<=\r
159 br>\r
160 =A0 =A0 typ, data =3D imap.fetch(&quot;1:*&quot;, &quot;X-GM-MSGID&quot;)<b=\r
161 r>\r
162 =A0 File &quot;/usr/lib/python2.7/imaplib.py&quot;, line 443, in fetch<br>\r
163 =A0 =A0 typ, dat =3D self._simple_command(name, message_set, message_parts)=\r
164 <br>\r
165 =A0 File &quot;/usr/lib/python2.7/imaplib.py&quot;, line 1070, in _simple_c=\r
166 ommand<br>\r
167 =A0 =A0 return self._command_complete(name, self._command(name, *args))<br>\r
168 =A0 File &quot;/usr/lib/python2.7/imaplib.py&quot;, line 825, in _command<b=\r
169 r>\r
170 =A0 =A0 &#39;, &#39;.join(Commands[name])))<br>\r
171 imaplib.error: command FETCH illegal in state AUTH, only allowed in states =\r
172 SELECTED<br>\r
173 <br></blockquote><div><br></div><div>Not sure what is causing this. My best=\r
174  guess is that your password was incorrect and that I&#39;m not checking th=\r
175 e login return value.</div><div><br></div><div>=A0</div><blockquote class=\r
176 =3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=\r
177 ing-left:1ex">\r
178 \r
179 ------------------------------------------------------<br>\r
180 <br>\r
181 <br>\r
182 In [2]: imaplib.__version__<br>\r
183 Out[2]: &#39;2.58&#39;<br>\r
184 <br>\r
185 One thing you also might want to watch out for is<br>\r
186 exceptions due to a locked notmuch index.<br></blockquote><div><br></div><d=\r
187 iv>How do I do this?</div><div><br></div><div>=A0</div><blockquote class=3D=\r
188 "gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding=\r
189 -left:1ex">\r
190 \r
191 rock on,<br>\r
192 /p<br>\r
193 <div class=3D"HOEnZb"><div class=3D"h5">___________________________________=\r
194 ____________<br>\r
195 notmuch mailing list<br>\r
196 <a href=3D"mailto:notmuch@notmuchmail.org">notmuch@notmuchmail.org</a><br>\r
197 <a href=3D"http://notmuchmail.org/mailman/listinfo/notmuch" target=3D"_blan=\r
198 k">http://notmuchmail.org/mailman/listinfo/notmuch</a></div></div></blockqu=\r
199 ote></div>\r
200 \r
201 --14dae93b61340e663e04d0437d93--\r