 ERROR: ERROR in syncfolder for nicolasbock.gmail folder [Gmail]/Trash: Traceback (most recent call last):


 "/usr/lib64/python2.7/site-packages/offlineimap/accounts.py", line 652, in syncfolder

localfolder.syncmessagesto(remotefolder, statusfolder)


 "/usr/lib64/python2.7/site-packages/offlineimap/folder/Base.py", line 1116, in syncmessagesto

action(dstfolder, statusfolder)


 "/usr/lib64/python2.7/site-packages/offlineimap/folder/Base.py", line 944, in __syncmessagesto_copy

self.copymessageto(uid, dstfolder, statusfolder, register=0)


 "/usr/lib64/python2.7/site-packages/offlineimap/folder/GmailMaildir.py", line 227, in copymessageto

labels = dstfolder.getmessagelabels(uid)


 "/usr/lib64/python2.7/site-packages/offlineimap/folder/Gmail.py", line 105, in getmessagelabels

if 'labels' in self.messagelist[uid]:
KeyError: 690815

Traceback (most recent call last):


 "/apps/sickrage/sickbeard/webapi.py", line 129, in get

out_dict = _call_dispatcher(args, kwargs)


 "/apps/sickrage/sickbeard/webapi.py", line 201, in call_dispatcher

cur_out_dict = to_call.run()
# call function and get response


 "/apps/sickrage/sickbeard/webapi.py", line 2641, in run

episode_qualities_counts_download[int(row[b"status"])] += 1
KeyError: 6
