Closed Tromador closed 5 years ago
Run eddblink plugin with clean option.
For some reason TD isn't marking that field as unique even though it should be. Hmmm...
Apparently it's something wrong with the exportTableToFile method in TD.
Found why:
def getUniqueIndex(conn, tableName):
""" return the first unique index """
idxCursor = conn.cursor()
unqIndex = []
for idxRow in idxCursor.execute("PRAGMA index_list('%s')" % tableName):
if idxRow['unique']:
# it's a unique index
unqCursor = conn.cursor()
for unqRow in unqCursor.execute("PRAGMA index_info('%s')" % idxRow['name']):
unqIndex.append(unqRow['name'])
return unqIndex <--- This is the problem.
return unqIndex
It specifically states that it returns just the first unique index.
No need to update listener. Need to update TD and do any run that will re-export the Item.csv list- so '-O force,item' is the minimum.
Updated TD for the new stuff (EDDB v6 et al) and listener barfed: