Skip to content

Datasource / Workbook downloaded doesn't have spaces in filenames #1274

Closed

Description

@swaroop4593

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)

Activity

  1. Cristian-CATO commented on Jan 31, 2024

    @Cristian-CATO

    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

  2. annamalaikasi commented on Feb 5, 2024

    @annamalaikasi

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

  3. bshea5 commented on Jul 18, 2024

    @bshea5

    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).

  4. jorwoods commented on Oct 1, 2024

    @jorwoods
    Contributor

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

  5. jacalata commented on Jun 18, 2026

    @jacalata
    Contributor

    This was resolved in v0.33 — confirmed by @jorwoods above. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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