Skip to content

xfile - find_file_in_zip tries to open a non-workbook xml file #117

@itsmarco

Description

@itsmarco

Hello,

I was parsing some packaged workbooks with and I encountered a problem. A .twbx I was trying to open had a bunch of .key files in it, which adhere to some xml structure. The function find_file_in_zip tries to pass this xml file on as a .twb, ultimately raising an tableaudocumentapi.xfile.TableauVersionNotSupportedException: 0.0 error.

The workbook is actually a valid workbook, and ended up not getting parsed. Manually excluding .key files fixed the issue for me.

Cheers,
Marco

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions