NoneType popping up in syncing some folders from Exchange

Dale Harris rodmur at
Sun Jan 8 01:29:47 GMT 2012

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/", line
411, in syncfolder
  File "/Library/Python/2.7/site-packages/offlineimap/ui/", line
313, in validityproblem    folder.getsaveduidvalidity(),
folder.getuidvalidity()))  File
"/Library/Python/2.7/site-packages/offlineimap/folder/", line 74, in
getuidvalidity    return long(uidval[0])TypeError: long() argument must be
a string or a number, not 'NoneType'

Abbreviated OfflineIMAP info dump below.  Trace is attached.

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

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

Dale Harris
rodmur at
rodmur at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debug.log
Type: application/octet-stream
Size: 281543 bytes
Desc: not available
URL: <>

More information about the OfflineIMAP-project mailing list