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

_______________________________________________
OfflineIMAP-project mailing list: [email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepages:
- https://github.com/OfflineIMAP
- http://offlineimap.org

Reply via email to