issue with empty start row #10

Closed
iphony opened this Issue Feb 13, 2012 · 2 comments

Projects

None yet

2 participants

@iphony
iphony commented Feb 13, 2012

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!

@dilshod
Owner
dilshod commented Feb 13, 2012

hi, can you send me xlsx file?

@dilshod dilshod added a commit that referenced this issue Feb 14, 2012
@dilshod issue #10 fix 528fe66
@iphony
iphony commented Feb 14, 2012

well done!
thanks a lot :-)

@iphony iphony closed this Feb 14, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment