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


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
  File "/usr/lib64/python2.7/site-packages/offlineimap/accounts.py", line 269, in sync
  File "/usr/lib64/python2.7/site-packages/offlineimap/repository/IMAP.py", line 71, in holdordropconnections
  File "/usr/lib64/python2.7/site-packages/offlineimap/repository/IMAP.py", line 74, in dropconnections
  File "/usr/lib64/python2.7/site-packages/offlineimap/imapserver.py", line 342, in close
  File "/usr/lib64/python2.7/imaplib.py", line 537, in logout
  File "/usr/lib64/python2.7/imaplib.py", line 1187, in shutdown
  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.


More information about the OfflineIMAP-project mailing list