Skip to content

xfile - Issue opening a .twbx containing custom geocoding #134

Open
@itsmarco

Description

@itsmarco

Hello,

I was trying to open a 9.3 workbook with custom geocoding attached. find_file_in_zip() evaluates .tds files as well as .twb files when opening a .twbx. A .twbx can contain .tds files if it contains custom geocoding.

I'm not quite sure what determines the order of the filenames in candidate_files, but if a .tds happens to end up before a .tdw in the list, the .tds will be evaluated first as a workbook. This raises the TableauInvalidFileException: filename is not a valid 'workbook' file.

I cannot share the workbook (it contains private data), I can share some screenshots of its contents:
image

image

A suggested fix for this would be to only check for .twb's if the file is a .twb/.twbx.

Cheers,
Marco

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions