tablib icon indicating copy to clipboard operation
tablib copied to clipboard

`InvalidDimensions` for `.xlsx` file from Google Drive

Open OttoAndrey opened this issue 2 years ago • 0 comments

Hi! I am using django-import-export and downloaded .xlsx file from Google Drive and I've got error about InvalidDimensions. I found this error before in issues https://github.com/jazzband/tablib/issues/465 And recently it was fix for it https://github.com/jazzband/tablib/pull/547 But maybe my problem is different.

tablib==3.5.0 Link to file on google drive

image

I found where error is raising. Interesting that self._data contains three rows (third row is empty thats why it raises error because of is_valid in 248 row of code) but file contains only header and two rows with values.

image

OttoAndrey avatar Sep 08 '23 08:09 OttoAndrey