Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support unicode (AssertionError: assert(line == magicline) in LocalStatus.py) #134

Closed
ibennetch opened this issue Nov 3, 2014 · 1 comment
Assignees

Comments

@ibennetch
Copy link

Hi, I have been seeing a problem when trying to sync a Gmail account:

ERROR: Exceptions occurred during the run!
ERROR: ERROR in syncfolder for Work folder [Gmail]/All Mail: Traceback (most recent call last):
  File "/Library/Python/2.7/site-packages/offlineimap/accounts.py", line 407, in syncfolder
    statusfolder.cachemessagelist()
  File "/Library/Python/2.7/site-packages/offlineimap/folder/LocalStatus.py", line 72, in cachemessagelist
    assert(line == magicline)
AssertionError


ERROR: ERROR in syncfolder for Home folder [Gmail]/All Mail: Traceback (most recent call last):
  File "/Library/Python/2.7/site-packages/offlineimap/accounts.py", line 407, in syncfolder
    statusfolder.cachemessagelist()
  File "/Library/Python/2.7/site-packages/offlineimap/folder/LocalStatus.py", line 72, in cachemessagelist
    assert(line == magicline)
AssertionError

Interestingly, I try to sync three Gmail accounts this way; two produce this error message ("Work" and "Home", as you see above); the third works perfectly fine.

I believe I'm running 6.5.6, but due to #92 offlineimap --version reports 6.5.5. The account type is IMAP for all three.

I saw the related thread at http://thread.gmane.org/gmane.mail.imap.offlineimap.general/6417 but don't see any resolution there.

@nicolas33 nicolas33 changed the title AssertionError: assert(line == magicline) in LocalStatus.py support unicode (AssertionError: assert(line == magicline) in LocalStatus.py) Jan 9, 2015
@nicolas33 nicolas33 added this to the 6.5.7 (next minor) milestone Jan 9, 2015
@nicolas33 nicolas33 self-assigned this Jan 9, 2015
@nicolas33
Copy link
Member

The cause is an unsupported encoding somewhere. Requesting comments in the mailing list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants