WARNING:OfflineImap:Thread 'Copy message from repoName:[Gmail]/All Mail' terminated with exception

anton dear_anton at yahoo.com
Mon Sep 16 09:57:50 BST 2013


Hello!

I used offlineimap to fetch mail from my Gmail account. It worked perfectly for me till last week, then I got such exception at every offlineimap launch:

WARNING:OfflineImap:Thread 'Copy message from repoNameRemote:[Gmail]/All Mail' terminated with exception:

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/offlineimap/threadutil.py", line 156, in run Thread.run(self)
  File "/usr/lib/python2.7/threading.py", line 763, in run self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.7/dist-packages/offlineimap/folder/Base.py", line 330, in copymessageto message = self.getmessage(uid)
  File "/usr/lib/python2.7/dist-packages/offlineimap/folder/IMAP.py", line 217, in getmessage  imapobj.select(self.getfullname(), readonly = True)
  File "/usr/lib/python2.7/dist-packages/offlineimap/imaplibutil.py", line 63, in select raise OfflineImapError(errstr, severity)
OfflineImapError: Error SELECTing mailbox '[Gmail]/All Mail', server reply: ('NO', ['System error (Failure)'])

Last 1 debug messages logged for Copy message from repoNameRemote:[Gmail]/All Mail prior to exception:
thread: Register new thread 'Copy message from repoNameRemote:[Gmail]/All Mail' (account 'Accountname')



I performed such steps:
1. fsck of all volumes (no errors)
2. delete old repo and start offlineimap again (it fetched my mail for the Aug, but say nothing about Sep)




offlineimap --info returned:

OfflineIMAP 6.5.4
  Licensed under the GNU GPL v2+ (v2 or any later version)
Remote repository 'repoNameRemote': type 'Gmail'
Host: imap.gmail.com Port: 993 SSL: 1
Establishing connection to imap.gmail.com:993
Server supports ID extension.
Server welcome string: * OK Gimap ready for requests from ip.ip.ip.ip ch49if7010375eeb.218
Server capabilities: ('IMAP4REV1', 'UNSELECT', 'IDLE', 'NAMESPACE', 'QUOTA', 'ID', 'XLIST', 'CHILDREN', 'X-GM-EXT-1', 'UIDPLUS', 'COMPRESS=DEFLATE', 'ENABLE', 'MOVE', 'CONDSTORE', 'ESEARCH')

nametrans= lambda foldername: foldername.decode('imap4-utf-7').encode('utf-8')

Folderlist:
 [Gmail]/All Mail
 [Gmail]/Drafts
 [Gmail]/Important
 [Gmail]/Sent Mail
 [Gmail]/Spam
 [Gmail]/Starred
 [Gmail]/Trash
 INBOX

Local repository 'RepoNameLocal': type 'Maildir'
Folderlist:
 [Gmail].Sent Mail
 [Gmail].Important
 [Gmail].Spam
 [Gmail].Drafts
 INBOX
 [Gmail].Trash
 [Gmail].All Mail
 [Gmail].Starred


I suppose that Gmail changed something inside it's services and my configs and OS state are correct.

if possible, let me know how I could make offlineimap working correctly again.

Best regards,
Anton



More information about the OfflineIMAP-project mailing list