Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Datasource XML parsing failure when missing owner or project element #1704

Copy link
Copy link
@jorwoods

Description

@jorwoods
Issue body actions

Describe the bug
If the datasource XML is missing the owner or project elements in the XML response, parsing fails due to an UnboundLocalError

Versions
Details of your environment, including:

  • Tableau Server version (or note if using Tableau Online) Any
  • Python version Any
  • TSC library version v0.38

To Reproduce
Query a site that has user visibility limited. Or change the fields requested to not include any owner or project fields.

Results
UnboundLocalError in DatasourceItem.from_xml

NOTE: Be careful not to post user names, passwords, auth tokens or any other private or sensitive information.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.