xfile - Issue opening a .twbx containing custom geocoding
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 55/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Python
- Star
- 363
- Fork
- 183
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của tableau/document-api-python
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
tableau/document-api-python#270 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
tableau/document-api-python#260 ·
-
docs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 55/100
tableau/document-api-python#258 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
tableau/document-api-python#251 · 2 bình luận ·
-
Alternative for Document Api Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
tableau/document-api-python#250 · 2 bình luận ·
Tất cả issue của tableau/document-api-python
Issue tương tự
-
essnmx good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
-
[Feature] 奇物选择添加优先级 Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
syfoud/Simulated_Scepter#174 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Giskard-AI/giskard-oss#2840 · 1 bình luận ·
-
A claim comment carrying the issue number is silently declined while the workflow reports success Đang mởarea: repo bug perceived difficulty: 2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
yeti-platform/yeti#1380 ·