Read the Docs build information Build id: 10319 Project: image-processor Version: latest Commit: e2b9128764bc177a54851907271d3d1abc427281 Date: 2019-05-06T05:43:03.629688Z State: finished Success: False [rtd-command-info] start-time: 2019-05-06T10:43:22.424000Z, end-time: 2019-05-06T10:43:37.368000Z, duration: 14, exit-code: 0 python -mvirtualenv --no-site-packages --no-download /user_builds/image-processor/envs/latest New python executable in /user_builds/image-processor/envs/latest/bin/python Installing setuptools, pip, wheel...done. [rtd-command-info] start-time: 2019-05-06T10:43:37.432000Z, end-time: 2019-05-06T10:44:22.850000Z, duration: 45, exit-code: 0 python /user_builds/image-processor/envs/latest/bin/pip install --use-wheel -U --cache-dir /user_builds/image-processor/.cache/pip sphinx==1.3.5 Pygments==2.1.3 setuptools==20.1.1 docutils==0.12 mkdocs==0.15.0 mock==1.0.1 pillow==2.6.1 git+https://github.com/rtfd/readthedocs-sphinx-ext.git@0.6-alpha#egg=readthedocs-sphinx-ext sphinx-rtd-theme==0.1.9 alabaster>=0.7,<0.8,!=0.7.5 commonmark==0.5.4 recommonmark==0.1.1 Collecting sphinx==1.3.5 Using cached https://files.pythonhosted.org/packages/ff/91/45883bc962bda1be7e78039b41cc15e1eb3327ec75679eedd067b5d07bd5/Sphinx-1.3.5-py2.py3-none-any.whl Requirement already up-to-date: Pygments==2.1.3 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages Requirement already up-to-date: setuptools==20.1.1 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages Requirement already up-to-date: docutils==0.12 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages Requirement already up-to-date: mkdocs==0.15.0 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages Requirement already up-to-date: mock==1.0.1 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages Requirement already up-to-date: pillow==2.6.1 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages Collecting readthedocs-sphinx-ext from git+https://github.com/rtfd/readthedocs-sphinx-ext.git@0.6-alpha#egg=readthedocs-sphinx-ext Cloning https://github.com/rtfd/readthedocs-sphinx-ext.git (to 0.6-alpha) to /tmp/pip-build-SlNsfx/readthedocs-sphinx-ext Requirement already up-to-date: sphinx-rtd-theme==0.1.9 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages Requirement already up-to-date: alabaster!=0.7.5,<0.8,>=0.7 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages Requirement already up-to-date: commonmark==0.5.4 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages Requirement already up-to-date: recommonmark==0.1.1 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages Requirement already up-to-date: babel!=2.0,>=1.3 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from sphinx==1.3.5) Requirement already up-to-date: snowballstemmer>=1.1 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from sphinx==1.3.5) Requirement already up-to-date: six>=1.4 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from sphinx==1.3.5) Requirement already up-to-date: Jinja2>=2.3 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from sphinx==1.3.5) Requirement already up-to-date: Markdown>=2.3.1 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from mkdocs==0.15.0) Requirement already up-to-date: livereload>=2.3.2 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from mkdocs==0.15.0) Requirement already up-to-date: PyYAML>=3.10 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from mkdocs==0.15.0) Requirement already up-to-date: tornado>=4.1 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from mkdocs==0.15.0) Requirement already up-to-date: click>=4.0 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from mkdocs==0.15.0) Requirement already up-to-date: mkdocs-bootswatch>=0.1.0 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from mkdocs==0.15.0) Requirement already up-to-date: mkdocs-bootstrap>=0.1.1 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from mkdocs==0.15.0) Requirement already up-to-date: requests in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from readthedocs-sphinx-ext) Requirement already up-to-date: nilsimsa>=0.3.7 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from readthedocs-sphinx-ext) Requirement already up-to-date: pytz>=0a in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from babel!=2.0,>=1.3->sphinx==1.3.5) Requirement already up-to-date: MarkupSafe>=0.23 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from Jinja2>=2.3->sphinx==1.3.5) Requirement already up-to-date: idna<2.9,>=2.5 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from requests->readthedocs-sphinx-ext) Collecting urllib3<1.25,>=1.21.1 (from requests->readthedocs-sphinx-ext) Downloading https://files.pythonhosted.org/packages/01/11/525b02e4acc0c747de8b6ccdab376331597c569c42ea66ab0a1dbd36eca2/urllib3-1.24.3-py2.py3-none-any.whl (118kB) Requirement already up-to-date: certifi>=2017.4.17 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from requests->readthedocs-sphinx-ext) Requirement already up-to-date: chardet<3.1.0,>=3.0.2 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from requests->readthedocs-sphinx-ext) Installing collected packages: sphinx, readthedocs-sphinx-ext, urllib3 Found existing installation: Sphinx 2.0.1 Uninstalling Sphinx-2.0.1: Successfully uninstalled Sphinx-2.0.1 Found existing installation: readthedocs-sphinx-ext 0.5.4 Uninstalling readthedocs-sphinx-ext-0.5.4: Successfully uninstalled readthedocs-sphinx-ext-0.5.4 Running setup.py install for readthedocs-sphinx-ext: started Running setup.py install for readthedocs-sphinx-ext: finished with status 'done' Found existing installation: urllib3 1.24.2 Uninstalling urllib3-1.24.2: Successfully uninstalled urllib3-1.24.2 Successfully installed readthedocs-sphinx-ext-0.5.4 sphinx-1.3.5 urllib3-1.24.3 You are using pip version 8.1.1, however version 19.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. [rtd-command-info] start-time: 2019-05-06T10:44:22.948000Z, end-time: 2019-05-06T10:45:19.173000Z, duration: 56, exit-code: 0 python /user_builds/image-processor/envs/latest/bin/pip install --exists-action=w --cache-dir /user_builds/image-processor/.cache/pip -r/user_builds/image-processor/checkouts/latest/doc/requirements.txt Collecting git+https://git.xfel.eu/gitlab/xfel-rtd/rtd-conf.git (from -r /user_builds/image-processor/checkouts/latest/doc/requirements.txt (line 1)) Cloning https://git.xfel.eu/gitlab/xfel-rtd/rtd-conf.git to /tmp/pip-bWRSnF-build Requirement already satisfied (use --upgrade to upgrade): RTDConf==0.1 from git+https://git.xfel.eu/gitlab/xfel-rtd/rtd-conf.git in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from -r /user_builds/image-processor/checkouts/latest/doc/requirements.txt (line 1)) Requirement already satisfied (use --upgrade to upgrade): slumber in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from -r /user_builds/image-processor/checkouts/latest/doc/requirements.txt (line 2)) Requirement already satisfied (use --upgrade to upgrade): traits in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from -r /user_builds/image-processor/checkouts/latest/doc/requirements.txt (line 3)) Requirement already satisfied (use --upgrade to upgrade): breathe in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from -r /user_builds/image-processor/checkouts/latest/doc/requirements.txt (line 4)) Requirement already satisfied (use --upgrade to upgrade): requests in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from slumber->-r /user_builds/image-processor/checkouts/latest/doc/requirements.txt (line 2)) Requirement already satisfied (use --upgrade to upgrade): docutils>=0.5 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from breathe->-r /user_builds/image-processor/checkouts/latest/doc/requirements.txt (line 4)) Collecting Sphinx>=1.4 (from breathe->-r /user_builds/image-processor/checkouts/latest/doc/requirements.txt (line 4)) Using cached https://files.pythonhosted.org/packages/9a/b0/a8cf1d35237aebefd63f05543ed49ea24d302239828ca89409b0c1a35b27/Sphinx-2.0.1-py2.py3-none-any.whl Requirement already satisfied (use --upgrade to upgrade): six>=1.4 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from breathe->-r /user_builds/image-processor/checkouts/latest/doc/requirements.txt (line 4)) Requirement already satisfied (use --upgrade to upgrade): idna<2.9,>=2.5 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from requests->slumber->-r /user_builds/image-processor/checkouts/latest/doc/requirements.txt (line 2)) Requirement already satisfied (use --upgrade to upgrade): urllib3<1.25,>=1.21.1 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from requests->slumber->-r /user_builds/image-processor/checkouts/latest/doc/requirements.txt (line 2)) Requirement already satisfied (use --upgrade to upgrade): certifi>=2017.4.17 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from requests->slumber->-r /user_builds/image-processor/checkouts/latest/doc/requirements.txt (line 2)) Requirement already satisfied (use --upgrade to upgrade): chardet<3.1.0,>=3.0.2 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from requests->slumber->-r /user_builds/image-processor/checkouts/latest/doc/requirements.txt (line 2)) Requirement already satisfied (use --upgrade to upgrade): babel!=2.0,>=1.3 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from Sphinx>=1.4->breathe->-r /user_builds/image-processor/checkouts/latest/doc/requirements.txt (line 4)) Requirement already satisfied (use --upgrade to upgrade): sphinxcontrib-htmlhelp in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from Sphinx>=1.4->breathe->-r /user_builds/image-processor/checkouts/latest/doc/requirements.txt (line 4)) Requirement already satisfied (use --upgrade to upgrade): sphinxcontrib-serializinghtml in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from Sphinx>=1.4->breathe->-r /user_builds/image-processor/checkouts/latest/doc/requirements.txt (line 4)) Requirement already satisfied (use --upgrade to upgrade): sphinxcontrib-applehelp in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from Sphinx>=1.4->breathe->-r /user_builds/image-processor/checkouts/latest/doc/requirements.txt (line 4)) Requirement already satisfied (use --upgrade to upgrade): imagesize in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from Sphinx>=1.4->breathe->-r /user_builds/image-processor/checkouts/latest/doc/requirements.txt (line 4)) Requirement already satisfied (use --upgrade to upgrade): sphinxcontrib-qthelp in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from Sphinx>=1.4->breathe->-r /user_builds/image-processor/checkouts/latest/doc/requirements.txt (line 4)) Requirement already satisfied (use --upgrade to upgrade): setuptools in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from Sphinx>=1.4->breathe->-r /user_builds/image-processor/checkouts/latest/doc/requirements.txt (line 4)) Requirement already satisfied (use --upgrade to upgrade): packaging in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from Sphinx>=1.4->breathe->-r /user_builds/image-processor/checkouts/latest/doc/requirements.txt (line 4)) Requirement already satisfied (use --upgrade to upgrade): snowballstemmer>=1.1 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from Sphinx>=1.4->breathe->-r /user_builds/image-processor/checkouts/latest/doc/requirements.txt (line 4)) Requirement already satisfied (use --upgrade to upgrade): Pygments>=2.0 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from Sphinx>=1.4->breathe->-r /user_builds/image-processor/checkouts/latest/doc/requirements.txt (line 4)) Requirement already satisfied (use --upgrade to upgrade): sphinxcontrib-devhelp in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from Sphinx>=1.4->breathe->-r /user_builds/image-processor/checkouts/latest/doc/requirements.txt (line 4)) Requirement already satisfied (use --upgrade to upgrade): Jinja2>=2.3 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from Sphinx>=1.4->breathe->-r /user_builds/image-processor/checkouts/latest/doc/requirements.txt (line 4)) Requirement already satisfied (use --upgrade to upgrade): sphinxcontrib-jsmath in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from Sphinx>=1.4->breathe->-r /user_builds/image-processor/checkouts/latest/doc/requirements.txt (line 4)) Requirement already satisfied (use --upgrade to upgrade): alabaster<0.8,>=0.7 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from Sphinx>=1.4->breathe->-r /user_builds/image-processor/checkouts/latest/doc/requirements.txt (line 4)) Requirement already satisfied (use --upgrade to upgrade): pytz>=0a in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from babel!=2.0,>=1.3->Sphinx>=1.4->breathe->-r /user_builds/image-processor/checkouts/latest/doc/requirements.txt (line 4)) Requirement already satisfied (use --upgrade to upgrade): pyparsing>=2.0.2 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from packaging->Sphinx>=1.4->breathe->-r /user_builds/image-processor/checkouts/latest/doc/requirements.txt (line 4)) Requirement already satisfied (use --upgrade to upgrade): MarkupSafe>=0.23 in /user_builds/image-processor/envs/latest/lib/python2.7/site-packages (from Jinja2>=2.3->Sphinx>=1.4->breathe->-r /user_builds/image-processor/checkouts/latest/doc/requirements.txt (line 4)) Installing collected packages: Sphinx Found existing installation: Sphinx 1.3.5 Uninstalling Sphinx-1.3.5: Successfully uninstalled Sphinx-1.3.5 Successfully installed Sphinx-2.0.1 You are using pip version 8.1.1, however version 19.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. [rtd-command-info] start-time: 2019-05-06T10:45:19.593000Z, end-time: 2019-05-06T10:45:19.614000Z, duration: 0, exit-code: 0 cat 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 import json # 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 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 else: SUFFIX = source_suffix[0] 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') html_static_path.append('/rtd_root/readthedocs/templates/sphinx/_static') # Add RTD Theme only if they aren't overriding it already using_rtd_theme = False if 'html_theme' in globals(): if html_theme in ['default']: # Allow people to bail with a hack of having an html_style if not 'html_style' in globals(): import sphinx_rtd_theme html_theme = 'sphinx_rtd_theme' html_style = None html_theme_options = {} if 'html_theme_path' in globals(): html_theme_path.append(sphinx_rtd_theme.get_html_theme_path()) else: html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] using_rtd_theme = True else: import sphinx_rtd_theme html_theme = 'sphinx_rtd_theme' html_style = None html_theme_options = {} if 'html_theme_path' in globals(): html_theme_path.append(sphinx_rtd_theme.get_html_theme_path()) else: html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] using_rtd_theme = True if globals().get('websupport2_base_url', False): websupport2_base_url = 'https://readthedocs.org/websupport' if 'http' not in settings.MEDIA_URL: websupport2_static_url = '/static/' else: websupport2_static_url = '/media//static' #Add project information to the template context. context = { 'using_theme': using_rtd_theme, 'html_theme': html_theme, 'current_version': "latest", 'MEDIA_URL': "/media/", 'PRODUCTION_DOMAIN': "exflrtd.desy.de", 'versions': [ ("latest", "/en/latest/"), ("stable", "/en/stable/"), ("squad-documentation", "/en/squad-documentation/"), ], 'downloads': [ ("pdf", "//exflrtd.desy.de/projects/image-processor/downloads/pdf/latest/"), ("htmlzip", "//exflrtd.desy.de/projects/image-processor/downloads/htmlzip/latest/"), ("epub", "//exflrtd.desy.de/projects/image-processor/downloads/epub/latest/"), ], 'subprojects': [ ], 'slug': 'image-processor', 'name': u'Image Processor', 'rtd_language': u'en', 'canonical_url': 'http://exflrtd.desy.de/docs/image-processor/en/latest/', 'analytics_code': 'None', 'single_version': False, 'conf_py_path': '/doc/source/', 'api_host': 'https://readthedocs.org', 'github_user': 'None', 'github_repo': 'None', 'github_version': 'master', 'display_github': False, 'bitbucket_user': 'None', 'bitbucket_repo': 'None', 'bitbucket_version': 'master', 'display_bitbucket': False, 'READTHEDOCS': True, 'using_theme': (html_theme == "default"), 'new_theme': (html_theme == "sphinx_rtd_theme"), 'source_suffix': SUFFIX, 'user_analytics_code': '', 'global_analytics_code': 'UA-17997319-1', 'commit': 'e2b91287', } if 'html_context' in globals(): html_context.update(context) else: html_context = context # Add custom RTD extension if 'extensions' in globals(): extensions.append("readthedocs_ext.readthedocs") else: extensions = ["readthedocs_ext.readthedocs"] [rtd-command-info] start-time: 2019-05-06T10:45:19.695000Z, end-time: 2019-05-06T10:45:20.136000Z, duration: 0, exit-code: 1 python /user_builds/image-processor/envs/latest/bin/sphinx-build -T -E -b readthedocs -d _build/doctrees-readthedocs -D language=en . _build/html Traceback (most recent call last): File "/user_builds/image-processor/envs/latest/bin/sphinx-build", line 7, in from sphinx.cmd.build import main File "/user_builds/image-processor/envs/latest/lib/python2.7/site-packages/sphinx/cmd/build.py", line 39 file=stderr) ^ SyntaxError: invalid syntax