Add a version check to provide good errors on version incompatibility#59
Add a version check to provide good errors on version incompatibility#59graysonarts merged 4 commits intotableau:developmentfrom graysonarts:58-fix
Conversation
|
what else needs to be done to make this a 'full' fix? |
|
I don't quite know yet. Waiting on the non-8.0 ones that are failing
|
|
Working on some stats to veirfy |
|
Counter({'8.0': 46, '8.2': 2, '8.1': 1, '9.0': 1}) One of the workbooks was 9.0, I'll send that one to @RussTheAerialist to see if it's related or not |
|
Thanks @t8y8 ! I'll either get a fix done this weekend or Monday (depending on how my weekend goes) |
tableaudocumentapi/xml_open.py
Outdated
| MIN_SUPPORTED_VERSION = Version("9.0") | ||
|
|
||
|
|
||
| class VersionNotSupportedException(Exception): |
There was a problem hiding this comment.
TableauFileVersionNotSupported or TableauVersionNotSupported?
|
Btw, the last commit makes this a complete fix for #58 |
|
|
||
| def find_file_in_zip(zip): | ||
| for filename in zip.namelist(): | ||
| def find_file_in_zip(zip_file): |
There was a problem hiding this comment.
This change is because zip is a built-in so we should not use that as a name of the argument.
|
🚀 |
|
🚀 |
|
This is the last fix before 0.2 is cut (unless someone speaks up). I'm going to cut the release in the morning. |
partial fix for #58