bryanthowell-tableau / tableau_tools

Package containing Tableau REST API, XML modification, tabcmd and repository tools
Other
215 stars 87 forks source link

update_datasource_connection_by_luid RecursionError #80

Open aaronmott opened 4 years ago

aaronmott commented 4 years ago

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

bryanthowell-tableau commented 4 years ago

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