Read the Docs build information Build id: 840714 Project: mdolab-openaerostruct Version: latest Commit: a4f482c2bd09a504d378f144da95cc91053b9f3b Date: 2022-02-01T21:13:45.734168Z State: finished Success: False [rtd-command-info] start-time: 2022-02-01T21:13:48.242667Z, end-time: 2022-02-01T21:13:50.519177Z, duration: 2, exit-code: 0 git clone --no-single-branch --depth 50 https://github.com/mdolab/OpenAeroStruct.git . Cloning into '.'... [rtd-command-info] start-time: 2022-02-01T21:13:50.711321Z, end-time: 2022-02-01T21:13:50.831705Z, duration: 0, exit-code: 0 git checkout --force origin/master Note: checking out 'origin/master'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b HEAD is now at a4f482c Please pass the post-merge build (#374) [rtd-command-info] start-time: 2022-02-01T21:13:51.059511Z, end-time: 2022-02-01T21:13:51.130157Z, duration: 0, exit-code: 0 git clean -d -f -f [rtd-command-info] start-time: 2022-02-01T21:13:52.961336Z, end-time: 2022-02-01T21:13:57.290786Z, duration: 4, exit-code: 0 python3.7 -mvirtualenv Using base prefix '/home/docs/.pyenv/versions/3.7.9' New python executable in /home/docs/checkouts/readthedocs.org/user_builds/mdolab-openaerostruct/envs/latest/bin/python3.7 Also creating executable in /home/docs/checkouts/readthedocs.org/user_builds/mdolab-openaerostruct/envs/latest/bin/python Installing setuptools, pip, wheel... done. [rtd-command-info] start-time: 2022-02-01T21:13:57.463213Z, end-time: 2022-02-01T21:14:00.614250Z, duration: 3, exit-code: 0 python -m pip install --upgrade --no-cache-dir pip<=21.3.1 setuptools<58.3.0 Collecting pip<=21.3.1 Downloading pip-21.3.1-py3-none-any.whl (1.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 33.7 MB/s eta 0:00:00 Collecting setuptools<58.3.0 Downloading setuptools-58.2.0-py3-none-any.whl (946 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 946.1/946.1 KB 233.2 MB/s eta 0:00:00 Installing collected packages: setuptools, pip Attempting uninstall: setuptools Found existing installation: setuptools 60.6.0 Uninstalling setuptools-60.6.0: Successfully uninstalled setuptools-60.6.0 Attempting uninstall: pip Found existing installation: pip 22.0.2 Uninstalling pip-22.0.2: Successfully uninstalled pip-22.0.2 Successfully installed pip-21.3.1 setuptools-58.2.0 [rtd-command-info] start-time: 2022-02-01T21:14:00.805976Z, end-time: 2022-02-01T21:14:09.544203Z, duration: 8, exit-code: 0 python -m pip install --upgrade --no-cache-dir 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 sphinx-rtd-theme readthedocs-sphinx-ext<2.2 Collecting mock==1.0.1 Downloading mock-1.0.1.zip (861 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' 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 Downloading Sphinx-4.4.0-py3-none-any.whl (3.1 MB) Collecting sphinx-rtd-theme Downloading sphinx_rtd_theme-1.0.0-py2.py3-none-any.whl (2.8 MB) Collecting readthedocs-sphinx-ext<2.2 Downloading readthedocs_sphinx_ext-2.1.4-py2.py3-none-any.whl (29 kB) Collecting future Downloading future-0.18.2.tar.gz (829 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting docutils>=0.11 Downloading docutils-0.18.1-py2.py3-none-any.whl (570 kB) Collecting requests>=2.5.0 Downloading requests-2.27.1-py2.py3-none-any.whl (63 kB) Collecting docutils>=0.11 Downloading docutils-0.17.1-py2.py3-none-any.whl (575 kB) Collecting importlib-metadata>=4.4 Downloading importlib_metadata-4.10.1-py3-none-any.whl (17 kB) Collecting babel>=1.3 Downloading Babel-2.9.1-py2.py3-none-any.whl (8.8 MB) Collecting sphinxcontrib-jsmath Downloading sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB) Collecting sphinxcontrib-htmlhelp>=2.0.0 Downloading sphinxcontrib_htmlhelp-2.0.0-py2.py3-none-any.whl (100 kB) Collecting sphinxcontrib-qthelp Downloading sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl (90 kB) Collecting sphinxcontrib-serializinghtml>=1.1.5 Downloading sphinxcontrib_serializinghtml-1.1.5-py2.py3-none-any.whl (94 kB) Collecting Jinja2>=2.3 Downloading Jinja2-3.0.3-py3-none-any.whl (133 kB) Collecting sphinxcontrib-devhelp Downloading sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl (84 kB) Collecting sphinxcontrib-applehelp Downloading sphinxcontrib_applehelp-1.0.2-py2.py3-none-any.whl (121 kB) Collecting imagesize Downloading imagesize-1.3.0-py2.py3-none-any.whl (5.2 kB) Collecting Pygments>=2.0 Downloading Pygments-2.11.2-py3-none-any.whl (1.1 MB) Collecting packaging Downloading packaging-21.3-py3-none-any.whl (40 kB) Collecting snowballstemmer>=1.1 Downloading snowballstemmer-2.2.0-py2.py3-none-any.whl (93 kB) Collecting pytz>=2015.7 Downloading pytz-2021.3-py2.py3-none-any.whl (503 kB) Collecting zipp>=0.5 Downloading zipp-3.7.0-py3-none-any.whl (5.3 kB) Collecting typing-extensions>=3.6.4 Downloading typing_extensions-4.0.1-py3-none-any.whl (22 kB) Collecting MarkupSafe>=2.0 Downloading MarkupSafe-2.0.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (31 kB) Collecting urllib3<1.27,>=1.21.1 Downloading urllib3-1.26.8-py2.py3-none-any.whl (138 kB) Collecting charset-normalizer~=2.0.0 Downloading charset_normalizer-2.0.11-py3-none-any.whl (39 kB) Collecting idna<4,>=2.5 Downloading idna-3.3-py3-none-any.whl (61 kB) Collecting certifi>=2017.4.17 Downloading certifi-2021.10.8-py2.py3-none-any.whl (149 kB) Collecting pyparsing!=3.0.5,>=2.0.2 Downloading pyparsing-3.0.7-py3-none-any.whl (98 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=23773 sha256=baefcb1f8aa4ff99276127454d90ee6b42b8a1b314766fc9c51b771e0ca86500 Stored in directory: /tmp/pip-ephem-wheel-cache-x4o53gi0/wheels/7a/94/b1/0fdc5339a5bd487a5cc15421ec200d9ba3e2aa7190e4a727f1 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=491070 sha256=f7796ec27ad255215af4c9e72a6be767e3c830a42ea75ba6cbef53330b085bb9 Stored in directory: /tmp/pip-ephem-wheel-cache-x4o53gi0/wheels/56/b0/fe/4410d17b32f1f0c3cf54cdfb2bc04d7b4b8f4ae377e2229ba0 Successfully built mock future Installing collected packages: zipp, urllib3, typing-extensions, pytz, pyparsing, MarkupSafe, idna, charset-normalizer, certifi, sphinxcontrib-serializinghtml, sphinxcontrib-qthelp, sphinxcontrib-jsmath, sphinxcontrib-htmlhelp, sphinxcontrib-devhelp, sphinxcontrib-applehelp, snowballstemmer, requests, Pygments, packaging, Jinja2, importlib-metadata, imagesize, future, docutils, babel, alabaster, sphinx, commonmark, sphinx-rtd-theme, recommonmark, readthedocs-sphinx-ext, pillow, mock Successfully installed Jinja2-3.0.3 MarkupSafe-2.0.1 Pygments-2.11.2 alabaster-0.7.12 babel-2.9.1 certifi-2021.10.8 charset-normalizer-2.0.11 commonmark-0.8.1 docutils-0.17.1 future-0.18.2 idna-3.3 imagesize-1.3.0 importlib-metadata-4.10.1 mock-1.0.1 packaging-21.3 pillow-5.4.1 pyparsing-3.0.7 pytz-2021.3 readthedocs-sphinx-ext-2.1.4 recommonmark-0.5.0 requests-2.27.1 snowballstemmer-2.2.0 sphinx-4.4.0 sphinx-rtd-theme-1.0.0 sphinxcontrib-applehelp-1.0.2 sphinxcontrib-devhelp-1.0.2 sphinxcontrib-htmlhelp-2.0.0 sphinxcontrib-jsmath-1.0.1 sphinxcontrib-qthelp-1.0.3 sphinxcontrib-serializinghtml-1.1.5 typing-extensions-4.0.1 urllib3-1.26.8 zipp-3.7.0 WARNING: You are using pip version 21.3.1; however, version 22.0.2 is available. You should consider upgrading via the '/home/docs/checkouts/readthedocs.org/user_builds/mdolab-openaerostruct/envs/latest/bin/python -m pip install --upgrade pip' command. [rtd-command-info] start-time: 2022-02-01T21:14:10.940976Z, end-time: 2022-02-01T21:14:11.004854Z, duration: 0, exit-code: 0 cat openaerostruct/docs/conf.py # -*- coding: utf-8 -*- # This file is execfile()d with the current directory set to its # containing dir. import os import sys import openmdao import importlib from unittest.mock import Mock from openmdao.docutils import do_monkeypatch, embed_code, embed_options, embed_compare from openmdao.docs._exts import embed_n2 from openaerostruct.docs._utils.generate_sourcedocs import generate_docs openmdao_path = os.path.split(os.path.abspath(openmdao.__file__))[0] sys.path.insert(0, os.path.join(openmdao_path, "docs", "_exts")) sys.path.insert(0, os.path.abspath("..")) sys.path.insert(0, os.path.abspath(".")) # Only mock the ones that don't import. MOCK_MODULES = ["h5py", "petsc4py", "pyoptsparse", "pyDOE2"] for mod_name in MOCK_MODULES: try: importlib.import_module(mod_name) except ImportError: sys.modules[mod_name] = Mock() do_monkeypatch() # -- General configuration ------------------------------------------------ # If your documentation needs a minimal Sphinx version, state it here. # # needs_sphinx = '1.0' # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = [ "sphinx.ext.autodoc", "sphinx.ext.doctest", "sphinx.ext.coverage", "sphinx.ext.mathjax", "sphinx.ext.viewcode", "sphinx.ext.githubpages", "numpydoc", "embed_code", "embed_compare", "embed_options", "embed_n2", ] # directories for which to generate sourcedocs packages = [ "aerodynamics", "functionals", "geometry", "integration", "structures", "transfer", ] generate_docs("..", "../..", packages, project_name="openaerostruct") # -- General configuration ------------------------------------------------ # If your documentation needs a minimal Sphinx version, state it here. needs_sphinx = "1.6.2" numpydoc_show_class_members = False # The master toctree document. # master_doc = 'index' # General information about the project. project = "OpenAeroStruct" copyright = "2018, John Jasa, Dr. John Hwang, Justin S. Gray" author = "John Jasa, Dr. John Hwang, Justin S. Gray" # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. import re __version__ = re.findall( r"""__version__ = ["']+([0-9\.]*)["']+""", open("../__init__.py").read(), )[0] # The short X.Y version. version = __version__ # The full version, including alpha/beta/rc tags. release = __version__ # The name of the Pygments (syntax highlighting) style to use. pygments_style = "sphinx" # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. html_theme = "_theme" # Add any paths that contain custom themes here, relative to this directory. html_theme_path = ["."] html_static_path = ["_static"] html_context = { "css_files": [ "_static/style.css", ], } # # The name of an image file (relative to this directory) to place at the top # # of the sidebar. # html_logo = '_static/OpenMDAO_Logo.png' # # # The name of an image file (within the static path) to use as favicon of the # # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 # # pixels large. # html_favicon = '_static/OpenMDAO_Favicon.ico' # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # using the given strftime format. html_last_updated_fmt = "%b %d, %Y" # Output file base name for HTML help builder. htmlhelp_basename = "OpenAeroStructdoc" # Customize sidebar html_sidebars = {"**": ["globaltoc.html", "searchbox.html"]} html_extra_path = ["_n2html"] # The master toctree document. master_doc = "index" # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [(master_doc, "openaerostruct", "OpenAeroStruct Documentation", [author], 1)] ########################################################################### # 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 # # Note: this file shouldn't rely on extra dependencies. import importlib import sys import os.path # Borrowed from six. PY3 = sys.version_info[0] == 3 string_types = str if PY3 else basestring 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://assets.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://assets.readthedocs.com/", 'PRODUCTION_DOMAIN': "readthedocs.com", 'versions': [ ], 'downloads': [ ], 'subprojects': [ ], 'slug': 'mdolab-openaerostruct', 'name': u'OpenAeroStruct', 'rtd_language': u'en', 'programming_language': u'py', 'canonical_url': 'https://mdolab-openaerostruct.readthedocs-hosted.com/en/latest/', 'analytics_code': 'None', 'single_version': False, 'conf_py_path': '/openaerostruct/docs/', 'api_host': 'https://readthedocs.com', 'github_user': 'mdolab', 'proxied_api_host': '/_', 'github_repo': 'OpenAeroStruct', 'github_version': 'master', 'display_github': True, 'bitbucket_user': 'None', 'bitbucket_repo': 'None', 'bitbucket_version': 'master', 'display_bitbucket': False, 'gitlab_user': 'None', 'gitlab_repo': 'None', 'gitlab_version': 'master', 'display_gitlab': False, 'READTHEDOCS': True, 'using_theme': (html_theme == "default"), 'new_theme': (html_theme == "sphinx_rtd_theme"), 'source_suffix': SUFFIX, 'ad_free': False, 'docsearch_disabled': False, 'user_analytics_code': '', 'global_analytics_code': 'UA-17997319-2', 'commit': 'a4f482c2', } # For sphinx >=1.8 we can use html_baseurl to set the canonical URL. # https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_baseurl if version_info >= (1, 8): if not globals().get('html_baseurl'): html_baseurl = context['canonical_url'] context['canonical_url'] = None 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") readthedocs_vcs_url = 'None' readthedocs_build_url = 'https://readthedocs.com/projects/mdolab-openaerostruct/builds/840714/' 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' # Make sure our build directory is always excluded exclude_patterns = globals().get('exclude_patterns', []) exclude_patterns.extend(['_build']) [rtd-command-info] start-time: 2022-02-01T21:14:11.181757Z, end-time: 2022-02-01T21:14:11.476420Z, duration: 0, exit-code: 2 python -m sphinx -T -b html -d _build/doctrees -D language=en . _build/html Running Sphinx v4.4.0 Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-openaerostruct/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 340, in eval_config_file exec(code, namespace) File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-openaerostruct/checkouts/latest/openaerostruct/docs/conf.py", line 6, in import openmdao ModuleNotFoundError: No module named 'openmdao' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-openaerostruct/envs/latest/lib/python3.7/site-packages/sphinx/cmd/build.py", line 283, in build_main args.tags, args.verbosity, args.jobs, args.keep_going) File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-openaerostruct/envs/latest/lib/python3.7/site-packages/sphinx/application.py", line 209, in __init__ self.config = Config.read(self.confdir, confoverrides or {}, self.tags) File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-openaerostruct/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 173, in read namespace = eval_config_file(filename, tags) File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-openaerostruct/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 353, in eval_config_file raise ConfigError(msg % traceback.format_exc()) from 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/mdolab-openaerostruct/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 340, in eval_config_file exec(code, namespace) File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-openaerostruct/checkouts/latest/openaerostruct/docs/conf.py", line 6, in import openmdao ModuleNotFoundError: No module named 'openmdao' Configuration error: There is a programmable error in your configuration file: Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-openaerostruct/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 340, in eval_config_file exec(code, namespace) File "/home/docs/checkouts/readthedocs.org/user_builds/mdolab-openaerostruct/checkouts/latest/openaerostruct/docs/conf.py", line 6, in import openmdao ModuleNotFoundError: No module named 'openmdao'