Skip to content

BUG: RTD build issue #1301

Description

@bsipocz

This showed up very recently, no obvious reason for it, the PR it showed up in has no relevant changes.

python -m sphinx -T -W --keep-going -b dirhtml -d _build/doctrees -D language=en . $READTHEDOCS_OUTPUT/html
Running Sphinx v9.0.4
loading translations [en]... done
making output directory... done
myst v5.1.0: MdParserConfig(commonmark_only=False, gfm_only=False, enable_extensions={'colon_fence', 'linkify', 'substitution', 'deflist'}, disable_syntax=[], all_links_external=False, links_external_new_tab=False, url_schemes=('http', 'https', 'mailto', 'ftp'), ref_domains=None, fence_as_directive=set(), number_code_blocks=[], title_to_header=False, heading_anchors=3, heading_slug_func=None, html_meta={}, footnote_sort=True, footnote_transition=True, words_per_minute=200, substitutions={}, linkify_fuzzy_links=True, dmath_allow_labels=True, dmath_allow_space=True, dmath_allow_digits=True, dmath_double_inline=False, update_mathjax=True, mathjax_classes='tex2jax_process|mathjax_process|math|output_area', enable_checkboxes=False, strikethrough_single_tilde=False, colon_fence_exact_match=False, suppress_warnings=[], highlight_code_blocks=True)
myst-nb v1.4.0: NbParserConfig(custom_formats={}, metadata_key='mystnb', cell_metadata_key='mystnb', kernel_rgx_aliases={}, eval_name_regex='^[a-zA-Z_][a-zA-Z0-9_]*$', execution_mode='force', execution_cache_path='', execution_excludepatterns=(), execution_timeout=30, execution_in_temp=False, execution_allow_errors=False, execution_raise_on_error=False, execution_show_tb=False, merge_streams=False, render_plugin='default', remove_code_source=False, remove_code_outputs=False, scroll_outputs=False, code_prompt_show='Show code cell {type}', code_prompt_hide='Hide code cell {type}', number_source_lines=False, output_stderr='show', render_text_lexer='myst-ansi', render_error_lexer='ipythontb', render_image_options={}, render_figure_options={}, render_markdown_format='commonmark', output_folder='build', append_css=True, metadata_to_fm=False)
Using jupyter-cache at: /home/docs/checkouts/readthedocs.org/user_builds/executablebookproject/checkouts/latest/_readthedocs/.jupyter_cache
loading intersphinx inventory 'jb' from https://jupyterbook.org/en/latest/objects.inv ...
loading intersphinx inventory 'tc' from https://compass.executablebooks.org/en/latest/objects.inv ...
intersphinx inventory has moved: https://jupyterbook.org/en/latest/objects.inv -> https://jupyter-book.readthedocs.io/v1/objects.inv
building gallery...
Retrieving feature voting issue data...
Extension error!
Versions
========
* Platform:         linux; (Linux-7.0.0-1004-aws-x86_64-with-glibc2.35)
* Python version:   3.11.15 (CPython)
* Sphinx version:   9.0.4
* Docutils version: 0.22.4
* Jinja2 version:   3.1.6
* Pygments version: 2.20.0
Last Messages
=============
None.
Loaded Extensions
=================
None.
Traceback
=========
    Traceback (most recent call last):
      File "/home/docs/checkouts/readthedocs.org/user_builds/executablebookproject/envs/latest/lib/python3.11/site-packages/sphinx/events.py", line 441, in emit
        results.append(listener.handler(self._app, *args))
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/home/docs/checkouts/readthedocs.org/user_builds/executablebookproject/checkouts/latest/docs/conf.py", line 203, in update_feature_votes
        for repo in repos:
    TypeError: 'coroutine' object is not iterable
    
    The above exception was the direct cause of the following exception:
    
    Traceback (most recent call last):
      File "/home/docs/checkouts/readthedocs.org/user_builds/executablebookproject/envs/latest/lib/python3.11/site-packages/sphinx/cmd/build.py", line 414, in build_main
        app = Sphinx(
              ^^^^^^^
      File "/home/docs/checkouts/readthedocs.org/user_builds/executablebookproject/envs/latest/lib/python3.11/site-packages/sphinx/application.py", line 340, in __init__
        self._init_builder()
      File "/home/docs/checkouts/readthedocs.org/user_builds/executablebookproject/envs/latest/lib/python3.11/site-packages/sphinx/application.py", line 430, in _init_builder
        self.events.emit('builder-inited')
      File "/home/docs/checkouts/readthedocs.org/user_builds/executablebookproject/envs/latest/lib/python3.11/site-packages/sphinx/events.py", line 452, in emit
        raise ExtensionError(
    sphinx.errors.ExtensionError: Handler <function update_feature_votes at 0x7e58eec594e0> for event 'builder-inited' threw an exception (exception: 'coroutine' object is not iterable)
The full traceback has been saved in:
/tmp/sphinx-err-8ljfuvn3.log
To report this error to the developers, please open an issue at <https://github.com/sphinx-doc/sphinx/issues/>. Thanks!
Please also report this if it was a user error, so that a better error message can be provided next time.
/home/docs/checkouts/readthedocs.org/user_builds/executablebookproject/envs/latest/lib/python3.11/site-packages/sphinx/cmd/build.py:448: RuntimeWarning: coroutine 'OpFunc.__call__' was never awaited
  return 2
RuntimeWarning: Enable tracemalloc to get the object allocation traceback

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions