Read the Docs build information Build id: 12096 Project: calibrationreport Version: latest Commit: e1b7eda765c56b81dbfc8b0d10caa6e6910abb7c Date: 2019-08-28T07:35:10.742251Z State: finished Success: False [rtd-command-info] start-time: 2019-08-28T12:35:38.043000Z, end-time: 2019-08-28T12:35:59.041000Z, duration: 20, exit-code: 0 python3 -mvirtualenv --no-site-packages --no-download /user_builds/calibrationreport/envs/latest Using base prefix '/usr' New python executable in /user_builds/calibrationreport/envs/latest/bin/python3 Not overwriting existing python script /user_builds/calibrationreport/envs/latest/bin/python (you must use /user_builds/calibrationreport/envs/latest/bin/python3) Installing setuptools, pip, wheel...done. [rtd-command-info] start-time: 2019-08-28T12:35:59.101000Z, end-time: 2019-08-28T12:37:28.470000Z, duration: 89, exit-code: 0 python /user_builds/calibrationreport/envs/latest/bin/pip install --use-wheel -U --cache-dir /user_builds/calibrationreport/.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/calibrationreport/envs/latest/lib/python3.4/site-packages Collecting setuptools==20.1.1 Using cached https://files.pythonhosted.org/packages/e8/82/3b5455f74bf9ac0757d09c625b7741e6fc284d7519cffc3babb6c5173cf5/setuptools-20.1.1-py2.py3-none-any.whl Requirement already up-to-date: docutils==0.12 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages Requirement already up-to-date: mkdocs==0.15.0 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages Requirement already up-to-date: mock==1.0.1 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages Requirement already up-to-date: pillow==2.6.1 in /user_builds/calibrationreport/envs/latest/lib/python3.4/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-4vet2pn8/readthedocs-sphinx-ext Collecting sphinx-rtd-theme==0.1.9 Using cached https://files.pythonhosted.org/packages/97/d9/e27ef5a2b6b92d2cf29724c25daf0683adacc43ab5ad15dc0e9b69b464f8/sphinx_rtd_theme-0.1.9-py3-none-any.whl Requirement already up-to-date: alabaster!=0.7.5,<0.8,>=0.7 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages Requirement already up-to-date: commonmark==0.5.4 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages Requirement already up-to-date: recommonmark==0.1.1 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages Requirement already up-to-date: six>=1.4 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages (from sphinx==1.3.5) Requirement already up-to-date: Jinja2>=2.3 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages (from sphinx==1.3.5) Requirement already up-to-date: snowballstemmer>=1.1 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages (from sphinx==1.3.5) Requirement already up-to-date: babel!=2.0,>=1.3 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages (from sphinx==1.3.5) Requirement already up-to-date: mkdocs-bootstrap>=0.1.1 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages (from mkdocs==0.15.0) Collecting PyYAML>=3.10 (from mkdocs==0.15.0) Downloading https://files.pythonhosted.org/packages/e3/e8/b3212641ee2718d556df0f23f78de8303f068fe29cdaa7a91018849582fe/PyYAML-5.1.2.tar.gz (265kB) Requirement already up-to-date: Markdown>=2.3.1 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages (from mkdocs==0.15.0) Requirement already up-to-date: tornado>=4.1 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages (from mkdocs==0.15.0) Requirement already up-to-date: mkdocs-bootswatch>=0.1.0 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages (from mkdocs==0.15.0) Requirement already up-to-date: click>=4.0 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages (from mkdocs==0.15.0) Requirement already up-to-date: livereload>=2.3.2 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages (from mkdocs==0.15.0) Requirement already up-to-date: requests in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages (from readthedocs-sphinx-ext) Requirement already up-to-date: nilsimsa>=0.3.7 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages (from readthedocs-sphinx-ext) Requirement already up-to-date: MarkupSafe>=0.23 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages (from Jinja2>=2.3->sphinx==1.3.5) Collecting pytz>=2015.7 (from babel!=2.0,>=1.3->sphinx==1.3.5) Downloading https://files.pythonhosted.org/packages/87/76/46d697698a143e05f77bec5a526bf4e56a0be61d63425b68f4ba553b51f2/pytz-2019.2-py2.py3-none-any.whl (508kB) Requirement already up-to-date: backports-abc>=0.4 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages (from tornado>=4.1->mkdocs==0.15.0) Requirement already up-to-date: idna<2.9,>=2.5 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages (from requests->readthedocs-sphinx-ext) Requirement already up-to-date: urllib3<1.25,>=1.21.1 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages (from requests->readthedocs-sphinx-ext) Requirement already up-to-date: chardet<3.1.0,>=3.0.2 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages (from requests->readthedocs-sphinx-ext) Requirement already up-to-date: certifi>=2017.4.17 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages (from requests->readthedocs-sphinx-ext) Building wheels for collected packages: PyYAML Running setup.py bdist_wheel for PyYAML: started Running setup.py bdist_wheel for PyYAML: finished with status 'done' Stored in directory: /user_builds/calibrationreport/.cache/pip/wheels/d9/45/dd/65f0b38450c47cf7e5312883deb97d065e030c5cca0a365030 Successfully built PyYAML Installing collected packages: sphinx-rtd-theme, sphinx, setuptools, readthedocs-sphinx-ext, PyYAML, pytz Found existing installation: sphinx-rtd-theme 0.4.3 Uninstalling sphinx-rtd-theme-0.4.3: Successfully uninstalled sphinx-rtd-theme-0.4.3 Found existing installation: Sphinx 1.4.5 Uninstalling Sphinx-1.4.5: Successfully uninstalled Sphinx-1.4.5 Found existing installation: setuptools 28.8.0 Uninstalling setuptools-28.8.0: Successfully uninstalled setuptools-28.8.0 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: PyYAML 5.1.1 Uninstalling PyYAML-5.1.1: Successfully uninstalled PyYAML-5.1.1 Found existing installation: pytz 2019.1 Uninstalling pytz-2019.1: Successfully uninstalled pytz-2019.1 Successfully installed PyYAML-5.1.2 pytz-2019.2 readthedocs-sphinx-ext-0.5.4 setuptools-20.1.1 sphinx-1.3.5 sphinx-rtd-theme-0.1.9 You are using pip version 9.0.1, however version 19.2.3 is available. You should consider upgrading via the 'pip install --upgrade pip' command. [rtd-command-info] start-time: 2019-08-28T12:37:28.534000Z, end-time: 2019-08-28T12:37:58.529000Z, duration: 29, exit-code: 0 python /user_builds/calibrationreport/envs/latest/bin/pip install --exists-action=w --cache-dir /user_builds/calibrationreport/.cache/pip -rdoc/requirements.txt Collecting sphinx==1.4.5 (from -r doc/requirements.txt (line 1)) Using cached https://files.pythonhosted.org/packages/d1/ad/9fe56e099e0bd288f1fdc037c2146b0698e2cba1d9a48636660f39a0e791/Sphinx-1.4.5-py2.py3-none-any.whl Collecting sphinx-rtd-theme==0.4.3 (from -r doc/requirements.txt (line 2)) Using cached https://files.pythonhosted.org/packages/60/b4/4df37087a1d36755e3a3bfd2a30263f358d2dea21938240fa02313d45f51/sphinx_rtd_theme-0.4.3-py2.py3-none-any.whl Requirement already satisfied: gitpython in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages (from -r doc/requirements.txt (line 3)) Requirement already satisfied: slumber in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages (from -r doc/requirements.txt (line 4)) Requirement already satisfied: Pygments>=2.0 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages (from sphinx==1.4.5->-r doc/requirements.txt (line 1)) Requirement already satisfied: imagesize in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages (from sphinx==1.4.5->-r doc/requirements.txt (line 1)) Requirement already satisfied: docutils>=0.11 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages (from sphinx==1.4.5->-r doc/requirements.txt (line 1)) Requirement already satisfied: Jinja2>=2.3 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages (from sphinx==1.4.5->-r doc/requirements.txt (line 1)) Requirement already satisfied: babel!=2.0,>=1.3 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages (from sphinx==1.4.5->-r doc/requirements.txt (line 1)) Requirement already satisfied: six>=1.4 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages (from sphinx==1.4.5->-r doc/requirements.txt (line 1)) Requirement already satisfied: snowballstemmer>=1.1 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages (from sphinx==1.4.5->-r doc/requirements.txt (line 1)) Requirement already satisfied: alabaster<0.8,>=0.7 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages (from sphinx==1.4.5->-r doc/requirements.txt (line 1)) Requirement already satisfied: gitdb2>=2.0.0 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages (from gitpython->-r doc/requirements.txt (line 3)) Requirement already satisfied: requests in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages (from slumber->-r doc/requirements.txt (line 4)) Requirement already satisfied: MarkupSafe>=0.23 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages (from Jinja2>=2.3->sphinx==1.4.5->-r doc/requirements.txt (line 1)) Requirement already satisfied: pytz>=2015.7 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages (from babel!=2.0,>=1.3->sphinx==1.4.5->-r doc/requirements.txt (line 1)) Requirement already satisfied: smmap2>=2.0.0 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages (from gitdb2>=2.0.0->gitpython->-r doc/requirements.txt (line 3)) Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages (from requests->slumber->-r doc/requirements.txt (line 4)) Requirement already satisfied: idna<2.9,>=2.5 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages (from requests->slumber->-r doc/requirements.txt (line 4)) Requirement already satisfied: urllib3<1.25,>=1.21.1 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages (from requests->slumber->-r doc/requirements.txt (line 4)) Requirement already satisfied: certifi>=2017.4.17 in /user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages (from requests->slumber->-r doc/requirements.txt (line 4)) Installing collected packages: sphinx, sphinx-rtd-theme Found existing installation: Sphinx 1.3.5 Uninstalling Sphinx-1.3.5: Successfully uninstalled Sphinx-1.3.5 Found existing installation: sphinx-rtd-theme 0.1.9 Uninstalling sphinx-rtd-theme-0.1.9: Successfully uninstalled sphinx-rtd-theme-0.1.9 Successfully installed sphinx-1.4.5 sphinx-rtd-theme-0.4.3 You are using pip version 9.0.1, however version 19.2.3 is available. You should consider upgrading via the 'pip install --upgrade pip' command. [rtd-command-info] start-time: 2019-08-28T12:38:46.868000Z, end-time: 2019-08-28T12:38:46.915000Z, duration: 0, exit-code: 0 cat conf.py # -*- coding: utf-8 -*- # # calibrationReport documentation build configuration file, created by # sphinx-quickstart on Tue May 28 21:44:11 2019. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All configuration values have a default; values that are commented out # serve to show the default. import sys import os from git import Repo, InvalidGitRepositoryError import sphinx_rtd_theme import slumber import yaml sys.path.append(os.path.abspath("../lib/")) import create_all_rst def init_config_repo(reports_repo, repo_local): """ Make sure the configuration repo. is present and up-to-data """ os.makedirs(os.path.abspath(repo_local), exist_ok=True) # check if it is a repo try: repo = Repo(os.path.abspath(repo_local)) except InvalidGitRepositoryError: repo = Repo.clone_from(reports_repo, os.path.abspath(repo_local)) try: repo.remote().pull() print("The repo. for figures is initialized") except: print("git is not working at the moment last version was used!") with open("../lib/conf.yaml", 'r') as f: conf = yaml.load(f.read()) reports_repo = conf['GLOBAL']['reports-git'] repo_local = '{}/'.format(os.path.basename(os.path.splitext(reports_repo)[0])) init_config_repo(reports_repo, repo_local) create_all_rst.create(os.path.abspath("../lib/"), os.path.abspath("DetectorCharacterization/figures"), "../../../DetectorCharacterization/figures") # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. #sys.path.insert(0, os.path.abspath('.')) # -- 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.autosectionlabel', 'sphinx.ext.autodoc', 'sphinx.ext.intersphinx'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] # The suffix of source filenames. source_suffix = '.rst' # The encoding of source files. #source_encoding = 'utf-8-sig' # The master toctree document. master_doc = 'index' # General information about the project. project = u'calibrationReport' copyright = u'2019, M.Karnevskiy' # 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. # # The short X.Y version. version = '0.1' # The full version, including alpha/beta/rc tags. release = '0.1' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. #language = None # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: #today = '' # Else, today_fmt is used as the format for a strftime call. #today_fmt = '%B %d, %Y' RTDHOST = 'https://in.xfel.eu/readthedocs' api = slumber.API(base_url='{}/api/v1/'.format(RTDHOST)) projects = api.project.get()['objects'] # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. exclude_patterns = ["_build"] intersphinx_mapping = { 'python': ('http://docs.python.org/3.4', None) } # The reST default role (used for this markup: `text`) to use for all documents. #default_role = None # If true, '()' will be appended to :func: etc. cross-reference text. #add_function_parentheses = True # If true, the current module name will be prepended to all description # unit titles (such as .. function::). #add_module_names = True # If true, sectionauthor and moduleauthor directives will be shown in the # output. They are ignored by default. #show_authors = False # The name of the Pygments (syntax highlighting) style to use. pygments_style = 'sphinx' # A list of ignored prefixes for module index sorting. #modindex_common_prefix = [] # -- 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 = 'sphinx_rtd_theme' # 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 = {'navigation_depth': 5} # Add any paths that contain custom themes here, relative to this directory. #html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] # The name for this set of Sphinx documents. If None, it defaults to # " v documentation". #html_title = None # A shorter title for the navigation bar. Default is the same as html_title. #html_short_title = None # The name of an image file (relative to this directory) to place at the top # of the sidebar. #html_logo = None # 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 = None # 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'] # 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' # If true, SmartyPants will be used to convert quotes and dashes to # typographically correct entities. #html_use_smartypants = True # Custom sidebar templates, maps document names to template names. html_sidebars = {'**': ['globaltoc.html', 'relations.html', 'sourcelink.html', 'searchbox.html']} # Additional templates that should be rendered to pages, maps page names to # template names. #html_additional_pages = {} # If false, no module index is generated. #html_domain_indices = True # If false, no index is generated. #html_use_index = True # If true, the index is split into individual pages for each letter. #html_split_index = False # If true, links to the reST sources are added to the pages. #html_show_sourcelink = True # If true, "Created using Sphinx" is shown in the HTML footer. Default is True. #html_show_sphinx = True # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. #html_show_copyright = True # If true, an OpenSearch description file will be output, and all pages will # contain a tag referring to it. The value of this option must be the # base URL from which the finished HTML is served. #html_use_opensearch = '' # This is the file name suffix for HTML files (e.g. ".xhtml"). #html_file_suffix = None # Output file base name for HTML help builder. htmlhelp_basename = 'calibrationReportdoc' # -- Options for LaTeX output -------------------------------------------------- latex_elements = { # The paper size ('letterpaper' or 'a4paper'). #'papersize': 'letterpaper', # The font size ('10pt', '11pt' or '12pt'). #'pointsize': '10pt', # Additional stuff for the LaTeX preamble. #'preamble': '', } # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, author, documentclass [howto/manual]). latex_documents = [ ('index', 'calibrationReport.tex', u'calibrationReport Documentation', u'M.Karnevskiy', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of # the title page. #latex_logo = None # For "manual" documents, if this is true, then toplevel headings are parts, # not chapters. #latex_use_parts = False # If true, show page references after internal links. #latex_show_pagerefs = False # If true, show URL addresses after external links. #latex_show_urls = False # Documents to append as an appendix to all manuals. #latex_appendices = [] # If false, no module index is generated. #latex_domain_indices = True # -- Options for manual page output -------------------------------------------- # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ ('index', 'calibrationReport', u'calibrationReport Documentation', [u'M.Karnevskiy'], 1) ] # If true, show URL addresses after external links. #man_show_urls = False # -- Options for Texinfo output ------------------------------------------------ # Grouping the document tree into Texinfo files. List of tuples # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ ('index', 'calibrationReport', u'calibrationReport Documentation', u'M.Karnevskiy', 'calibrationReport', 'One line description of project.', 'Miscellaneous'), ] # Documents to append as an appendix to all manuals. #texinfo_appendices = [] # If false, no module index is generated. #texinfo_domain_indices = True # How to display URL addresses: 'footnote', 'no', or 'inline'. #texinfo_show_urls = 'footnote' ########################################################################### # 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/"), ], 'downloads': [ ("pdf", "//exflrtd.desy.de/projects/calibrationreport/downloads/pdf/latest/"), ("htmlzip", "//exflrtd.desy.de/projects/calibrationreport/downloads/htmlzip/latest/"), ("epub", "//exflrtd.desy.de/projects/calibrationreport/downloads/epub/latest/"), ], 'subprojects': [ ], 'slug': 'calibrationreport', 'name': u'calibrationReport', 'rtd_language': u'en', 'canonical_url': 'http://exflrtd.desy.de/docs/calibrationreport/en/latest/', 'analytics_code': '', 'single_version': False, 'conf_py_path': '/doc/DetectorCharacterization/calibrationReport/doc/', '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': 'c9b2afc8', } 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"] ########################################################################### # 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/"), ], 'downloads': [ ("pdf", "//exflrtd.desy.de/projects/calibrationreport/downloads/pdf/latest/"), ("htmlzip", "//exflrtd.desy.de/projects/calibrationreport/downloads/htmlzip/latest/"), ("epub", "//exflrtd.desy.de/projects/calibrationreport/downloads/epub/latest/"), ], 'subprojects': [ ], 'slug': 'calibrationreport', 'name': u'calibrationReport', 'rtd_language': u'en', 'canonical_url': 'http://exflrtd.desy.de/docs/calibrationreport/en/latest/', 'analytics_code': '', 'single_version': False, 'conf_py_path': '/doc/DetectorCharacterization/calibrationReport/doc/', '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': '69054d8b', } 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"] ########################################################################### # 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/"), ], 'downloads': [ ("pdf", "//exflrtd.desy.de/projects/calibrationreport/downloads/pdf/latest/"), ("htmlzip", "//exflrtd.desy.de/projects/calibrationreport/downloads/htmlzip/latest/"), ("epub", "//exflrtd.desy.de/projects/calibrationreport/downloads/epub/latest/"), ], 'subprojects': [ ], 'slug': 'calibrationreport', 'name': u'calibrationReport', 'rtd_language': u'en', 'canonical_url': 'http://exflrtd.desy.de/docs/calibrationreport/en/latest/', 'analytics_code': '', 'single_version': False, 'conf_py_path': '/doc/DetectorCharacterization/calibrationReport/doc/', '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': 'e1b7eda7', } 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-08-28T12:38:47.559000Z, end-time: 2019-08-28T12:41:13.645000Z, duration: 146, exit-code: 1 python /user_builds/calibrationreport/envs/latest/bin/sphinx-build -T -E -b readthedocs -d _build/doctrees-readthedocs -D language=en . _build/html Running Sphinx v1.4.5 making output directory... /user_builds/calibrationreport/checkouts/latest/doc/DetectorCharacterization/calibrationReport/doc/conf.py:43: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. conf = yaml.load(f.read()) /user_builds/calibrationreport/checkouts/latest/doc/DetectorCharacterization/calibrationReport/lib/create_all_rst.py:326: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. conf = yaml.load(f.read()) /user_builds/calibrationreport/checkouts/latest/doc/DetectorCharacterization/calibrationReport/lib/create_all_rst.py:265: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. _cal_conf = yaml.load(f.read()) /user_builds/calibrationreport/checkouts/latest/doc/DetectorCharacterization/calibrationReport/lib/sort_plots.py:11: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. conf = yaml.load(f.read()) Traceback (most recent call last): File "/user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages/sphinx/cmdline.py", line 243, in main opts.warningiserror, opts.tags, opts.verbosity, opts.jobs) File "/user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages/sphinx/application.py", line 137, in __init__ confoverrides or {}, self.tags) File "/user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages/sphinx/config.py", line 292, in __init__ execfile_(filename, config) File "/user_builds/calibrationreport/envs/latest/lib/python3.4/site-packages/sphinx/util/pycompat.py", line 130, in execfile_ exec_(code, _globals) File "conf.py", line 51, in "../../../DetectorCharacterization/figures") File "/user_builds/calibrationreport/checkouts/latest/doc/DetectorCharacterization/calibrationReport/lib/create_all_rst.py", line 328, in create create_reports(fig_pth_repo, fig_pth_vrt, lib_pth, conf) File "/user_builds/calibrationreport/checkouts/latest/doc/DetectorCharacterization/calibrationReport/lib/create_all_rst.py", line 280, in create_reports req_cons = cal_conf[det_name]['constants'] KeyError: 'AGIPD1M2' Exception occurred: File "/user_builds/calibrationreport/checkouts/latest/doc/DetectorCharacterization/calibrationReport/lib/create_all_rst.py", line 280, in create_reports req_cons = cal_conf[det_name]['constants'] KeyError: 'AGIPD1M2' The full traceback has been saved in /tmp/sphinx-err-cjgoc9ln.log, if you want to report the issue to the developers. Please also report this if it was a user error, so that a better error message can be provided next time. A bug report can be filed in the tracker at . Thanks! The repo. for figures is initialized Current path: /user_builds/calibrationreport/checkouts/latest/doc/DetectorCharacterization/calibrationReport/doc Detectors: ['/user_builds/calibrationreport/checkouts/latest/doc/DetectorCharacterization/calibrationReport/doc/DetectorCharacterization/figures/AGIPD1M1/', '/user_builds/calibrationreport/checkouts/latest/doc/DetectorCharacterization/calibrationReport/doc/DetectorCharacterization/figures/AGIPD1M2/', '/user_builds/calibrationreport/checkouts/latest/doc/DetectorCharacterization/calibrationReport/doc/DetectorCharacterization/figures/LPD1M1/', '/user_builds/calibrationreport/checkouts/latest/doc/DetectorCharacterization/calibrationReport/doc/DetectorCharacterization/figures/EPIX01/', '/user_builds/calibrationreport/checkouts/latest/doc/DetectorCharacterization/calibrationReport/doc/DetectorCharacterization/figures/EPIX02/', '/user_builds/calibrationreport/checkouts/latest/doc/DetectorCharacterization/calibrationReport/doc/DetectorCharacterization/figures/FXE/', '/user_builds/calibrationreport/checkouts/latest/doc/DetectorCharacterization/calibrationReport/doc/DetectorCharacterization/figures/MID/', '/user_builds/calibrationreport/checkouts/latest/doc/DetectorCharacterization/calibrationReport/doc/DetectorCharacterization/figures/SPB/'] SPB {'AGIPD1M1': {'use-existing': '', 'mem-cells': [128, 176], 'bias-voltages': [300, 500], 'photon-energy': 9.2, 'end-date': '2019-12-12', 'det-type': 'AGIPD', 'constants': ['Noise', 'SlopesFF', 'SlopesPC', 'Offset'], 'start-date': '2019-01-01', 'modules': '0-15'}} AGIPD1M1 Requested constants to plot: ['Noise', 'Noise-e', 'SlopesFF', 'SlopesPC', 'Offset'] AGIPD1M2