Read the Docs build information Build id: 288981 Project: espressif-esp-rainmaker Version: latest Commit: a377bc3cbf8d6ade3f27aaffbde505a3a0cc7ef0 Date: 2020-02-14T05:59:58.926128Z State: finished Success: False [rtd-command-info] start-time: 2020-02-14T06:00:01.380932Z, end-time: 2020-02-14T06:00:01.689916Z, duration: 0, exit-code: 0 git remote set-url origin git@github.com:espressif/esp-rainmaker.git [rtd-command-info] start-time: 2020-02-14T06:00:01.867050Z, end-time: 2020-02-14T06:00:03.959661Z, duration: 2, exit-code: 0 git fetch origin --force --tags --prune --prune-tags --depth 50 Warning: Permanently added 'github.com,192.30.255.112' (RSA) to the list of known hosts. [rtd-command-info] start-time: 2020-02-14T06:00:04.218561Z, end-time: 2020-02-14T06:00:04.559871Z, duration: 0, exit-code: 0 git checkout --force origin/test/read-the-docs Previous HEAD position was 030a59d Initial commit HEAD is now at a377bc3 Merge branch 'cli/command_node_status' into 'release/alpha' [rtd-command-info] start-time: 2020-02-14T06:00:04.621764Z, end-time: 2020-02-14T06:00:04.927193Z, duration: 0, exit-code: 0 git clean -d -f -f [rtd-command-info] start-time: 2020-02-14T06:00:06.268868Z, end-time: 2020-02-14T06:00:12.129530Z, duration: 5, exit-code: 0 python3.7 -mvirtualenv --no-site-packages Using base prefix '/home/docs/.pyenv/versions/3.7.3' New python executable in /home/docs/checkouts/readthedocs.org/user_builds/espressif-esp-rainmaker/envs/latest/bin/python3.7 Also creating executable in /home/docs/checkouts/readthedocs.org/user_builds/espressif-esp-rainmaker/envs/latest/bin/python Installing setuptools, pip, wheel... done. [rtd-command-info] start-time: 2020-02-14T06:00:12.284713Z, end-time: 2020-02-14T06:00:13.291892Z, duration: 1, exit-code: 0 python -m pip install --upgrade --cache-dir /home/docs/checkouts/readthedocs.org/user_builds/espressif-esp-rainmaker/.cache/pip pip Requirement already up-to-date: pip in /home/docs/checkouts/readthedocs.org/user_builds/espressif-esp-rainmaker/envs/latest/lib/python3.7/site-packages (20.0.2) [rtd-command-info] start-time: 2020-02-14T06:00:13.350379Z, end-time: 2020-02-14T06:00:25.711671Z, duration: 12, exit-code: 0 python -m pip install --upgrade --cache-dir /home/docs/checkouts/readthedocs.org/user_builds/espressif-esp-rainmaker/.cache/pip Pygments==2.3.1 setuptools==41.0.1 docutils==0.14 mock==1.0.1 pillow==5.4.1 alabaster>=0.7,<0.8,!=0.7.5 commonmark==0.8.1 recommonmark==0.5.0 sphinx<2 sphinx-rtd-theme<0.5 readthedocs-sphinx-ext<1.1 Collecting Pygments==2.3.1 Downloading Pygments-2.3.1-py2.py3-none-any.whl (849 kB) Collecting setuptools==41.0.1 Downloading setuptools-41.0.1-py2.py3-none-any.whl (575 kB) Collecting docutils==0.14 Downloading docutils-0.14-py3-none-any.whl (543 kB) Collecting mock==1.0.1 Downloading mock-1.0.1.tar.gz (818 kB) Collecting pillow==5.4.1 Downloading Pillow-5.4.1-cp37-cp37m-manylinux1_x86_64.whl (2.0 MB) Collecting alabaster!=0.7.5,<0.8,>=0.7 Downloading alabaster-0.7.12-py2.py3-none-any.whl (14 kB) Collecting commonmark==0.8.1 Downloading commonmark-0.8.1-py2.py3-none-any.whl (47 kB) Collecting recommonmark==0.5.0 Downloading recommonmark-0.5.0-py2.py3-none-any.whl (9.8 kB) Collecting sphinx<2 Downloading Sphinx-1.8.5-py2.py3-none-any.whl (3.1 MB) Collecting sphinx-rtd-theme<0.5 Downloading sphinx_rtd_theme-0.4.3-py2.py3-none-any.whl (6.4 MB) Collecting readthedocs-sphinx-ext<1.1 Downloading readthedocs_sphinx_ext-1.0.1-py2.py3-none-any.whl (14 kB) Collecting future Downloading future-0.18.2.tar.gz (829 kB) Collecting Jinja2>=2.3 Downloading Jinja2-2.11.1-py2.py3-none-any.whl (126 kB) Collecting six>=1.5 Downloading six-1.14.0-py2.py3-none-any.whl (10 kB) Collecting babel!=2.0,>=1.3 Downloading Babel-2.8.0-py2.py3-none-any.whl (8.6 MB) Collecting packaging Downloading packaging-20.1-py2.py3-none-any.whl (36 kB) Collecting requests>=2.0.0 Downloading requests-2.22.0-py2.py3-none-any.whl (57 kB) Collecting imagesize Downloading imagesize-1.2.0-py2.py3-none-any.whl (4.8 kB) Collecting snowballstemmer>=1.1 Downloading snowballstemmer-2.0.0-py2.py3-none-any.whl (97 kB) Collecting sphinxcontrib-websupport Downloading sphinxcontrib_websupport-1.2.0-py2.py3-none-any.whl (39 kB) Collecting MarkupSafe>=0.23 Downloading MarkupSafe-1.1.1-cp37-cp37m-manylinux1_x86_64.whl (27 kB) Collecting pytz>=2015.7 Downloading pytz-2019.3-py2.py3-none-any.whl (509 kB) Collecting pyparsing>=2.0.2 Downloading pyparsing-2.4.6-py2.py3-none-any.whl (67 kB) Collecting idna<2.9,>=2.5 Downloading idna-2.8-py2.py3-none-any.whl (58 kB) Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 Downloading urllib3-1.25.8-py2.py3-none-any.whl (125 kB) Collecting certifi>=2017.4.17 Downloading certifi-2019.11.28-py2.py3-none-any.whl (156 kB) Collecting chardet<3.1.0,>=3.0.2 Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB) Building wheels for collected packages: mock, future Building wheel for mock (setup.py): started Building wheel for mock (setup.py): finished with status 'done' Created wheel for mock: filename=mock-1.0.1-py3-none-any.whl size=23754 sha256=36e5cc685a94b625c225458c9670e27eb25e708e48002e4f20f3577d597a9807 Stored in directory: /home/docs/checkouts/readthedocs.org/user_builds/espressif-esp-rainmaker/.cache/pip/wheels/16/03/37/f0a64ab894c9102906f192db1a4071b7592292ad661563c69b Building wheel for future (setup.py): started Building wheel for future (setup.py): finished with status 'done' Created wheel for future: filename=future-0.18.2-py3-none-any.whl size=491058 sha256=f75a8d02c04f828229a1504c5873d335f64d0412850e205e80895bdbbf8e97ee Stored in directory: /home/docs/checkouts/readthedocs.org/user_builds/espressif-esp-rainmaker/.cache/pip/wheels/56/b0/fe/4410d17b32f1f0c3cf54cdfb2bc04d7b4b8f4ae377e2229ba0 Successfully built mock future Installing collected packages: Pygments, setuptools, docutils, mock, pillow, alabaster, future, commonmark, MarkupSafe, Jinja2, six, pytz, babel, pyparsing, packaging, idna, urllib3, certifi, chardet, requests, imagesize, snowballstemmer, sphinxcontrib-websupport, sphinx, recommonmark, sphinx-rtd-theme, readthedocs-sphinx-ext Attempting uninstall: setuptools Found existing installation: setuptools 45.2.0 Uninstalling setuptools-45.2.0: Successfully uninstalled setuptools-45.2.0 Successfully installed Jinja2-2.11.1 MarkupSafe-1.1.1 Pygments-2.3.1 alabaster-0.7.12 babel-2.8.0 certifi-2019.11.28 chardet-3.0.4 commonmark-0.8.1 docutils-0.14 future-0.18.2 idna-2.8 imagesize-1.2.0 mock-1.0.1 packaging-20.1 pillow-5.4.1 pyparsing-2.4.6 pytz-2019.3 readthedocs-sphinx-ext-1.0.1 recommonmark-0.5.0 requests-2.22.0 setuptools-41.0.1 six-1.14.0 snowballstemmer-2.0.0 sphinx-1.8.5 sphinx-rtd-theme-0.4.3 sphinxcontrib-websupport-1.2.0 urllib3-1.25.8 [rtd-command-info] start-time: 2020-02-14T06:00:26.392492Z, end-time: 2020-02-14T06:00:26.699254Z, duration: 0, exit-code: 0 cat docs/sphinx/en/conf.py # -*- coding: utf-8 -*- # # English Language RTD & Sphinx config file # # Uses ../conf_common.py for most non-language-specific settings. # Importing conf_common adds all the non-language-specific # parts to this conf module import sys import os from subprocess import call sys.path.insert(0, os.path.abspath('..')) from conf_common import * # noqa: F401, F403 - need to make available everything from common from local_util import download_file_if_missing # noqa: E402 - need to import from common folder call(['cp','../../../get-started.md', 'get-started/get-started.md']) call(['cp','../../../cli-setup.md', 'get-started/cli-setup.md']) call(['cp','../../../firmware-dev.md', 'get-started/firmware-dev.md']) call(['cp','../../../sample-node-config.md', 'get-started/sample-node-config.md']) call(['cp','../../../ui-elements.md', 'get-started/ui-elements.md']) # General information about the project. project = u'ESP RainMaker Programming Guide' copyright = u'2020, Espressif Systems (Shanghai) CO., LTD' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. language = 'en' # Download font file that is stored on a separate server to save on esp-idf repository size. print("Downloading font file") download_file_if_missing('https://dl.espressif.com/dl/esp-idf/docs/_static/DejaVuSans.ttf', '../_static') # Set up font for blockdiag, nwdiag, rackdiag and packetdiag blockdiag_fontpath = '../_static/DejaVuSans.ttf' seqdiag_fontpath = '../_static/DejaVuSans.ttf' actdiag_fontpath = '../_static/DejaVuSans.ttf' nwdiag_fontpath = '../_static/DejaVuSans.ttf' rackdiag_fontpath = '../_static/DejaVuSans.ttf' packetdiag_fontpath = '../_static/DejaVuSans.ttf' ########################################################################### # auto-created readthedocs.org specific configuration # ########################################################################### # # The following code was added during an automated build on readthedocs.org # It is auto created and injected for every build. The result is based on the # conf.py.tmpl file found in the readthedocs.org codebase: # https://github.com/rtfd/readthedocs.org/blob/master/readthedocs/doc_builder/templates/doc_builder/conf.py.tmpl # import importlib import sys import os.path from six import string_types from sphinx import version_info # Get suffix for proper linking to GitHub # This is deprecated in Sphinx 1.3+, # as each page can have its own suffix if globals().get('source_suffix', False): if isinstance(source_suffix, string_types): SUFFIX = source_suffix elif isinstance(source_suffix, (list, tuple)): # Sphinx >= 1.3 supports list/tuple to define multiple suffixes SUFFIX = source_suffix[0] elif isinstance(source_suffix, dict): # Sphinx >= 1.8 supports a mapping dictionary for multiple suffixes SUFFIX = list(source_suffix.keys())[0] # make a ``list()`` for py2/py3 compatibility else: # default to .rst SUFFIX = '.rst' else: SUFFIX = '.rst' # Add RTD Static Path. Add to the end because it overwrites previous files. if not 'html_static_path' in globals(): html_static_path = [] if os.path.exists('_static'): html_static_path.append('_static') # Add RTD Theme only if they aren't overriding it already using_rtd_theme = ( ( 'html_theme' in globals() and html_theme in ['default'] and # Allow people to bail with a hack of having an html_style 'html_style' not in globals() ) or 'html_theme' not in globals() ) if using_rtd_theme: theme = importlib.import_module('sphinx_rtd_theme') html_theme = 'sphinx_rtd_theme' html_style = None html_theme_options = {} if 'html_theme_path' in globals(): html_theme_path.append(theme.get_html_theme_path()) else: html_theme_path = [theme.get_html_theme_path()] if globals().get('websupport2_base_url', False): websupport2_base_url = 'https://readthedocs.com/websupport' websupport2_static_url = 'https://media.readthedocs.com/' #Add project information to the template context. context = { 'using_theme': using_rtd_theme, 'html_theme': html_theme, 'current_version': "latest", 'version_slug': "latest", 'MEDIA_URL': "https://media.readthedocs.com/media/", 'STATIC_URL': "https://media.readthedocs.com/", 'PRODUCTION_DOMAIN': "readthedocs.com", 'versions': [ ], 'downloads': [ ("pdf", "//espressif-esp-rainmaker.readthedocs-hosted.com/_/downloads/en/latest/pdf/"), ("html", "//espressif-esp-rainmaker.readthedocs-hosted.com/_/downloads/en/latest/htmlzip/"), ("epub", "//espressif-esp-rainmaker.readthedocs-hosted.com/_/downloads/en/latest/epub/"), ], 'subprojects': [ ], 'slug': 'espressif-esp-rainmaker', 'name': u'esp-rainmaker', 'rtd_language': u'en', 'programming_language': u'c', 'canonical_url': 'https://espressif-esp-rainmaker.readthedocs-hosted.com/en/latest/', 'analytics_code': 'None', 'single_version': False, 'conf_py_path': '/docs/sphinx/en/', 'api_host': 'https://readthedocs.com', 'proxied_api_host': '/_', 'github_user': 'espressif', 'github_repo': 'esp-rainmaker', 'github_version': 'test/read-the-docs', 'display_github': True, 'bitbucket_user': 'None', 'bitbucket_repo': 'None', 'bitbucket_version': 'test/read-the-docs', 'display_bitbucket': False, 'gitlab_user': 'None', 'gitlab_repo': 'None', 'gitlab_version': 'test/read-the-docs', 'display_gitlab': False, 'READTHEDOCS': True, 'using_theme': (html_theme == "default"), 'new_theme': (html_theme == "sphinx_rtd_theme"), 'source_suffix': SUFFIX, 'ad_free': False, 'user_analytics_code': '', 'global_analytics_code': 'UA-17997319-2', 'commit': 'a377bc3c', } if 'html_context' in globals(): html_context.update(context) else: html_context = context # Add custom RTD extension if 'extensions' in globals(): # Insert at the beginning because it can interfere # with other extensions. # See https://github.com/rtfd/readthedocs.org/pull/4054 extensions.insert(0, "readthedocs_ext.readthedocs") else: extensions = ["readthedocs_ext.readthedocs"] # Add External version warning banner to the external version documentation if 'branch' == 'external': extensions.insert(1, "readthedocs_ext.external_version_warning") project_language = 'en' # User's Sphinx configurations language_user = globals().get('language', None) latex_engine_user = globals().get('latex_engine', None) latex_elements_user = globals().get('latex_elements', None) # Remove this once xindy gets installed in Docker image and XINDYOPS # env variable is supported # https://github.com/rtfd/readthedocs-docker-images/pull/98 latex_use_xindy = False chinese = any([ language_user in ('zh_CN', 'zh_TW'), project_language in ('zh_CN', 'zh_TW'), ]) japanese = any([ language_user == 'ja', project_language == 'ja', ]) if chinese: latex_engine = latex_engine_user or 'xelatex' latex_elements_rtd = { 'preamble': '\\usepackage[UTF8]{ctex}\n', } latex_elements = latex_elements_user or latex_elements_rtd elif japanese: latex_engine = latex_engine_user or 'platex' [rtd-command-info] start-time: 2020-02-14T06:00:26.760410Z, end-time: 2020-02-14T06:00:28.039185Z, duration: 1, exit-code: 2 python sphinx-build -T -b readthedocs -d _build/doctrees-readthedocs -D language=en . _build/html Running Sphinx v1.8.5 warning: tag INPUT: input source `../../../components/esp_rainmaker_agent/include/esp_ra.h' does not exist warning: tag INPUT: input source `../../../components/esp_rainmaker_agent/utils/include/esp_ra_user_mapping.h' does not exist warning: tag INPUT: input source `../../../components/esp_rainmaker_agent/utils/include/esp_ra_storage.h' does not exist Getting Doxyfile's INPUT Generating 'api_name.inc' files with Doxygen directives Traceback (most recent call last): File "../gen-dxd.py", line 318, in generate_api_inc_files() File "../gen-dxd.py", line 276, in generate_api_inc_files rst_output = generate_directives(header_file_path) File "../gen-dxd.py", line 248, in generate_directives tree = ET.ElementTree(file=xml_file_path) File "/home/docs/.pyenv/versions/3.7.3/lib/python3.7/xml/etree/ElementTree.py", line 558, in __init__ self.parse(file) File "/home/docs/.pyenv/versions/3.7.3/lib/python3.7/xml/etree/ElementTree.py", line 587, in parse source = open(source, "rb") FileNotFoundError: [Errno 2] No such file or directory: 'xml/esp__ra_8h.xml' Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/espressif-esp-rainmaker/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 368, in eval_config_file execfile_(filename, namespace) File "/home/docs/checkouts/readthedocs.org/user_builds/espressif-esp-rainmaker/envs/latest/lib/python3.7/site-packages/sphinx/util/pycompat.py", line 150, in execfile_ exec_(code, _globals) File "/home/docs/checkouts/readthedocs.org/user_builds/espressif-esp-rainmaker/checkouts/latest/docs/sphinx/en/conf.py", line 13, in from conf_common import * # noqa: F401, F403 - need to make available everything from common File "/home/docs/checkouts/readthedocs.org/user_builds/espressif-esp-rainmaker/checkouts/latest/docs/sphinx/conf_common.py", line 61, in call_with_python('../gen-dxd.py') File "/home/docs/checkouts/readthedocs.org/user_builds/espressif-esp-rainmaker/checkouts/latest/docs/sphinx/conf_common.py", line 48, in call_with_python raise RuntimeError('{} failed'.format(cmd)) RuntimeError: ../gen-dxd.py failed During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/espressif-esp-rainmaker/envs/latest/lib/python3.7/site-packages/sphinx/cmd/build.py", line 303, in build_main args.tags, args.verbosity, args.jobs, args.keep_going) File "/home/docs/checkouts/readthedocs.org/user_builds/espressif-esp-rainmaker/envs/latest/lib/python3.7/site-packages/sphinx/application.py", line 201, in __init__ self.config = Config.read(self.confdir, confoverrides or {}, self.tags) File "/home/docs/checkouts/readthedocs.org/user_builds/espressif-esp-rainmaker/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 203, in read namespace = eval_config_file(filename, tags) File "/home/docs/checkouts/readthedocs.org/user_builds/espressif-esp-rainmaker/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 380, 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/docs/checkouts/readthedocs.org/user_builds/espressif-esp-rainmaker/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 368, in eval_config_file execfile_(filename, namespace) File "/home/docs/checkouts/readthedocs.org/user_builds/espressif-esp-rainmaker/envs/latest/lib/python3.7/site-packages/sphinx/util/pycompat.py", line 150, in execfile_ exec_(code, _globals) File "/home/docs/checkouts/readthedocs.org/user_builds/espressif-esp-rainmaker/checkouts/latest/docs/sphinx/en/conf.py", line 13, in from conf_common import * # noqa: F401, F403 - need to make available everything from common File "/home/docs/checkouts/readthedocs.org/user_builds/espressif-esp-rainmaker/checkouts/latest/docs/sphinx/conf_common.py", line 61, in call_with_python('../gen-dxd.py') File "/home/docs/checkouts/readthedocs.org/user_builds/espressif-esp-rainmaker/checkouts/latest/docs/sphinx/conf_common.py", line 48, in call_with_python raise RuntimeError('{} failed'.format(cmd)) RuntimeError: ../gen-dxd.py failed Configuration error: There is a programmable error in your configuration file: Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/espressif-esp-rainmaker/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 368, in eval_config_file execfile_(filename, namespace) File "/home/docs/checkouts/readthedocs.org/user_builds/espressif-esp-rainmaker/envs/latest/lib/python3.7/site-packages/sphinx/util/pycompat.py", line 150, in execfile_ exec_(code, _globals) File "/home/docs/checkouts/readthedocs.org/user_builds/espressif-esp-rainmaker/checkouts/latest/docs/sphinx/en/conf.py", line 13, in from conf_common import * # noqa: F401, F403 - need to make available everything from common File "/home/docs/checkouts/readthedocs.org/user_builds/espressif-esp-rainmaker/checkouts/latest/docs/sphinx/conf_common.py", line 61, in call_with_python('../gen-dxd.py') File "/home/docs/checkouts/readthedocs.org/user_builds/espressif-esp-rainmaker/checkouts/latest/docs/sphinx/conf_common.py", line 48, in call_with_python raise RuntimeError('{} failed'.format(cmd)) RuntimeError: ../gen-dxd.py failed Calling Doxygen to generate latest XML files