Bug in sanLinks.py
NingZhangPurdue opened this issue · comments
NingZhangPurdue commented
I confronted with a problem of "int object not iterable" when execute scanLink.py. The exeption is from line 104 and turns out its because (_id) is regarded as int object instead of a tuple with one element.
(_id,) helps solve the problem.
Thx.
MoustafaHussien commented
I was able to solve it changing it to be
if linkBuflen >= 10000:
for temp_id in nsBuffe
cursor.execute("INSERT INTO namespace (id) VALUES ("+str(temp_id)+")")