tableau_tools icon indicating copy to clipboard operation
tableau_tools copied to clipboard

update_datasource_connection_by_luid RecursionError

Open aaronmott opened this issue 5 years ago • 1 comments

Version 5.1.0 OS - Mac OS 10.15.2 Python 3.7.5 64bit

TableauRestApiConnection31.update_datasource_connection_by_luid throws the following when trying to update the datasource connection: Traceback (most recent call last): File "tab-deploy-by-app.py", line 304, in <module> datasource_luid=publishResult, new_server_address=newDBAddress, new_connection_username=username, new_connection_password=password File "/usr/local/lib/python3.7/site-packages/tableau_tools/tableau_rest_api/methods/datasource.py", line 128, in update_datasource_connection_by_luid tsr = self.__build_connection_update_xml(new_server_address, new_server_port, File "/usr/local/lib/python3.7/site-packages/tableau_tools/tableau_rest_api/methods/workbook.py", line 10, in __getattr__ return getattr(self.rest_api_base, attr) File "/usr/local/lib/python3.7/site-packages/tableau_tools/tableau_rest_api/methods/workbook.py", line 10, in __getattr__ return getattr(self.rest_api_base, attr) File "/usr/local/lib/python3.7/site-packages/tableau_tools/tableau_rest_api/methods/workbook.py", line 10, in __getattr__ return getattr(self.rest_api_base, attr) [Previous line repeated 330 more times] RecursionError: maximum recursion depth exceeded while calling a Python object

aaronmott avatar Jan 08 '20 20:01 aaronmott

Hi Aaron, can you check and see if the latest versions correct this issue?

bryanthowell-tableau avatar Mar 05 '20 17:03 bryanthowell-tableau