Read the Docs build information Build id: 22707 Project: image-processor Version: fix-rtd Commit: 3006e3b36ebfb77d3b6d088ea46aec9400699e74 Date: 2021-11-23T15:02:35.750090Z State: finished Success: False [rtd-command-info] start-time: 2021-11-23T15:02:52.740294Z, end-time: 2021-11-23T15:02:53.457565Z, duration: 0, exit-code: 0 git clone --no-single-branch --depth 50 http://git.xfel.eu/gitlab/karaboDevices/imageProcessor.git . Cloning into '.'... [rtd-command-info] start-time: 2021-11-23T15:02:53.829844Z, end-time: 2021-11-23T15:02:53.918869Z, duration: 0, exit-code: 0 git checkout --force origin/fix/rtd Note: checking out 'origin/fix/rtd'. 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 3006e3b Update conf.py for new RTD server [rtd-command-info] start-time: 2021-11-23T15:02:54.057096Z, end-time: 2021-11-23T15:02:54.140561Z, duration: 0, exit-code: 0 git clean -d -f -f [rtd-command-info] start-time: 2021-11-23T15:02:55.282847Z, end-time: 2021-11-23T15:02:59.525377Z, duration: 4, exit-code: 0 python2.7 -mvirtualenv /usr/src/app/checkouts/readthedocs.org/user_builds/image-processor/envs/fix-rtd New python executable in /usr/src/app/checkouts/readthedocs.org/user_builds/image-processor/envs/fix-rtd/bin/python2.7 Also creating executable in /usr/src/app/checkouts/readthedocs.org/user_builds/image-processor/envs/fix-rtd/bin/python Installing setuptools, pip, wheel... done. [rtd-command-info] start-time: 2021-11-23T15:02:59.663453Z, end-time: 2021-11-23T15:03:00.850717Z, duration: 1, exit-code: 0 /usr/src/app/checkouts/readthedocs.org/user_builds/image-processor/envs/fix-rtd/bin/python -m pip install --upgrade --no-cache-dir pip DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. Requirement already up-to-date: pip in /usr/src/app/checkouts/readthedocs.org/user_builds/image-processor/envs/fix-rtd/lib/python2.7/site-packages (20.3.4) [rtd-command-info] start-time: 2021-11-23T15:03:00.987385Z, end-time: 2021-11-23T15:03:13.475395Z, duration: 12, exit-code: 0 /usr/src/app/checkouts/readthedocs.org/user_builds/image-processor/envs/fix-rtd/bin/python -m pip install --upgrade --no-cache-dir 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 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 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-py2-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-cp27-cp27mu-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.6-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.4-py2.py3-none-any.whl (28 kB) Collecting future Downloading future-0.18.2.tar.gz (829 kB) Collecting imagesize Downloading imagesize-1.3.0-py2.py3-none-any.whl (5.2 kB) Collecting typing; python_version < "3.5" Downloading typing-3.10.0.0-py2-none-any.whl (26 kB) Collecting Jinja2>=2.3 Downloading Jinja2-2.11.3-py2.py3-none-any.whl (125 kB) Collecting snowballstemmer>=1.1 Downloading snowballstemmer-2.2.0-py2.py3-none-any.whl (93 kB) Collecting sphinxcontrib-websupport Downloading sphinxcontrib_websupport-1.1.2-py2.py3-none-any.whl (39 kB) Collecting babel!=2.0,>=1.3 Downloading Babel-2.9.1-py2.py3-none-any.whl (8.8 MB) Collecting six>=1.5 Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting requests>=2.0.0 Downloading requests-2.26.0-py2.py3-none-any.whl (62 kB) Collecting packaging Downloading packaging-20.9-py2.py3-none-any.whl (40 kB) Collecting MarkupSafe>=0.23 Downloading MarkupSafe-1.1.1-cp27-cp27mu-manylinux1_x86_64.whl (24 kB) Collecting pytz>=2015.7 Downloading pytz-2021.3-py2.py3-none-any.whl (503 kB) Collecting certifi>=2017.4.17 Downloading certifi-2021.10.8-py2.py3-none-any.whl (149 kB) Collecting urllib3<1.27,>=1.21.1 Downloading urllib3-1.26.7-py2.py3-none-any.whl (138 kB) Collecting chardet<5,>=3.0.2; python_version < "3" Downloading chardet-4.0.0-py2.py3-none-any.whl (178 kB) Collecting idna<3,>=2.5; python_version < "3" Downloading idna-2.10-py2.py3-none-any.whl (58 kB) Collecting pyparsing>=2.0.2 Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 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-py2-none-any.whl size=23754 sha256=d91c6c0f9fe648b7f7026fa17c195cf73703267ec6342bd50042436c9c483044 Stored in directory: /tmp/pip-ephem-wheel-cache-IPTeCp/wheels/ad/62/e0/a06cc957652749e64c7904e899eca3ecb2ec47c60d52653660 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-py2-none-any.whl size=502567 sha256=b498a3fba1cb0c95982c70cdc27a335a85197ffc0e80824d25297582f38aa286 Stored in directory: /tmp/pip-ephem-wheel-cache-IPTeCp/wheels/5f/11/0c/aad680baf5ef4fbcbab992c9f03e1130357e0c173a4fdabfff Successfully built mock future Installing collected packages: Pygments, setuptools, docutils, mock, pillow, alabaster, future, commonmark, imagesize, typing, MarkupSafe, Jinja2, snowballstemmer, sphinxcontrib-websupport, pytz, babel, six, certifi, urllib3, chardet, idna, requests, pyparsing, packaging, sphinx, recommonmark, sphinx-rtd-theme, readthedocs-sphinx-ext Attempting uninstall: setuptools Found existing installation: setuptools 44.1.1 Uninstalling setuptools-44.1.1: Successfully uninstalled setuptools-44.1.1 Successfully installed Jinja2-2.11.3 MarkupSafe-1.1.1 Pygments-2.3.1 alabaster-0.7.12 babel-2.9.1 certifi-2021.10.8 chardet-4.0.0 commonmark-0.8.1 docutils-0.14 future-0.18.2 idna-2.10 imagesize-1.3.0 mock-1.0.1 packaging-20.9 pillow-5.4.1 pyparsing-2.4.7 pytz-2021.3 readthedocs-sphinx-ext-1.0.4 recommonmark-0.5.0 requests-2.26.0 setuptools-41.0.1 six-1.16.0 snowballstemmer-2.2.0 sphinx-1.8.6 sphinx-rtd-theme-0.4.3 sphinxcontrib-websupport-1.1.2 typing-3.10.0.0 urllib3-1.26.7 [rtd-command-info] start-time: 2021-11-23T15:03:13.608971Z, end-time: 2021-11-23T15:03:14.823278Z, duration: 1, exit-code: 0 /usr/src/app/checkouts/readthedocs.org/user_builds/image-processor/envs/fix-rtd/bin/python -m pip install --exists-action=w --no-cache-dir -r doc/requirements.txt DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. Collecting slumber Downloading slumber-0.7.1-py2-none-any.whl (9.7 kB) Requirement already satisfied: requests in /usr/src/app/checkouts/readthedocs.org/user_builds/image-processor/envs/fix-rtd/lib/python2.7/site-packages (from slumber->-r doc/requirements.txt (line 1)) (2.26.0) Requirement already satisfied: certifi>=2017.4.17 in /usr/src/app/checkouts/readthedocs.org/user_builds/image-processor/envs/fix-rtd/lib/python2.7/site-packages (from requests->slumber->-r doc/requirements.txt (line 1)) (2021.10.8) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/src/app/checkouts/readthedocs.org/user_builds/image-processor/envs/fix-rtd/lib/python2.7/site-packages (from requests->slumber->-r doc/requirements.txt (line 1)) (1.26.7) Requirement already satisfied: chardet<5,>=3.0.2; python_version < "3" in /usr/src/app/checkouts/readthedocs.org/user_builds/image-processor/envs/fix-rtd/lib/python2.7/site-packages (from requests->slumber->-r doc/requirements.txt (line 1)) (4.0.0) Requirement already satisfied: idna<3,>=2.5; python_version < "3" in /usr/src/app/checkouts/readthedocs.org/user_builds/image-processor/envs/fix-rtd/lib/python2.7/site-packages (from requests->slumber->-r doc/requirements.txt (line 1)) (2.10) Installing collected packages: slumber Successfully installed slumber-0.7.1 [rtd-command-info] start-time: 2021-11-23T15:03:15.893873Z, end-time: 2021-11-23T15:03:15.986673Z, duration: 0, exit-code: 0 cat doc/source/conf.py project = 'Image Processor' copyright = '2018, European XFEL GmbH' author = 'A. Parenti' # The short X.Y version version = '' # The full version, including alpha/beta/rc tags release = '' extensions = [ 'sphinx.ext.intersphinx', 'sphinx.ext.extlinks', ] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] # The suffix(es) of source filenames. # You can specify multiple suffix as a list of string: # # source_suffix = ['.rst', '.md'] source_suffix = '.rst' # The master toctree document. master_doc = 'index' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. # # This is also used if you do content translation via gettext catalogs. # Usually you set "language" from the command line for these cases. language = None # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. # This pattern also affects html_static_path and html_extra_path. exclude_patterns = [] # The name of the Pygments (syntax highlighting) style to use. pygments_style = None # -- Options for HTML output ------------------------------------------------- # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # html_theme = 'default' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the # documentation. # # html_theme_options = {} # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ['_static'] # -- Options for HTMLHelp output --------------------------------------------- # Output file base name for HTML help builder. htmlhelp_basename = 'XFELControlDocumentationdoc' #we add a custom function to work with intersphinx import slumber # the RTDHOST should be set to localhost if you only compile on RTD # otherwise it needs to be set to the server hosting the internal RTD RTDHOST = 'https://rtd.xfel.eu' api = slumber.API(base_url='{}/api/v2/'.format(RTDHOST)) public_slugs = [] offset = 0 while True: # get the *public* projects (by default they are limited) # so we increment the offset of the query until # it returns empty handed new_projs = api.project.get(offset=offset)['results'] if len(new_projs) == 0: break offset += len(new_projs) public_slugs.extend([proj['slug'] for proj in new_projs]) def _insert(d, slug): d[slug.replace('-', '')] = \ ('{}/docs/{}/en/latest'.format(RTDHOST, slug), None) # defining some default RTD intersphinx place map elements isphinx = {'python': ('http://python.readthedocs.io/en/latest/', None), 'numpy': ('http://numpy.readthedocs.io/en/latest/', None)} for slug in public_slugs: _insert(isphinx, slug) intersphinx_mapping = isphinx extlinks = {'rtd': ('https://in.xfel.eu/readthedocs/docs/%s/en/latest/', '')} ########################################################################### # 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 = 'http://rtd.xfel.eu/websupport' websupport2_static_url = '/static/' #Add project information to the template context. context = { 'using_theme': using_rtd_theme, 'html_theme': html_theme, 'current_version': "fix/rtd", 'version_slug': "fix-rtd", 'MEDIA_URL': "media/", 'STATIC_URL': "/static/", 'PRODUCTION_DOMAIN': "rtd.xfel.eu", 'versions': [ ("latest", "/en/latest/"), ("fix-rtd", "/en/fix-rtd/"), ], 'downloads': [ ], 'subprojects': [ ], 'slug': 'image-processor', 'name': u'Image Processor', 'rtd_language': u'en', 'programming_language': u'words', 'canonical_url': 'http://rtd.xfel.eu/docs/image-processor/en/latest/', 'analytics_code': 'None', 'single_version': False, 'conf_py_path': '/doc/source/', 'api_host': 'http://rtd.xfel.eu', 'github_user': 'None', 'proxied_api_host': '/_', 'github_repo': 'None', 'github_version': 'fix/rtd', 'display_github': False, 'bitbucket_user': 'None', 'bitbucket_repo': 'None', 'bitbucket_version': 'fix/rtd', 'display_bitbucket': False, 'gitlab_user': 'None', 'gitlab_repo': 'None', 'gitlab_version': 'fix/rtd', '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': 'None', 'commit': '3006e3b3', } 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' # Make sure our build directory is always excluded exclude_patterns = globals().get('exclude_patterns', []) exclude_patterns.extend(['_build']) [rtd-command-info] start-time: 2021-11-23T15:03:16.127160Z, end-time: 2021-11-23T16:02:55.152083Z, duration: 3579, exit-code: 137 python /usr/src/app/checkouts/readthedocs.org/user_builds/image-processor/envs/fix-rtd/bin/sphinx-build -T -b readthedocs -d _build/doctrees-readthedocs -D language=en . _build/html Running Sphinx v1.8.6 Command killed due to excessive memory consumption