jazzband / jazzband/tablib

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

Open
#561 0 comments 5 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4.8k
Forks
617
PR merge metrics
No merged PRs in 30d

Description

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](https://docs.google.com/spreadsheets/d/1-0Y0ad15Hl7-zzzVluqTn-iVVvGPFgYt/edit?usp=sharing&ouid=109075832709370910943&rtpof=true&sd=true) 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.