I am getting this message when writing to an excel file using xlwt:
row index (u'RN') not an int in range(65536)
The line throwing the error come from here:
sheet.write(x,fieldKey, row.OBJECTID)
Where x
is a counter I set to set the row value and fieldKey
is another counter to set the column value.
I don't know why I am getting this message because the value (u'RN') is a string value, but it's telling me that it is not an int in range(65536). I believe the range(65536) is the limit of the excel table. Again, I was only writing 18 records, so I don't see why this error came up. Can anyone help?
Thanks, Mike