loud-librarian-93625
05/10/2023, 1:29 PMdatahub ingest -c 'C:\Users\matt.evans\.datahub\tableau\tableau.dhub.yaml' --dry-run
but am getting the following error
File "C:\Users\matt.evans\AppData\Local\Programs\Python\Python310\lib\site-packages\datahub\configuration\config_loader.py", line 101, in load_config_file
raise ConfigurationError(
datahub.configuration.common.ConfigurationError: Cannot read remote file C:\Users\matt.evans\.datahub\tableau\tableau.dhub.yaml, error:No connection adapters were found for 'C:\\Users\\matt.evans\\.datahub\\tableau\\tableau.dhub.yaml'
Any idea what I'm doing wrong? Seems to be something in the yaml file it doesn't like.lively-cat-88289
05/10/2023, 1:29 PMloud-librarian-93625
05/10/2023, 1:30 PMloud-librarian-93625
05/10/2023, 1:31 PMhundreds-photographer-13496
05/11/2023, 5:47 AMpip install acryl-datahub==0.10.2.3rc7
or older cli version pip install acryl-datahub==v0.10.1
This is same issue as was the root cause hereloud-librarian-93625
05/12/2023, 8:48 AMFailed to find a registered source for type tableau: 'str' object is not callable
0.10.1 - seems to work better but keeps saying my token has expired. I don't think this is the case as it's a new token, i have also regenerated it several times and the user has the correct permissions. Could it be there's a problem with my yaml file? In particular i see some examples online where strings are in quotes and some without. What is the correct way to add the token to the yaml file?
output
β[32mβ[2m[2023-05-12 09:46:10,287]β[0m INFO β[0m β[34mβ[2m{datahub.cli.ingest_cli:173}β[0m - DataHub CLI version: 0.10.1β[0m
β[32mβ[2m[2023-05-12 09:46:10,342]β[0m INFO β[0m β[34mβ[2m{datahub.ingestion.run.pipeline:184}β[0m - Sink configured successfully. β[0m
β[32mβ[2m[2023-05-12 09:46:10,781]β[0m INFO β[0m β[34mβ[2m{TSC.server:179}β[0m - versions: 3.19, 2.4β[0m
β[32mβ[2m[2023-05-12 09:46:10,839]β[0m INFO β[0m β[34mβ[2m{datahub.ingestion.source.tableau:220}β[0m - Error authenticating with Tableau. Note that Tableau personal access tokens expire if not used for 15 days or if over 1 year oldβ[0m
β[32mβ[2m[2023-05-12 09:46:10,839]β[0m INFO β[0m β[34mβ[2m{datahub.ingestion.run.pipeline:201}β[0m - Source configured successfully.β[0m
β[32mβ[2m[2023-05-12 09:46:10,849]β[0m INFO β[0m β[34mβ[2m{datahub.cli.ingest_cli:129}β[0m - Starting metadata ingestionβ[0m
-β[32mβ[2m[2023-05-12 09:46:10,850]β[0m INFO β[0m β[34mβ[2m{datahub.cli.ingest_cli:142}β[0m - Finished metadata ingestionβ[0m
/
Cli report:
{'cli_version': '0.10.1',
'cli_entry_location': 'C:\\Users\\matt.evans\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\datahub\\__init__.py',
'py_version': '3.10.0 (tags/v3.10.0:b494f59, Oct 4 2021, 19:00:18) [MSC v.1929 64 bit (AMD64)]',
'py_exec_path': 'C:\\Users\\matt.evans\\AppData\\Local\\Programs\\Python\\Python310\\python.exe',
'os_details': 'Windows-10-10.0.19045-SP0',
'peak_memory_usage': '65.28 MB',
'mem_info': '65.28 MB'}
Source (tableau) report:
{'events_produced': 0,
'events_produced_per_sec': 0,
'entities': {},
'aspects': {},
'warnings': {},
'failures': {'tableau-login': ['Unable to login (invalid/expired credentials or missing permissions): \n\n\t401001: Signin Error\n\t\tThe personal access token you provided is invalid.']},
'soft_deleted_stale_entities': [],
'start_time': '2023-05-12 09:46:10.587409 (now)',
'running_time': '0.6 seconds'}
Sink (file) report:
{'total_records_written': 0,
'records_written_per_second': 0,
'warnings': [],
'failures': [],
'start_time': '2023-05-12 09:46:10.340383 (now)',
'current_time': '2023-05-12 09:46:11.187892 (now)',
'total_duration_in_seconds': 0.85}
Pipeline finished with at least 1 failures; produced 0 events in 0.6 seconds.
aloof-gpu-11378
05/15/2023, 6:33 AM0.10.2.3rc7 - gives the errorthat's quite odd. Can you please try using the latest datahub version if this is still the case -Failed to find a registered source for type tableau: 'str' object is not callable
pip install acryl-datahub==0.10.2.3
0.10.1 - seems to work better but keeps saying my token has expired.How did you generate the token. Did you follow the steps as mentioned here - https://help.tableau.com/current/pro/desktop/en-us/useracct.htm#create-and-revoke-personal-access-tokens I would also request you to double check if you are using the correct "site".