xfile - Issue opening a .twbx containing custom geocoding
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 55/100
Direzione di ricerca
Start at find_file_in_zip() and inspect how candidate_files handles .twb and .tds entries in a .twbx containing custom geocoding. Reproduce with a workbook archive containing both file types if possible. Done means .tds files are not evaluated as workbooks and the .twbx opens without TableauInvalidFileException.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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:


A suggested fix for this would be to only check for .twb's if the file is a .twb/.twbx.
Cheers,
Marco
- Lingua principale
- Python
- Stelle
- 363
- Fork
- 183
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di tableau/document-api-python
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
tableau/document-api-python#270 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
tableau/document-api-python#260 ·
-
docs
Difficoltà 2/5 1-3 ore Idoneità per principianti 55/100
tableau/document-api-python#258 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
tableau/document-api-python#251 · 2 commenti ·
-
Alternative for Document Api Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
tableau/document-api-python#250 · 2 commenti ·
Tutte le issue di tableau/document-api-python
Issue simili
-
link-check link-check:sphinx-theme
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
qgis/QGIS-Documentation#11275 ·
-
bug priority:normal ready-for-dev
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
OpenHands/extensions#626 · 1 commento ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
CSCfi/sd-search-api#39 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100