ERROR: ERROR in syncfolder for NTT folder INBOX: Traceback (most recent call last):

 "/usr/lib/python2.7/site-packages/offlineimap/accounts.py", line 584, in syncfolder
remotefolder.syncmessagesto(localfolder, statusfolder)

 "/usr/lib/python2.7/site-packages/offlineimap/folder/Base.py", line 1090, in syncmessagesto
action(dstfolder, statusfolder)

 "/usr/lib/python2.7/site-packages/offlineimap/folder/Base.py", line 902, in __syncmessagesto_copy
statusfolder.savemessage(uid, None, flags, rtime)

 "/usr/lib/python2.7/site-packages/offlineimap/folder/LocalStatusSQLite.py", line 341, in savemessage
(uid,flags,mtime,labels))

 "/usr/lib/python2.7/site-packages/offlineimap/folder/LocalStatusSQLite.py", line 170, in __sql_write
self.connection.execute(sql, args)IntegrityError: PRIMARY KEY must be unique
Traceback (most recent call last):


 "setup.py", line 66, in <module>

compiler_directives=directives,


 "/home/anish/.local/lib/python3.6/site-packages/Cython/Build/Dependencies.py", line 1097, in cythonize

cythonize_one(*args)


 "/home/anish/.local/lib/python3.6/site-packages/Cython/Build/Dependencies.py", line 1220, in cythonize_one

raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: ./pyorama/system.pyx
