Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

readthedocs: 'extensions' is not defined #1200

Closed
@cmaureir

Description

@cmaureir

Por alguna razón, hemos encontradoUPC/ravada#890 en la CI de readthedocs, y actualmente los builds tienen el siguiente error:

% python -m sphinx -T -j auto -E -b html -d _build/doctrees -D language=es . _build/htmlRunning Sphinx v2.2.0Traceback (most recent call last):  File "/home/cmaureir/repos/python-docs-es-admin/venv/lib/python3.9/site-packages/sphinx/config.py", line 361, in eval_config_file    execfile_(filename, namespace)  File "/home/cmaureir/repos/python-docs-es-admin/venv/lib/python3.9/site-packages/sphinx/util/pycompat.py", line 81, in execfile_    exec(code, _globals)  File "/home/cmaureir/repos/python-docs-es-admin/conf.py", line 22, in <module>    from conf import *  File "/home/cmaureir/repos/python-docs-es-admin/conf.py", line 72, in <module>    if extensions:NameError: name 'extensions' is not definedDuring handling of the above exception, another exception occurred:Traceback (most recent call last):  File "/home/cmaureir/repos/python-docs-es-admin/venv/lib/python3.9/site-packages/sphinx/cmd/build.py", line 272, in build_main    app = Sphinx(args.sourcedir, args.confdir, args.outputdir,  File "/home/cmaureir/repos/python-docs-es-admin/venv/lib/python3.9/site-packages/sphinx/application.py", line 210, in __init__    self.config = Config.read(self.confdir, confoverrides or {}, self.tags)  File "/home/cmaureir/repos/python-docs-es-admin/venv/lib/python3.9/site-packages/sphinx/config.py", line 196, in read    namespace = eval_config_file(filename, tags)  File "/home/cmaureir/repos/python-docs-es-admin/venv/lib/python3.9/site-packages/sphinx/config.py", line 371, in eval_config_file    raise ConfigError(msg % traceback.format_exc())sphinx.errors.ConfigError: There is a programmable error in your configuration file:Traceback (most recent call last):  File "/home/cmaureir/repos/python-docs-es-admin/venv/lib/python3.9/site-packages/sphinx/config.py", line 361, in eval_config_file    execfile_(filename, namespace)  File "/home/cmaureir/repos/python-docs-es-admin/venv/lib/python3.9/site-packages/sphinx/util/pycompat.py", line 81, in execfile_    exec(code, _globals)  File "/home/cmaureir/repos/python-docs-es-admin/conf.py", line 22, in <module>    from conf import *  File "/home/cmaureir/repos/python-docs-es-admin/conf.py", line 72, in <module>    if extensions:NameError: name 'extensions' is not definedConfiguration error:There is a programmable error in your configuration file:Traceback (most recent call last):  File "/home/cmaureir/repos/python-docs-es-admin/venv/lib/python3.9/site-packages/sphinx/config.py", line 361, in eval_config_file    execfile_(filename, namespace)  File "/home/cmaureir/repos/python-docs-es-admin/venv/lib/python3.9/site-packages/sphinx/util/pycompat.py", line 81, in execfile_    exec(code, _globals)  File "/home/cmaureir/repos/python-docs-es-admin/conf.py", line 22, in <module>    from conf import *  File "/home/cmaureir/repos/python-docs-es-admin/conf.py", line 72, in <module>    if extensions:NameError: name 'extensions' is not defined

Localmenteextensions está definido, pero por alguna razón no en el CI de readthedocs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp