getting an index out of range error when ingesting...
# integrate-tableau-datahub
e
getting an index out of range error when ingesting a workbook from a specific project:
Copy code
myuser@PEI6433:~/projects/datahub (master #%)$ datahub --debug ingest -c tableau-patrick.yml
[2022-02-10 09:11:29,272] DEBUG    {datahub.cli.ingest_cli:70} - DataHub CLI version: 0.8.26.1
[...SNIP...]
    pipeline.run()
File "/home/myuser/.local/share/virtualenvs/datahub-uFRi8XjQ/lib/python3.8/site-packages/datahub/ingestion/run/pipeline.py", line 181, in run
    for wu in itertools.islice(
File "/home/myuser/.local/share/virtualenvs/datahub-uFRi8XjQ/lib/python3.8/site-packages/datahub/ingestion/source/tableau.py", line 807, in get_workunits
    yield from self.emit_workbooks(10)
File "/home/myuser/.local/share/virtualenvs/datahub-uFRi8XjQ/lib/python3.8/site-packages/datahub/ingestion/source/tableau.py", line 197, in emit_workbooks
    yield from self.emit_sheets_as_charts(workbook)
File "/home/myuser/.local/share/virtualenvs/datahub-uFRi8XjQ/lib/python3.8/site-packages/datahub/ingestion/source/tableau.py", line 651, in emit_sheets_as_charts
    dashboard_path = sheet.get("containedInDashboards")[0].get("path", "")

IndexError: list index out of range
myuser@PEI6433:~/projects/datahub (master #%)$
e
I think I found the cause - by chance do you have hidden worksheets OR worksheets only used for viz-in-tooltip?