<DKIM> Re: <DKIM> Re: <DKIM> Re: <DKIM> Re: <DKIM> Error when uploading to Gmail: reader socket error: <type 'exceptions.IOError'> Too many read 0

Nicolas Sebrecht nicolas.s-dev at laposte.net
Thu Sep 29 16:17:14 BST 2016

On Thu, Sep 29, 2016 at 11:07:14AM +0100, Sean Hammond wrote:

> Just to follow up on this - the issue described in this thread
> (offlineimap hanging) happens when you have a folder on the remote
> account that does not exist in the local maildirs, and the local account
> is set to readonly = True.
> Creating an empty maildir (including empty cur, new and tmp folders)
> locally didn't seem to fix the problem. But setting the local account to
> readonly = False for one run and letting offlineimap create the folder
> locally did fix the problem for me.

If the manual creation didn't fix it then either there was a typo
somewhere or this isn't the root cause.

> I just ran into the hang again after having deleting a folder from the
> local copy and cache in order to fix a UID validity problem, offlineimap
> again started hanging until I set the local account to readonly = False
> and ran offlineimap once allowing it to create and download the missing
> folder. I can then set readonly = True again and it works fine.

So, the root cause might be more about the local cache.

Thanks for the feedback.

Nicolas Sebrecht

More information about the OfflineIMAP-project mailing list