/

list index out of range in _get_pandoc_urls (original) (raw)

Traceback (most recent call last): File "/tmp/runner/build-docs/lib/python3.8/site-packages/sphinx/config.py", line 347, in eval_config_file exec(code, namespace) File "/home/runner/work///docs/source/conf.py", line 37, in download_pandoc( File "/tmp/runner/build-docs/lib/python3.8/site-packages/pypandoc/pandoc_download.py", line 228, in download_pandoc pandoc_urls, _ = _get_pandoc_urls(version) File "/tmp/runner/build-docs/lib/python3.8/site-packages/pypandoc/pandoc_download.py", line 57, in _get_pandoc_urls version = pandoc_urls_list[0].split('/')[5] IndexError: list index out of range

Seems like the logic to load the releases/ page has an empty list of URLs since it takes some time to load the URLs. This needs to be fixed ASAP as it breaks the use of pypandoc in all existing pipelines.