You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I use the tableauserverclient lib to publish data to a Tableau server. I have noticed that the version 0.26 introduced a code to run long requests on second thread#1212. This code has an issue that is causing intermittent request conflicts.
Versions
Python version 3.10
TSC library version 0.26
To Reproduce
Use the method datasources.publish to upload a hyper file to a Tableau server. If you do it multiple times (>10) eventually you will get a generic error that may be Internal Server Error (error code 500000) or Bad Request (error code 400011).
Then this if condition on the line 110 is True and the None is returned. According to the comment inside the if, it should be True only if there is a response to be returned
Describe the bug
I use the tableauserverclient lib to publish data to a Tableau server. I have noticed that the version 0.26 introduced a code to run long requests on second thread #1212. This code has an issue that is causing intermittent request conflicts.
Versions
To Reproduce
Use the method datasources.publish to upload a hyper file to a Tableau server. If you do it multiple times (>10) eventually you will get a generic error that may be Internal Server Error (error code 500000) or Bad Request (error code 400011).
The issue is on the line 80
server-client-python/tableauserverclient/server/endpoint/endpoint.py
Line 80 in 3ec49bc
Then this if condition on the line 110 is True and the None is returned. According to the comment inside the if, it should be True only if there is a response to be returned
server-client-python/tableauserverclient/server/endpoint/endpoint.py
Line 110 in 72eb3c8
According to the initialization done on the method
send_request_while_show_progress_threaded
, the line 80 of this file should beResults
This is the sequence of the current log when the request call conflict happens (with received None):
This is the sequence the log should have (with Waiting....):
The text was updated successfully, but these errors were encountered: