Re: [PATCH v4 01/16] add util/search-path.{c, h} to test for executables in $PATH
[notmuch-archives.git] / 6c / 8b78d940b925f3cf3c2ab93f8aca65cfdbfcaa
1 Return-Path: <r.m.krug@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 471F5431FB6\r
6         for <notmuch@notmuchmail.org>; Tue, 16 Apr 2013 02:19:17 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.699\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5\r
12         tests=[FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id gBlMHGiIr0tg for <notmuch@notmuchmail.org>;\r
16         Tue, 16 Apr 2013 02:19:13 -0700 (PDT)\r
17 Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com\r
18  [74.125.82.46])        (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
19  certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
20  4BDB4431FAF    for <notmuch@notmuchmail.org>; Tue, 16 Apr 2013 02:19:13 -0700\r
21  (PDT)\r
22 Received: by mail-wg0-f46.google.com with SMTP id e11so231553wgh.25\r
23         for <notmuch@notmuchmail.org>; Tue, 16 Apr 2013 02:19:12 -0700 (PDT)\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
25         d=google.com; s=20120113;\r
26         h=x-received:from:to:subject:date:message-id:user-agent:mime-version\r
27         :content-type;\r
28         bh=TF3pQJqe/jDG+CLAr+4fXQ8ZNlJGe7FNA4YOWS2vHAY=;\r
29         b=c5NYQVEw/yA/1YQT59xuJcpT5fAS6v52tr9iv0l+nmZ7EZZkHHsJxdANEuYVhxGylP\r
30         i0nsehuDOvR80wpVQT9txC07+46eHaN8JGbLV2kjtk9hgSyKGaEHuoZ3KCC901Voi5hY\r
31         XBdb4gAbqwBxRlht7naapGqXVe7mkCasTU00nEZ+F5sVrXLTqav39RJmaB17PCnjSu+N\r
32         TodTq6dzSn3BLKjpFXw0MxubGrRPiXe3dEqhDO7S5sp1oy+nnxR0tzxst04ff6fDFcXY\r
33         mBEhJi1e6ZsTsdsL+axG0h0DvHsjWdlwqJRjquQvAXB3dX0yBQptydD6ucJLGUrIAfJo\r
34         bifg==\r
35 X-Received: by 10.194.5.196 with SMTP id u4mr2194741wju.54.1366103952073;\r
36         Tue, 16 Apr 2013 02:19:12 -0700 (PDT)\r
37 Received: from ecolmod ([2a01:e35:8baa:b070:3195:b1f6:2ed:d6ac])\r
38         by mx.google.com with ESMTPS id bj9sm18219130wib.4.2013.04.16.02.19.10\r
39         (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
40         Tue, 16 Apr 2013 02:19:11 -0700 (PDT)\r
41 From: Rainer@krugs.de (Rainer M. Krug)\r
42 To: notmuch@notmuchmail.org\r
43 Subject: Crash when syncing from gmail to local imap\r
44 Date: Tue, 16 Apr 2013 11:18:31 +0200\r
45 Message-ID: <87haj6ltp4.fsf@krugs.de>\r
46 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)\r
47 MIME-Version: 1.0\r
48 Content-Type: multipart/signed; boundary="=-=-=";\r
49         micalg=pgp-sha1; protocol="application/pgp-signature"\r
50 X-BeenThere: notmuch@notmuchmail.org\r
51 X-Mailman-Version: 2.1.13\r
52 Precedence: list\r
53 List-Id: "Use and development of the notmuch mail system."\r
54         <notmuch.notmuchmail.org>\r
55 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
57 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
58 List-Post: <mailto:notmuch@notmuchmail.org>\r
59 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
60 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
61         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
62 X-List-Received-Date: Tue, 16 Apr 2013 09:19:17 -0000\r
63 \r
64 --=-=-=\r
65 Content-Type: text/plain\r
66 Content-Transfer-Encoding: quoted-printable\r
67 \r
68 Hi\r
69 \r
70 I encounter a crash when I sync from gmail to local imap account.=20\r
71 The output I get is:\r
72 \r
73 ,----\r
74 |  Copy message 848831 (7 of 9) RemoteRMKrugGMAIL:[Gmail]/All Mail -> Local=\r
75 RMKrugGMAIL\r
76 | Copy message from RemoteRMKrugGMAIL:[Gmail]/All Mail:\r
77 |  Establishing connection to localhost:143\r
78 | Folder [Gmail]/All Mail [acc: Gmail]:\r
79 |  Copy message 848832 (8 of 9) RemoteRMKrugGMAIL:[Gmail]/All Mail -> Local=\r
80 RMKrugGMAIL\r
81 |  Copy message 848834 (9 of 9) RemoteRMKrugGMAIL:[Gmail]/All Mail -> Local=\r
82 RMKrugGMAIL\r
83 | Copy message from RemoteRMKrugGMAIL:[Gmail]/All Mail:\r
84 |  ERROR: command: CHECK =3D> socket error: <type 'exceptions.IOError'> - T=\r
85 oo many read 0\r
86 | Thread 'Copy message from RemoteRMKrugGMAIL:[Gmail]/All Mail' terminated =\r
87 with exception:\r
88 | Traceback (most recent call last):\r
89 |   File "/usr/local/lib/python2.7/dist-packages/offlineimap/threadutil.py"=\r
90 , line 156, in run\r
91 |     Thread.run(self)\r
92 |   File "/usr/lib/python2.7/threading.py", line 505, in run\r
93 |     self.__target(*self.__args, **self.__kwargs)\r
94 |   File "/usr/local/lib/python2.7/dist-packages/offlineimap/folder/Base.py=\r
95 ", line 335, in copymessageto\r
96 |     new_uid =3D dstfolder.savemessage(uid, message, flags, rtime)\r
97 |   File "/usr/local/lib/python2.7/dist-packages/offlineimap/folder/UIDMaps=\r
98 .py", line 203, in savemessage\r
99 |     newluid =3D self._mb.savemessage(-1, content, flags, rtime)\r
100 |   File "/usr/local/lib/python2.7/dist-packages/offlineimap/folder/IMAP.py=\r
101 ", line 575, in savemessage\r
102 |     (typ,dat) =3D imapobj.check()\r
103 |   File "/usr/local/lib/python2.7/dist-packages/offlineimap/imaplib2.py", =\r
104 line 655, in check\r
105 |     return self._simple_command('CHECK', **kw)\r
106 |   File "/usr/local/lib/python2.7/dist-packages/offlineimap/imaplib2.py", =\r
107 line 1595, in _simple_command\r
108 |     return self._command_complete(self._command(name, *args), kw)\r
109 |   File "/usr/local/lib/python2.7/dist-packages/offlineimap/imaplib2.py", =\r
110 line 1360, in _command_complete\r
111 |     typ, dat =3D rqb.get_response('command: %s =3D> %%s' % rqb.name)\r
112 |   File "/usr/local/lib/python2.7/dist-packages/offlineimap/imaplib2.py", =\r
113 line 173, in get_response\r
114 |     raise typ(exc_fmt % str(val))\r
115 | abort: command: CHECK =3D> socket error: <type 'exceptions.IOError'> - To=\r
116 o many read 0\r
117 |=20\r
118 |=20\r
119 | Last 5 debug messages logged for Copy message from RemoteRMKrugGMAIL:[Gma=\r
120 il]/All Mail prior to exception:\r
121 | thread: Register new thread 'Copy message from RemoteRMKrugGMAIL:[Gmail]/=\r
122 All Mail' (account 'Gmail')\r
123 | imap: Returned object from fetching 848831: 'Delivered-To: r.m.krug@gmail=\r
124 .com\r
125 | Received: by 10.58.66.162 with SMTP id g2csp15451vet;\r
126 |         Tue, 16 Apr 2013 01:52:56 -0700 (PDT)\r
127 | X-Received: by 10...9EE04CABD9452A82EE740A1BB253BCSTBEXMB02stbsun_--\r
128 |=20\r
129 | '\r
130 | imap: Write mail 'RMKrugGMAIL.[Gmail].All Mail:848831' with flags set([])\r
131 | imap: Write mail 'RMKrugGMAIL.[Gmail].All Mail:-1' with flags set([])\r
132 | imap: savemessage: date: "16-Apr-2013 08:45:15 +0100", content: 'Delivere=\r
133 d-To: r.m.krug@gmail.com\r
134 | Received: by 10.58.66.162 with SMTP id g2csp15451vet;\r
135 |         Tue, 16 Apr 2013 01:52:56 -0700 (PDT)\r
136 | X-Received: by...E04CABD9452A82EE740A1BB253BCSTBEXMB02stbsun_--\r
137 |=20\r
138 | '\r
139 | ERROR: Exceptions occurred during the run!\r
140 | ERROR: command: CHECK =3D> socket error: <type 'exceptions.IOError'> - To=\r
141 o many read 0\r
142 `----\r
143 \r
144 \r
145 My .offlineimaprc is as follow:\r
146 \r
147 ,----\r
148 | [general]\r
149 | accounts =3D Gmail\r
150 | maxsyncaccounts =3D 1\r
151 | ignore-readonly =3D no\r
152 |=20\r
153 | [Account Gmail]\r
154 | localrepository =3D   LocalRMKrugGMAIL\r
155 | remoterepository =3D RemoteRMKrugGMAIL\r
156 | status_backend =3D sqlite\r
157 | postsynchook =3D ionice -c 3 chrt --idle 0 /bin/sh -c "notmuch new && afe=\r
158 w --tag --verbose --new"\r
159 |=20\r
160 | [Repository RemoteRMKrugGMAIL]\r
161 | type =3D Gmail\r
162 | sslcacertfile =3D /etc/ssl/certs/ca-certificates.crt\r
163 | ######\r
164 | remoteuser =3D XXXXXXXX\r
165 | remotepass =3D YYYYYYYY\r
166 | ######\r
167 | maxconnections =3D 5\r
168 | nametrans =3D lambda foldername: 'RMKrugGMAIL.' + foldername\r
169 | ######\r
170 |=20\r
171 | [Repository LocalRMKrugGMAIL]\r
172 | type =3D IMAP\r
173 | remotehost =3D localhost\r
174 | port =3D 143\r
175 | ######\r
176 | remoteuser =3D ZZZZZZZ\r
177 | remotepass =3D PPPPPPP\r
178 | ######\r
179 | maxconnections =3D 5\r
180 | ######\r
181 | ## Remove RMKrugGMAIL prefix when copying to remote\r
182 | nametrans =3D lambda folder: re.sub('^RMKrugGMAIL.', '', folder)\r
183 | ######\r
184 | folderfilter =3D lambda folder: folder.startswith('RMKrugGMAIL')\r
185 | ######\r
186 `----\r
187 \r
188 offlineimap version 6.5.4\r
189 Ubuntu Quantal, all updates\r
190 \r
191 The syncing is approaching the end if I run offlineimap again after the\r
192 crash.\r
193 \r
194 Any further info needed?\r
195 \r
196 Thanks,\r
197 \r
198 Rainer\r
199 \r
200 \r
201 =2D-=20\r
202 Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,=\r
203  UCT), Dipl. Phys. (Germany)\r
204 \r
205 Centre of Excellence for Invasion Biology\r
206 Stellenbosch University\r
207 South Africa\r
208 \r
209 Tel :       +33 - (0)9 53 10 27 44\r
210 Cell:       +33 - (0)6 85 62 59 98\r
211 Fax :       +33 - (0)9 58 10 27 44\r
212 \r
213 Fax (D):    +49 - (0)3 21 21 25 22 44\r
214 \r
215 email:      Rainer@krugs.de\r
216 \r
217 Skype:      RMkrug\r
218 \r
219 --=-=-=\r
220 Content-Type: application/pgp-signature\r
221 \r
222 -----BEGIN PGP SIGNATURE-----\r
223 Version: GnuPG v1.4.11 (GNU/Linux)\r
224 \r
225 iQEcBAEBAgAGBQJRbRdpAAoJENvXNx4PUvmCaOEH/icFDYY4zEMNCquRQ2nySg3n\r
226 p23nBiVH/hxYD7tJvtYObTzP8X5ZpBMduZECY6N9wzrNI6IsbRDQs7T/ox9pwd3b\r
227 euoHEU8K9D3Y/8EMneo+8Ek4yoKOO4o+TcvgqcP2KUtZzajg9Z2z21BqHI0yqvUn\r
228 Qspq+30eUksFf7aR1galD6BzN788RchHSZPIU8V8WNnctuC9FH6JCCPSGnmxUXUz\r
229 rBhfH1qk5stCXvDRVLhE7bBr0+S6UW1YfvC1/bTgdSKLE/UET6V2lXQx9dWUOhq0\r
230 0MHjUTLfoEdibI8TVqYiBr4kpDjjgz1F4alClbxGxowtXDVwQD9EoWSQLf9gg54=\r
231 =FqXG\r
232 -----END PGP SIGNATURE-----\r
233 --=-=-=--\r