not writable

Chris Dennis cgdennis at btinternet.com
Fri Nov 11 09:55:16 UTC 2011


Hello folks

I'm not sure if this will help regarding the 'not writable' issue, but 
it's worth a try.

I'm running a version of offlineimap that I got from Sebastian's 'next' 
branch a couple of weeks ago:

   commit d981d66305d3e8342e74cf5a130339aab1eb5396
   Author: Sebastian Spaeth <Sebastian at SSpaeth.de>
   Date:   Fri Oct 28 09:35:23 2011 +0200

Having found that offlineimap occasionally hangs and needs to be 
restarted, I have a cron job that kills (-15) it at 6am every day and 
then restarts it.  That has been fine, but I see that the log always 
ends up with 'not writable' errors at the point where it was killed. 
For example:

---------------------------------------------------------------
...
2011-11-11 05:56:41 INFO: Next refresh in 1.0 minutes
2011-11-11 05:57:41 INFO: *** Processing account 1and1
2011-11-11 05:57:41 INFO: Establishing connection to localhost:143
2011-11-11 05:57:41 INFO: Skipping Drafts (not changed)
2011-11-11 05:57:41 INFO: Skipping INBOX (not changed)
2011-11-11 05:57:41 INFO: Skipping Junk (not changed)
2011-11-11 05:57:41 INFO: Skipping Junk E-mail (not changed)
2011-11-11 05:57:41 INFO: Skipping Sent (not changed)
2011-11-11 05:57:41 INFO: Skipping Spam (not changed)
2011-11-11 05:57:41 INFO: Skipping Trash (not changed)
2011-11-11 05:57:41 INFO: Calling hook: /usr/local/bin/isbg.py 
--noninteractive --spaminbox 'Junk E-mail' --delete --spamc
2011-11-11 05:57:41 INFO: Hook stdout: 0 spams found in 0 messages
0/0 was automatically deleted

Hook stderr:

2011-11-11 05:57:41 INFO: Hook return code: 0
2011-11-11 05:57:41 INFO: *** Finished account '1and1' in 0:00
2011-11-11 05:57:41 INFO: Next refresh in 5.0 minutes
2011-11-11 05:58:41 INFO: Next refresh in 4.0 minutes
2011-11-11 05:59:01 WARNING: ERROR: Exceptions occurred during the run!
2011-11-11 05:59:01 WARNING: ERROR: Aborting sync, folder 'Spam' [acc: 
'1and1']
   Server 'localhost' closed connection, error on SELECT 'Spam'. Server 
said: Spam is not writable
2011-11-11 05:59:01 WARNING: ERROR: Aborting sync, folder 'INBOX' [acc: 
'1and1']
   Server 'localhost' closed connection, error on SELECT 'INBOX'. Server 
said: INBOX is not writable
2011-11-11 05:59:01 WARNING: ERROR: Aborting sync, folder 'INBOX' [acc: 
'1and1']
   Server 'localhost' closed connection, error on SELECT 'INBOX'. Server 
said: INBOX is not writable
2011-11-11 05:59:01 WARNING: terminating...

2011-11-11 06:00:01 INFO: OfflineImap 6.4.0 starting...
   Python: 2.6.6 Platform: linux2
   Args: /usr/local/bin/offlineimap -l /home/joe/.offlineimap.log
2011-11-11 06:00:01 INFO: *** Processing account 1and1
2011-11-11 06:00:01 INFO: Establishing connection to imap.1and1.co.uk:993
2011-11-11 06:00:01 INFO: Establishing connection to localhost:143
2011-11-11 06:00:01 INFO: Syncing Drafts: IMAP -> MappedIMAP
2011-11-11 06:00:01 INFO: Syncing INBOX: IMAP -> MappedIMAP
2011-11-11 06:00:01 INFO: Establishing connection to imap.1and1.co.uk:993
2011-11-11 06:00:01 INFO: Syncing Junk: IMAP -> MappedIMAP
2011-11-11 06:00:02 INFO: Syncing Junk E-mail: IMAP -> MappedIMAP
2011-11-11 06:00:02 INFO: Syncing Sent: IMAP -> MappedIMAP
2011-11-11 06:00:02 INFO: Syncing Spam: IMAP -> MappedIMAP
2011-11-11 06:00:02 INFO: Syncing Trash: IMAP -> MappedIMAP
2011-11-11 06:00:02 INFO: Calling hook: /usr/local/bin/isbg.py 
--noninteractive --spaminbox 'Junk E-mail' --delete --spamc
2011-11-11 06:00:02 INFO: Hook stdout: 0 spams found in 0 messages
...
-------------------------------------------------------------------

cheers

Chris
-- 
Chris Dennis                                  cgdennis at btinternet.com
Fordingbridge, Hampshire, UK



More information about the OfflineIMAP-project mailing list