spaetz/offlineimap — Issue #35: 'NoneType' object has no attribute 'group' at the start of a sync: imaputil.py:152
Author: skarra
Created: 2012-02-21 09:04:47+00:00
State: open

I have written the to the mailing list on this issue already, but there is no update yet. Raising this issue here as well, for good measure...

I have just installed v6.5.2.1 on MacOS X Lion using Homebrew. I have customized the simple configuration for a single imap account on my company's Lotus Notes based server. When I attempt to start the first sync, I first get queries for my password and then I get the following error. I could not find any answers quickly using Google. Can anyone throw some light on this issue? Am I doing something stupid?

*** Finished account 'Cleartrip' in 0:04
[thread]: Unregister thread 'Account sync Cleartrip'
ERROR: Exceptions occurred during the run!
ERROR: While attempting to sync account 'Cleartrip'
'NoneType' object has no attribute 'group'

Traceback:
File "/usr/local/Cellar/offline-imap/6.5.2.1/libexec/offlineimap/accounts.py", line 231, in syncrunner
self.sync()
File "/usr/local/Cellar/offline-imap/6.5.2.1/libexec/offlineimap/accounts.py", line 287, in sync
remoterepos.getfolders()
File "/usr/local/Cellar/offline-imap/6.5.2.1/libexec/offlineimap/repository/IMAP.py", line 266, in getfolders
imapobj = self.imapserver.acquireconnection()
File "/usr/local/Cellar/offline-imap/6.5.2.1/libexec/offlineimap/imapserver.py", line 298, in acquireconnection
imaputil.imapsplit(listres[0])[1:]
File "/usr/local/Cellar/offline-imap/6.5.2.1/libexec/offlineimap/imaputil.py", line 152, in imapsplit
retval.append(m.group('quote'))