Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 471F5431FB6 for ; Tue, 16 Apr 2013 02:19:17 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.699 X-Spam-Level: X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5 tests=[FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gBlMHGiIr0tg for ; Tue, 16 Apr 2013 02:19:13 -0700 (PDT) Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com [74.125.82.46]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 4BDB4431FAF for ; Tue, 16 Apr 2013 02:19:13 -0700 (PDT) Received: by mail-wg0-f46.google.com with SMTP id e11so231553wgh.25 for ; Tue, 16 Apr 2013 02:19:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:subject:date:message-id:user-agent:mime-version :content-type; bh=TF3pQJqe/jDG+CLAr+4fXQ8ZNlJGe7FNA4YOWS2vHAY=; b=c5NYQVEw/yA/1YQT59xuJcpT5fAS6v52tr9iv0l+nmZ7EZZkHHsJxdANEuYVhxGylP i0nsehuDOvR80wpVQT9txC07+46eHaN8JGbLV2kjtk9hgSyKGaEHuoZ3KCC901Voi5hY XBdb4gAbqwBxRlht7naapGqXVe7mkCasTU00nEZ+F5sVrXLTqav39RJmaB17PCnjSu+N TodTq6dzSn3BLKjpFXw0MxubGrRPiXe3dEqhDO7S5sp1oy+nnxR0tzxst04ff6fDFcXY mBEhJi1e6ZsTsdsL+axG0h0DvHsjWdlwqJRjquQvAXB3dX0yBQptydD6ucJLGUrIAfJo bifg== X-Received: by 10.194.5.196 with SMTP id u4mr2194741wju.54.1366103952073; Tue, 16 Apr 2013 02:19:12 -0700 (PDT) Received: from ecolmod ([2a01:e35:8baa:b070:3195:b1f6:2ed:d6ac]) by mx.google.com with ESMTPS id bj9sm18219130wib.4.2013.04.16.02.19.10 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 16 Apr 2013 02:19:11 -0700 (PDT) From: Rainer@krugs.de (Rainer M. Krug) To: notmuch@notmuchmail.org Subject: Crash when syncing from gmail to local imap Date: Tue, 16 Apr 2013 11:18:31 +0200 Message-ID: <87haj6ltp4.fsf@krugs.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Apr 2013 09:19:17 -0000 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi I encounter a crash when I sync from gmail to local imap account.=20 The output I get is: ,---- | Copy message 848831 (7 of 9) RemoteRMKrugGMAIL:[Gmail]/All Mail -> Local= RMKrugGMAIL | Copy message from RemoteRMKrugGMAIL:[Gmail]/All Mail: | Establishing connection to localhost:143 | Folder [Gmail]/All Mail [acc: Gmail]: | Copy message 848832 (8 of 9) RemoteRMKrugGMAIL:[Gmail]/All Mail -> Local= RMKrugGMAIL | Copy message 848834 (9 of 9) RemoteRMKrugGMAIL:[Gmail]/All Mail -> Local= RMKrugGMAIL | Copy message from RemoteRMKrugGMAIL:[Gmail]/All Mail: | ERROR: command: CHECK =3D> socket error: - T= oo many read 0 | Thread 'Copy message from RemoteRMKrugGMAIL:[Gmail]/All Mail' terminated = with exception: | Traceback (most recent call last): | File "/usr/local/lib/python2.7/dist-packages/offlineimap/threadutil.py"= , line 156, in run | Thread.run(self) | File "/usr/lib/python2.7/threading.py", line 505, in run | self.__target(*self.__args, **self.__kwargs) | File "/usr/local/lib/python2.7/dist-packages/offlineimap/folder/Base.py= ", line 335, in copymessageto | new_uid =3D dstfolder.savemessage(uid, message, flags, rtime) | File "/usr/local/lib/python2.7/dist-packages/offlineimap/folder/UIDMaps= .py", line 203, in savemessage | newluid =3D self._mb.savemessage(-1, content, flags, rtime) | File "/usr/local/lib/python2.7/dist-packages/offlineimap/folder/IMAP.py= ", line 575, in savemessage | (typ,dat) =3D imapobj.check() | File "/usr/local/lib/python2.7/dist-packages/offlineimap/imaplib2.py", = line 655, in check | return self._simple_command('CHECK', **kw) | File "/usr/local/lib/python2.7/dist-packages/offlineimap/imaplib2.py", = line 1595, in _simple_command | return self._command_complete(self._command(name, *args), kw) | File "/usr/local/lib/python2.7/dist-packages/offlineimap/imaplib2.py", = line 1360, in _command_complete | typ, dat =3D rqb.get_response('command: %s =3D> %%s' % rqb.name) | File "/usr/local/lib/python2.7/dist-packages/offlineimap/imaplib2.py", = line 173, in get_response | raise typ(exc_fmt % str(val)) | abort: command: CHECK =3D> socket error: - To= o many read 0 |=20 |=20 | Last 5 debug messages logged for Copy message from RemoteRMKrugGMAIL:[Gma= il]/All Mail prior to exception: | thread: Register new thread 'Copy message from RemoteRMKrugGMAIL:[Gmail]/= All Mail' (account 'Gmail') | imap: Returned object from fetching 848831: 'Delivered-To: r.m.krug@gmail= .com | Received: by 10.58.66.162 with SMTP id g2csp15451vet; | Tue, 16 Apr 2013 01:52:56 -0700 (PDT) | X-Received: by 10...9EE04CABD9452A82EE740A1BB253BCSTBEXMB02stbsun_-- |=20 | ' | imap: Write mail 'RMKrugGMAIL.[Gmail].All Mail:848831' with flags set([]) | imap: Write mail 'RMKrugGMAIL.[Gmail].All Mail:-1' with flags set([]) | imap: savemessage: date: "16-Apr-2013 08:45:15 +0100", content: 'Delivere= d-To: r.m.krug@gmail.com | Received: by 10.58.66.162 with SMTP id g2csp15451vet; | Tue, 16 Apr 2013 01:52:56 -0700 (PDT) | X-Received: by...E04CABD9452A82EE740A1BB253BCSTBEXMB02stbsun_-- |=20 | ' | ERROR: Exceptions occurred during the run! | ERROR: command: CHECK =3D> socket error: - To= o many read 0 `---- My .offlineimaprc is as follow: ,---- | [general] | accounts =3D Gmail | maxsyncaccounts =3D 1 | ignore-readonly =3D no |=20 | [Account Gmail] | localrepository =3D LocalRMKrugGMAIL | remoterepository =3D RemoteRMKrugGMAIL | status_backend =3D sqlite | postsynchook =3D ionice -c 3 chrt --idle 0 /bin/sh -c "notmuch new && afe= w --tag --verbose --new" |=20 | [Repository RemoteRMKrugGMAIL] | type =3D Gmail | sslcacertfile =3D /etc/ssl/certs/ca-certificates.crt | ###### | remoteuser =3D XXXXXXXX | remotepass =3D YYYYYYYY | ###### | maxconnections =3D 5 | nametrans =3D lambda foldername: 'RMKrugGMAIL.' + foldername | ###### |=20 | [Repository LocalRMKrugGMAIL] | type =3D IMAP | remotehost =3D localhost | port =3D 143 | ###### | remoteuser =3D ZZZZZZZ | remotepass =3D PPPPPPP | ###### | maxconnections =3D 5 | ###### | ## Remove RMKrugGMAIL prefix when copying to remote | nametrans =3D lambda folder: re.sub('^RMKrugGMAIL.', '', folder) | ###### | folderfilter =3D lambda folder: folder.startswith('RMKrugGMAIL') | ###### `---- offlineimap version 6.5.4 Ubuntu Quantal, all updates The syncing is approaching the end if I run offlineimap again after the crash. Any further info needed? Thanks, Rainer =2D-=20 Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,= UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEcBAEBAgAGBQJRbRdpAAoJENvXNx4PUvmCaOEH/icFDYY4zEMNCquRQ2nySg3n p23nBiVH/hxYD7tJvtYObTzP8X5ZpBMduZECY6N9wzrNI6IsbRDQs7T/ox9pwd3b euoHEU8K9D3Y/8EMneo+8Ek4yoKOO4o+TcvgqcP2KUtZzajg9Z2z21BqHI0yqvUn Qspq+30eUksFf7aR1galD6BzN788RchHSZPIU8V8WNnctuC9FH6JCCPSGnmxUXUz rBhfH1qk5stCXvDRVLhE7bBr0+S6UW1YfvC1/bTgdSKLE/UET6V2lXQx9dWUOhq0 0MHjUTLfoEdibI8TVqYiBr4kpDjjgz1F4alClbxGxowtXDVwQD9EoWSQLf9gg54= =FqXG -----END PGP SIGNATURE----- --=-=-=--