dilshod/xlsx2csv — Issue #10: issue with empty start row
Author: iphony
Created: 2012-02-13 09:10:47+00:00
State: open

Hi,

The parser seems to turn into troubles with xlsx files with empty row 1.
It returns:
>>...
>> self.colNum = cellId[:len(cellId)-len(self.rowNum)]
>>TypeError: object of type 'NoneType' has no len()

Without success, I tried to fix it by "ignoring" the cell with NoneType and go on with empty value, but this makes the data in following rows to be missing in the CSV output.

It only happens if the input XLSX has an entirely empty row 1.

Do you have an idea how to deal with this issue?

Thanks for help and thanks for the great .py!