WARNING: Error occured attempting to sync account Gmail
Miguel de Val-Borro
miguel.deval at gmail.com
Fri Oct 28 18:04:58 BST 2011
Hi,
I get this warning message recently when I sync my Gmail account using python 2.7.2:
DEBUG[imap]: 54:30.68 > LEEG13 LOGOUT
DEBUG[imap]: 54:30.81 < * BYE LOGOUT Requested
DEBUG[imap]: 54:30.81 matched r'\* (?P<type>[A-Z-]+)( (?P<data>.*))?' => ('BYE', ' LOGOUT Requested', 'LOGOUT Requested')
DEBUG[imap]: 54:30.81 untagged_responses[BYE] 0 += ["LOGOUT Requested"]
DEBUG[imap]: 54:30.81 BYE response: LOGOUT Requested
DEBUG[imap]: 54:30.81 < LEEG13 OK 73 good day (Success)
DEBUG[imap]: 54:30.81 matched r'(?P<tag>LEEG\d+) (?P<type>[A-Z]+) (?P<data>.*)' => ('LEEG13', 'OK', '73 good day (Success)')
WARNING: Error occured attempting to sync account Gmail: Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/offlineimap/accounts.py", line 206, in syncrunner
self.sync(siglistener)
File "/usr/lib64/python2.7/site-packages/offlineimap/accounts.py", line 269, in sync
remoterepos.holdordropconnections()
File "/usr/lib64/python2.7/site-packages/offlineimap/repository/IMAP.py", line 71, in holdordropconnections
self.dropconnections()
File "/usr/lib64/python2.7/site-packages/offlineimap/repository/IMAP.py", line 74, in dropconnections
self.imapserver.close()
File "/usr/lib64/python2.7/site-packages/offlineimap/imapserver.py", line 342, in close
imapobj.logout()
File "/usr/lib64/python2.7/imaplib.py", line 537, in logout
self.shutdown()
File "/usr/lib64/python2.7/imaplib.py", line 1187, in shutdown
self.file.close()
File "/usr/lib64/python2.7/imaplib.py", line 214, in __getattr__
raise AttributeError("Unknown IMAP4 command: '%s'" % attr)
AttributeError: Unknown IMAP4 command: 'file'
DEBUG[imap]: keepalive thread started
DEBUG[imap]: keepalive: top of loop
DEBUG[imap]: keepalive: after wait
DEBUG[imap]: keepalive: acquiring connectionlock
After that offlineimap does not copy any more messages to the Gmail or any
other local folders.
Miguel
More information about the OfflineIMAP-project
mailing list