spaetz/offlineimap — Issue #16: Exchange does not send UIDVALIDITY for empty folders
Author: spaetz
Created: 2012-01-08 10:53:13+00:00
State: open

I'm getting an error:

ERROR: Exceptions occurred during the run!
ERROR: ERROR in syncfolder for WCMC folder bbsupport: Traceback (most
recent call last):
File "/Library/Python/2.7/site-packages/offlineimap/accounts.py", line411, in syncfolder
ui.validityproblem(remotefolder)
File "/Library/Python/2.7/site-packages/offlineimap/ui/UIBase.py", line
313, in validityproblem folder.getsaveduidvalidity(),
folder.getuidvalidity())) File
"/Library/Python/2.7/site-packages/offlineimap/folder/IMAP.py", line 74, in
getuidvalidity return long(uidval[0])TypeError: long() argument must be
a string or a number, not 'NoneType'

OfflineIMAP 6.5.1.1
Licensed under the GNU GPL v2+ (v2 or any later version)
Remote repository 'Remote': type 'IMAP'
Host: oldowa.med.cornell.edu Port: None SSL: True
Establishing connection to oldowa.med.cornell.edu:993
Server welcome string: * OK The Microsoft Exchange IMAP4 service is ready.
Server capabilities: ('IMAP4', 'IMAP4REV1', 'AUTH=NTLM', 'AUTH=GSSAPI',
'AUTH=PLAIN', 'IDLE', 'NAMESPACE', 'LITERAL+')

That folder bbsupport is empty, so perhaps OfflineIMAP just doesn't like
that?