AttributeError: 'str' object has no attribute 'read'

Liam Healy lnp at
Wed Oct 16 16:16:18 BST 2013

I did a safe upgrade of Debian (stable) and now I am unable to sync
mail. For every mailbox, this error appears, and no other mail is

WARNING: ERROR in syncfolder for ccs folder INBOX: Traceback (most
recent call last):
  File "/usr/lib/pymodules/python2.7/offlineimap/", line
306, in syncfolder
  File "/usr/lib/pymodules/python2.7/offlineimap/folder/",
line 72, in cachemessagelist
    if not line and not
AttributeError: 'str' object has no attribute 'read'

Filed as Debian bug report but I wonder
if there's some kind of workaround I can use now so I can get mail.

Package: offlineimap
Version: 6.3.4-1


More information about the OfflineIMAP-project mailing list