tableau / server-client-python

A Python library for the Tableau Server REST API
https://tableau.github.io/server-client-python/
MIT License
655 stars 420 forks source link

Refreshing Datasources results in 409093 EXTRACT_OPERATION_ALREADY_QUEUED #1339

Closed BerndRos closed 7 months ago

BerndRos commented 7 months ago

Describe the bug When refreshing Datasource-Extracts the server response is 409093 (even though the extract operation is not already queued)

Versions Details of your environment, including:

To Reproduce For any datasource: server.datasources.refresh(datasource)

Results What are the results or error messages received? tableauserverclient.server.endpoint.exceptions.ServerResponseError:

409093: Ressourcenkonflikt

(This is German for the Error: EXTRACT_OPERATION_ALREADY_QUEUED)

I can fix this behavior when I set the parameter seconds in \tableauserverclient\server\endpoint\endpoint.py in Line 105 from 0.05 to a higher value, e.g. 0.5

bcantoni commented 7 months ago

@BerndRos I believe I can reproduce this as well. Could you try using the prior TSC library 0.28? I think that might be a workaround until this is fixed.

BerndRos commented 7 months ago

Hey @bcantoni thanks for your comment. We had to move to version 0.29 due to the fix in Commit f42948a. We will just adjust the value of seconds in the installation of 0.29 and wait for the new version.

HendrikZe commented 7 months ago

@bcantoni same issue here. I was able to run my script using 0.28 as a workaround until this is resolved.

bcantoni commented 7 months ago

@BerndRos @HendrikZe we have a new v0.30 release which I believe should fix this: https://github.com/tableau/server-client-python/releases/tag/v0.30

HendrikZe commented 7 months ago

@bcantoni I can confirm that a first test with v0.30 did not throw the error. Will report back if I see it coming up again somewhere else. Thanks!