server-client-python icon indicating copy to clipboard operation
server-client-python copied to clipboard

Datasource / Workbook downloaded doesn't have spaces in filenames

Open swaroop4593 opened this issue 1 year ago • 3 comments

I'm using python 3.9 , tableauserverclient = v0.26 to download a datasource named "Athena datasource.tdsx"

But the downloaded file has the name "Athenadatasource.tdsx" without spaces.

Code: server.datasources.download(ds.id, output_dir, include_extract=False)

swaroop4593 avatar Aug 24 '23 21:08 swaroop4593

Confirm having the same issue after I upgraded Tableau Server from v2022.1.14 to v2022.1.20 (to get the security patch at v2022.1.19), was using the API successfully all throughout last week until the upgrade on Friday and been failing since due to whitespaces been stripped from the downloaded datasource file names, haven't tested workbooks I assume same applies.

tableauserverclient==0.15.0 Python 3.6.9

Datasources before

'DS BI Applications.tdsx' 'DS BI Bundle Enrollments.tdsx' 'DS BI Certificate Enrollments.tdsx' 'DS BI Conference Enrollments.tdsx' 'DS BI Course Section Enrollments.tdsx' 'DS BI Facilities.tdsx' 'DS BI Instructors.tdsx' 'DS BI Program Offering Enrollments.tdsx' 'DS BI Revenue.tdsx'

Datasources current

DSBIApplications.tdsx DSBIBundleEnrollments.tdsx DSBICertificateEnrollments.tdsx DSBIConferenceEnrollments.tdsx DSBICourseSectionEnrollments.tdsx DSBIFacilities.tdsx DSBIInstructors.tdsx DSBIProgramOfferingEnrollments.tdsx DSBIRevenue.tdsx

Cristian-CATO avatar Jan 31 '24 19:01 Cristian-CATO

I have the same issue as well. Is there a fix in place to get the spaces back?

annamalaikasi avatar Feb 05 '24 14:02 annamalaikasi

I noticed the same issue when I upgraded tableau server client to 0.31. I was able to fix things on my end by downgrading to 0.30. I'm on Tableau Server 2023.1.11 (20231.24.0312.1557).

bshea5 avatar Jul 18 '24 19:07 bshea5

Tested with v0.33 and the issue appears to be resolved.

jorwoods avatar Oct 01 '24 16:10 jorwoods