spaetz/offlineimap — Issue #24: AttributeError: 'MaildirFolder' object has no attribute 'flagmatchre'
Author: pazz
Created: 2012-01-18 05:40:54+00:00
State: open

I get lots of tracebacks of the form

```
'MaildirFolder' object has no attribute 'flagmatchre'
ERROR: Syncing folder lists/lfcs [acc: UoE]
'MaildirFolder' object has no attribute 'flagmatchre'
ERROR: ERROR in syncfolder for UoE folder lists/lfcs: Traceback (most recent call last):
File "/home/pazz/.local/lib/python2.7/site-packages/offlineimap/accounts.py", line 428, in syncfolder
remotefolder.syncmessagesto(localfolder, statusfolder)
File "/home/pazz/.local/lib/python2.7/site-packages/offlineimap/folder/Base.py", line 462, in syncmessagesto
action(dstfolder, statusfolder)
File "/home/pazz/.local/lib/python2.7/site-packages/offlineimap/folder/Base.py", line 416, in syncmessagesto_flags
dstfolder.addmessagesflags(uids, set(flag))
File "/home/pazz/.local/lib/python2.7/site-packages/offlineimap/folder/Base.py", line 226, in addmessagesflags
self.addmessageflags(uid, flags)
File "/home/pazz/.local/lib/python2.7/site-packages/offlineimap/folder/Base.py", line 222, in addmessageflags
self.savemessageflags(uid, newflags)
File "/home/pazz/.local/lib/python2.7/site-packages/offlineimap/folder/Maildir.py", line 301, in savemessageflags
infomatch = self.flagmatchre.search(filename)
AttributeError: 'MaildirFolder' object has no attribute 'flagmatchre'
```

it seems that there is one for each synced maildir. here is the full log: https://gist.github.com/1631189 .
My config is here: https://github.com/pazz/configs/blob/master/.offlineimaprc