Go to file
Mike Dawson 30344587d9 Patch for error handling / separation of accounts etc.
Dear All,
I have made the attached patch to try and make offlineimap a bit more
stable in challenging situations.  It's extremely useful in slow
connection environments - but sometimes if one account had the wrong
password or the connection went down then unfortunately the whole
program would crash.

I have tested this on our connection and tried throwing at it just about
every situation - connection, up down, up, down again, change password,
error whilst copying one message, etc.  I have been running this patch
for the last 5 days or so syncing 6 accounts at the moment...  It seems
to work and stay alive nicely (even if your connection does not)...

Hope that this can go in for the next release... Please let me know if
anyone notices any problems with this...

Regards,

-Mike

-- Attached file included as plaintext by Ecartis --
-- File: submit

From 1d6777cab23637eb830031c7cab0ae9b8589afd6 Mon Sep 17 00:00:00 2001
From: mike <mike@mikelaptop.(none)>
Date: Mon, 24 Aug 2009 19:37:59 +0430
Subject: [PATCH] This patch attempts to introduce a little more error handling - e.g.
 if one account has an error because of a changed password or something
 that should not affect the other accounts.

Specifically:
If one sync run has an issue this is in a try-except clause - if it
has an auto refresh period the thread will sleep and try again - this
could be quite useful in the event of the connection going down for a
little while, changed password etc.

If one folder cannot be created an error message will be displayed through
the UI and the program will continue (e.g. permission denied to create a folder)

If one message does not want to copy for whatever resaon an error message
will be displayed through the UI and at least the other messages will
be copied

If one folder run has an exception then the others will still run
2009-08-28 00:01:10 -05:00
bin update version info 2009-08-12 00:41:19 -05:00
debian Noted Debian bugs closed 2009-08-12 00:54:23 -05:00
docs/sgml-common Step 2 of SVN to arch tree conversion 2005-04-16 20:33:35 +01:00
offlineimap Patch for error handling / separation of accounts etc. 2009-08-28 00:01:10 -05:00
.gitignore gitignore generated files from 'make doc' 2009-04-17 10:37:48 -05:00
COPYING Update FSF address 2006-08-12 05:15:55 +01:00
COPYRIGHT Update copyright 2009-08-12 00:41:42 -05:00
FAQ.html Add the FAQ 2006-12-02 22:03:05 +01:00
Makefile 'make clean' remove manual.ps 2009-04-17 10:37:37 -05:00
offlineimap.conf Merge branch 'maxage' 2009-08-16 09:29:00 -05:00
offlineimap.conf.minimal Step 2 of SVN to arch tree conversion 2005-04-16 20:33:35 +01:00
offlineimap.py update version info 2009-08-12 00:41:19 -05:00
offlineimap.sgml Small doc grammar fix. fixes #74. 2008-06-11 15:27:03 -05:00
offlineimap.spec Updating version number to 4.0.16 2006-12-02 21:59:02 +01:00
setup.py Updated copyright and version info for 4.0.15 2006-11-30 10:51:14 +01:00
UPGRADING Step 2 of SVN to arch tree conversion 2005-04-16 20:33:35 +01:00