Read the Docs build information Build id: 22743 Project: image-processor Version: latest Commit: 0860ae4dab2ede0d23d2fb76621b9cda78d0f1ee Date: 2021-11-24T17:02:45.161339Z State: finished Success: False [rtd-command-info] start-time: 2021-11-24T17:02:46.345149Z, end-time: 2021-11-24T17:02:47.561334Z, duration: 1, 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-24T17:02:47.964349Z, end-time: 2021-11-24T17:02:48.063672Z, 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 0860ae4 Update processingUtils to tag 1.4.0-2.11.4 [rtd-command-info] start-time: 2021-11-24T17:02:48.197907Z, end-time: 2021-11-24T17:02:48.286050Z, duration: 0, exit-code: 0 git clean -d -f -f [rtd-command-info] start-time: 2021-11-24T17:02:49.533240Z, end-time: 2021-11-24T17:02:56.143527Z, duration: 6, exit-code: 0 python2.7 -mvirtualenv /usr/src/app/checkouts/readthedocs.org/user_builds/image-processor/envs/latest New python executable in /usr/src/app/checkouts/readthedocs.org/user_builds/image-processor/envs/latest/bin/python2.7 Also creating executable in /usr/src/app/checkouts/readthedocs.org/user_builds/image-processor/envs/latest/bin/python Installing setuptools, pip, wheel... done. [rtd-command-info] start-time: 2021-11-24T17:02:56.283847Z, end-time: 2021-11-24T17:02:57.529679Z, duration: 1, exit-code: 0 /usr/src/app/checkouts/readthedocs.org/user_builds/image-processor/envs/latest/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/latest/lib/python2.7/site-packages (20.3.4) [rtd-command-info] start-time: 2021-11-24T17:02:57.668761Z, end-time: 2021-11-24T17:03:10.653697Z, duration: 12, exit-code: 0 /usr/src/app/checkouts/readthedocs.org/user_builds/image-processor/envs/latest/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 packaging Downloading packaging-20.9-py2.py3-none-any.whl (40 kB) Collecting snowballstemmer>=1.1 Downloading snowballstemmer-2.2.0-py2.py3-none-any.whl (93 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 sphinxcontrib-websupport Downloading sphinxcontrib_websupport-1.1.2-py2.py3-none-any.whl (39 kB) Collecting MarkupSafe>=0.23 Downloading MarkupSafe-1.1.1-cp27-cp27mu-manylinux1_x86_64.whl (24 kB) Collecting pyparsing>=2.0.2 Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 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) 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=b1f050bf3ac8d0f72a5ccf11543abf2319b488e6d832c753a4d65c2064c73909 Stored in directory: /tmp/pip-ephem-wheel-cache-Ixf6cK/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=071285b6f09a33713e9861e0dce6987ae088f363f0efbaafafb385b8fe820f70 Stored in directory: /tmp/pip-ephem-wheel-cache-Ixf6cK/wheels/5f/11/0c/aad680baf5ef4fbcbab992c9f03e1130357e0c173a4fdabfff Successfully built mock future Installing collected packages: Pygments, setuptools, docutils, mock, pillow, alabaster, future, commonmark, imagesize, typing, MarkupSafe, Jinja2, pyparsing, packaging, snowballstemmer, pytz, babel, six, certifi, urllib3, chardet, idna, requests, sphinxcontrib-websupport, 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-24T17:03:10.795657Z, end-time: 2021-11-24T17:03:11.958467Z, duration: 1, exit-code: 0 /usr/src/app/checkouts/readthedocs.org/user_builds/image-processor/envs/latest/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/latest/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/latest/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/latest/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/latest/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/latest/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-24T17:03:13.004038Z, end-time: 2021-11-24T17:03:13.084017Z, 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://in.xfel.eu/readthedocs' api = slumber.API(base_url='{}/api/v1/'.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)['objects'] 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': "latest", 'version_slug': "latest", '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': 'master', 'display_github': False, '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': 'None', 'commit': '0860ae4d', } 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-24T17:03:13.219500Z, end-time: 2021-11-24T17:03:13.764427Z, duration: 0, exit-code: 2 python /usr/src/app/checkouts/readthedocs.org/user_builds/image-processor/envs/latest/bin/sphinx-build -T -E -b readthedocs -d _build/doctrees-readthedocs -D language=en . _build/html Running Sphinx v1.8.6 Traceback (most recent call last): File "/usr/src/app/checkouts/readthedocs.org/user_builds/image-processor/envs/latest/lib/python2.7/site-packages/sphinx/cmd/build.py", line 303, in build_main args.tags, args.verbosity, args.jobs, args.keep_going) File "/usr/src/app/checkouts/readthedocs.org/user_builds/image-processor/envs/latest/lib/python2.7/site-packages/sphinx/application.py", line 201, in __init__ self.config = Config.read(self.confdir, confoverrides or {}, self.tags) File "/usr/src/app/checkouts/readthedocs.org/user_builds/image-processor/envs/latest/lib/python2.7/site-packages/sphinx/config.py", line 203, in read namespace = eval_config_file(filename, tags) File "/usr/src/app/checkouts/readthedocs.org/user_builds/image-processor/envs/latest/lib/python2.7/site-packages/sphinx/config.py", line 380, in eval_config_file raise ConfigError(msg % traceback.format_exc()) ConfigError: There is a programmable error in your configuration file: Traceback (most recent call last): File "/usr/src/app/checkouts/readthedocs.org/user_builds/image-processor/envs/latest/lib/python2.7/site-packages/sphinx/config.py", line 368, in eval_config_file execfile_(filename, namespace) File "/usr/src/app/checkouts/readthedocs.org/user_builds/image-processor/envs/latest/lib/python2.7/site-packages/sphinx/util/pycompat.py", line 150, in execfile_ exec_(code, _globals) File "/usr/src/app/checkouts/readthedocs.org/user_builds/image-processor/envs/latest/lib/python2.7/site-packages/six.py", line 735, in exec_ exec("""exec _code_ in _globs_, _locs_""") File "", line 1, in File "/usr/src/app/checkouts/readthedocs.org/user_builds/image-processor/checkouts/latest/doc/source/conf.py", line 79, in new_projs = api.project.get(offset=offset)['objects'] File "/usr/src/app/checkouts/readthedocs.org/user_builds/image-processor/envs/latest/lib/python2.7/site-packages/slumber/__init__.py", line 155, in get resp = self._request("GET", params=kwargs) File "/usr/src/app/checkouts/readthedocs.org/user_builds/image-processor/envs/latest/lib/python2.7/site-packages/slumber/__init__.py", line 103, in _request raise exceptions.HttpServerError("Server Error %s: %s" % (resp.status_code, url), response=resp, content=resp.content) HttpServerError: Server Error 503: https://in.xfel.eu/readthedocs/api/v1/project/ Configuration error: There is a programmable error in your configuration file: Traceback (most recent call last): File "/usr/src/app/checkouts/readthedocs.org/user_builds/image-processor/envs/latest/lib/python2.7/site-packages/sphinx/config.py", line 368, in eval_config_file execfile_(filename, namespace) File "/usr/src/app/checkouts/readthedocs.org/user_builds/image-processor/envs/latest/lib/python2.7/site-packages/sphinx/util/pycompat.py", line 150, in execfile_ exec_(code, _globals) File "/usr/src/app/checkouts/readthedocs.org/user_builds/image-processor/envs/latest/lib/python2.7/site-packages/six.py", line 735, in exec_ exec("""exec _code_ in _globs_, _locs_""") File "", line 1, in File "/usr/src/app/checkouts/readthedocs.org/user_builds/image-processor/checkouts/latest/doc/source/conf.py", line 79, in new_projs = api.project.get(offset=offset)['objects'] File "/usr/src/app/checkouts/readthedocs.org/user_builds/image-processor/envs/latest/lib/python2.7/site-packages/slumber/__init__.py", line 155, in get resp = self._request("GET", params=kwargs) File "/usr/src/app/checkouts/readthedocs.org/user_builds/image-processor/envs/latest/lib/python2.7/site-packages/slumber/__init__.py", line 103, in _request raise exceptions.HttpServerError("Server Error %s: %s" % (resp.status_code, url), response=resp, content=resp.content) HttpServerError: Server Error 503: https://in.xfel.eu/readthedocs/api/v1/project/