AttributeError: 'str' object has no attribute 'read'
rea at codelabs.ru
Thu Oct 17 10:11:38 BST 2013
Liam, good day.
Wed, Oct 16, 2013 at 11:16:18AM -0400, Liam Healy wrote:
> 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/accounts.py", line
> 306, in syncfolder
> File "/usr/lib/pymodules/python2.7/offlineimap/folder/LocalStatus.py",
> line 72, in cachemessagelist
> if not line and not line.read():
> AttributeError: 'str' object has no attribute 'read'
> Filed as Debian bug report http://bugs.debian.org/726431 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
Any chances to use 6.5.5? The code in question was largely overhauled
since 6.3.4, so the easiest way will be to use the newer code. If it
is not feasible we will try to find another way of fixing this.
More information about the OfflineIMAP-project