Read the Docs build information Build id: 11381 Project: detectorcharacterization Version: latest Commit: 25e9797db63fe85f8b4aebef88153a1a9841a6eb Date: 2019-07-16T04:00:24.935181Z State: finished Success: False [rtd-command-info] start-time: 2019-07-16T09:00:38.083000Z, end-time: 2019-07-16T09:00:50.745000Z, duration: 12, exit-code: 0 python3 -mvirtualenv --no-site-packages --no-download /user_builds/detectorcharacterization/envs/latest Using base prefix '/usr' New python executable in /user_builds/detectorcharacterization/envs/latest/bin/python3 Not overwriting existing python script /user_builds/detectorcharacterization/envs/latest/bin/python (you must use /user_builds/detectorcharacterization/envs/latest/bin/python3) Installing setuptools, pip, wheel...done. [rtd-command-info] start-time: 2019-07-16T09:00:50.814000Z, end-time: 2019-07-16T09:01:31.003000Z, duration: 40, exit-code: 0 python /user_builds/detectorcharacterization/envs/latest/bin/pip install --use-wheel -U --cache-dir /user_builds/detectorcharacterization/.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/detectorcharacterization/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/detectorcharacterization/envs/latest/lib/python3.4/site-packages Requirement already up-to-date: mkdocs==0.15.0 in /user_builds/detectorcharacterization/envs/latest/lib/python3.4/site-packages Requirement already up-to-date: mock==1.0.1 in /user_builds/detectorcharacterization/envs/latest/lib/python3.4/site-packages Requirement already up-to-date: pillow==2.6.1 in /user_builds/detectorcharacterization/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-017g0ud7/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/detectorcharacterization/envs/latest/lib/python3.4/site-packages Requirement already up-to-date: commonmark==0.5.4 in /user_builds/detectorcharacterization/envs/latest/lib/python3.4/site-packages Requirement already up-to-date: recommonmark==0.1.1 in /user_builds/detectorcharacterization/envs/latest/lib/python3.4/site-packages Requirement already up-to-date: six>=1.4 in /user_builds/detectorcharacterization/envs/latest/lib/python3.4/site-packages (from sphinx==1.3.5) Requirement already up-to-date: snowballstemmer>=1.1 in /user_builds/detectorcharacterization/envs/latest/lib/python3.4/site-packages (from sphinx==1.3.5) Requirement already up-to-date: Jinja2>=2.3 in /user_builds/detectorcharacterization/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/detectorcharacterization/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/detectorcharacterization/envs/latest/lib/python3.4/site-packages (from mkdocs==0.15.0) Requirement already up-to-date: PyYAML>=3.10 in /user_builds/detectorcharacterization/envs/latest/lib/python3.4/site-packages (from mkdocs==0.15.0) Requirement already up-to-date: livereload>=2.3.2 in /user_builds/detectorcharacterization/envs/latest/lib/python3.4/site-packages (from mkdocs==0.15.0) Requirement already up-to-date: Markdown>=2.3.1 in /user_builds/detectorcharacterization/envs/latest/lib/python3.4/site-packages (from mkdocs==0.15.0) Requirement already up-to-date: click>=4.0 in /user_builds/detectorcharacterization/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/detectorcharacterization/envs/latest/lib/python3.4/site-packages (from mkdocs==0.15.0) Requirement already up-to-date: tornado>=4.1 in /user_builds/detectorcharacterization/envs/latest/lib/python3.4/site-packages (from mkdocs==0.15.0) Requirement already up-to-date: requests in /user_builds/detectorcharacterization/envs/latest/lib/python3.4/site-packages (from readthedocs-sphinx-ext) Requirement already up-to-date: nilsimsa>=0.3.7 in /user_builds/detectorcharacterization/envs/latest/lib/python3.4/site-packages (from readthedocs-sphinx-ext) Requirement already up-to-date: MarkupSafe>=0.23 in /user_builds/detectorcharacterization/envs/latest/lib/python3.4/site-packages (from Jinja2>=2.3->sphinx==1.3.5) Requirement already up-to-date: pytz>=2015.7 in /user_builds/detectorcharacterization/envs/latest/lib/python3.4/site-packages (from babel!=2.0,>=1.3->sphinx==1.3.5) Requirement already up-to-date: backports-abc>=0.4 in /user_builds/detectorcharacterization/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/detectorcharacterization/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/detectorcharacterization/envs/latest/lib/python3.4/site-packages (from requests->readthedocs-sphinx-ext) Requirement already up-to-date: certifi>=2017.4.17 in /user_builds/detectorcharacterization/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/detectorcharacterization/envs/latest/lib/python3.4/site-packages (from requests->readthedocs-sphinx-ext) Installing collected packages: sphinx-rtd-theme, sphinx, setuptools, readthedocs-sphinx-ext 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' Successfully installed 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.1.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. [rtd-command-info] start-time: 2019-07-16T09:01:31.065000Z, end-time: 2019-07-16T09:02:00.586000Z, duration: 29, exit-code: 0 python /user_builds/detectorcharacterization/envs/latest/bin/pip install --exists-action=w --cache-dir /user_builds/detectorcharacterization/.cache/pip -rcalibrationReport/doc/requirements.txt Collecting sphinx==1.4.5 (from -r calibrationReport/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 calibrationReport/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/detectorcharacterization/envs/latest/lib/python3.4/site-packages (from -r calibrationReport/doc/requirements.txt (line 3)) Requirement already satisfied: slumber in /user_builds/detectorcharacterization/envs/latest/lib/python3.4/site-packages (from -r calibrationReport/doc/requirements.txt (line 4)) Requirement already satisfied: snowballstemmer>=1.1 in /user_builds/detectorcharacterization/envs/latest/lib/python3.4/site-packages (from sphinx==1.4.5->-r calibrationReport/doc/requirements.txt (line 1)) Requirement already satisfied: Jinja2>=2.3 in /user_builds/detectorcharacterization/envs/latest/lib/python3.4/site-packages (from sphinx==1.4.5->-r calibrationReport/doc/requirements.txt (line 1)) Requirement already satisfied: Pygments>=2.0 in /user_builds/detectorcharacterization/envs/latest/lib/python3.4/site-packages (from sphinx==1.4.5->-r calibrationReport/doc/requirements.txt (line 1)) Requirement already satisfied: six>=1.4 in /user_builds/detectorcharacterization/envs/latest/lib/python3.4/site-packages (from sphinx==1.4.5->-r calibrationReport/doc/requirements.txt (line 1)) Requirement already satisfied: babel!=2.0,>=1.3 in /user_builds/detectorcharacterization/envs/latest/lib/python3.4/site-packages (from sphinx==1.4.5->-r calibrationReport/doc/requirements.txt (line 1)) Requirement already satisfied: alabaster<0.8,>=0.7 in /user_builds/detectorcharacterization/envs/latest/lib/python3.4/site-packages (from sphinx==1.4.5->-r calibrationReport/doc/requirements.txt (line 1)) Requirement already satisfied: imagesize in /user_builds/detectorcharacterization/envs/latest/lib/python3.4/site-packages (from sphinx==1.4.5->-r calibrationReport/doc/requirements.txt (line 1)) Requirement already satisfied: docutils>=0.11 in /user_builds/detectorcharacterization/envs/latest/lib/python3.4/site-packages (from sphinx==1.4.5->-r calibrationReport/doc/requirements.txt (line 1)) Requirement already satisfied: gitdb2>=2.0.0 in /user_builds/detectorcharacterization/envs/latest/lib/python3.4/site-packages (from gitpython->-r calibrationReport/doc/requirements.txt (line 3)) Requirement already satisfied: requests in /user_builds/detectorcharacterization/envs/latest/lib/python3.4/site-packages (from slumber->-r calibrationReport/doc/requirements.txt (line 4)) Requirement already satisfied: MarkupSafe>=0.23 in /user_builds/detectorcharacterization/envs/latest/lib/python3.4/site-packages (from Jinja2>=2.3->sphinx==1.4.5->-r calibrationReport/doc/requirements.txt (line 1)) Requirement already satisfied: pytz>=2015.7 in /user_builds/detectorcharacterization/envs/latest/lib/python3.4/site-packages (from babel!=2.0,>=1.3->sphinx==1.4.5->-r calibrationReport/doc/requirements.txt (line 1)) Requirement already satisfied: smmap2>=2.0.0 in /user_builds/detectorcharacterization/envs/latest/lib/python3.4/site-packages (from gitdb2>=2.0.0->gitpython->-r calibrationReport/doc/requirements.txt (line 3)) Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /user_builds/detectorcharacterization/envs/latest/lib/python3.4/site-packages (from requests->slumber->-r calibrationReport/doc/requirements.txt (line 4)) Requirement already satisfied: urllib3<1.25,>=1.21.1 in /user_builds/detectorcharacterization/envs/latest/lib/python3.4/site-packages (from requests->slumber->-r calibrationReport/doc/requirements.txt (line 4)) Requirement already satisfied: certifi>=2017.4.17 in /user_builds/detectorcharacterization/envs/latest/lib/python3.4/site-packages (from requests->slumber->-r calibrationReport/doc/requirements.txt (line 4)) Requirement already satisfied: idna<2.9,>=2.5 in /user_builds/detectorcharacterization/envs/latest/lib/python3.4/site-packages (from requests->slumber->-r calibrationReport/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.1.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. [rtd-command-info] start-time: 2019-07-16T09:02:12.149000Z, end-time: 2019-07-16T09:02:12.189000Z, duration: 0, exit-code: 0 cat conf.py # -*- coding: utf-8 -*- # # DetectorCharacterization 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 import subprocess import sphinx_rtd_theme import slumber from git import Repo, InvalidGitRepositoryError os.makedirs(os.path.abspath('../calibrationReport'), exist_ok=True) p = subprocess.Popen(["./updateSubmodule.sh"]) p.communicate() sys.path.append(os.path.abspath("../calibrationReport/lib/")) import create_all_rst create_all_rst.create(os.path.abspath("../calibrationReport/lib/"), os.path.abspath("../figures"),"../../../../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 = ['../calibrationReport/doc/_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'DC' 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) } for proj in projects: print(proj['slug']) intersphinx_mapping[proj['slug'].replace('-', '')] = \ ('{}/docs/{}/en/latest'.format(RTDHOST, proj['slug']), 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 = ['../calibrationReport/doc/_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 = 'DCdoc' # -- 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', 'DC.tex', u'DC 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', 'DC', u'DC 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', 'DC', u'DC Documentation', u'M.Karnevskiy', 'DC', '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/detectorcharacterization/downloads/pdf/latest/"), ("htmlzip", "//exflrtd.desy.de/projects/detectorcharacterization/downloads/htmlzip/latest/"), ("epub", "//exflrtd.desy.de/projects/detectorcharacterization/downloads/epub/latest/"), ], 'subprojects': [ ], 'slug': 'detectorcharacterization', 'name': u'DetectorCharacterization', 'rtd_language': u'en', 'canonical_url': 'http://exflrtd.desy.de/docs/detectorcharacterization/en/latest/', 'analytics_code': '', 'single_version': False, 'conf_py_path': '/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': '25e9797d', } 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-07-16T09:02:12.548000Z, end-time: 2019-07-16T09:02:21.410000Z, duration: 8, exit-code: 1 python /user_builds/detectorcharacterization/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... Entering 'calibrationReport' From https://git.xfel.eu/gitlab/detectors/calibrationReport * branch master -> FETCH_HEAD Updating 8920d70..c9b2afc Fast-forward .gitignore | 2 +- doc/_static/style.css | 42 ++++- doc/conf.py | 38 ++++- doc/index.rst | 4 +- lib/conf.yaml | 4 +- lib/create_all_rst.py | 444 ++++++++++++++++++++++++++++++-------------------- lib/sort_plots.py | 69 +++++--- lib/write_rst.py | 33 ++-- 8 files changed, 409 insertions(+), 227 deletions(-) /user_builds/detectorcharacterization/checkouts/latest/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/detectorcharacterization/checkouts/latest/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()) Traceback (most recent call last): File "/user_builds/detectorcharacterization/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/detectorcharacterization/envs/latest/lib/python3.4/site-packages/sphinx/application.py", line 137, in __init__ confoverrides or {}, self.tags) File "/user_builds/detectorcharacterization/envs/latest/lib/python3.4/site-packages/sphinx/config.py", line 292, in __init__ execfile_(filename, config) File "/user_builds/detectorcharacterization/envs/latest/lib/python3.4/site-packages/sphinx/util/pycompat.py", line 130, in execfile_ exec_(code, _globals) File "conf.py", line 32, in create_all_rst.create(os.path.abspath("../calibrationReport/lib/"), os.path.abspath("../figures"),"../../../../figures") File "/user_builds/detectorcharacterization/checkouts/latest/calibrationReport/lib/create_all_rst.py", line 328, in create create_reports(fig_pth_repo, fig_pth_vrt, lib_pth, conf) File "/user_builds/detectorcharacterization/checkouts/latest/calibrationReport/lib/create_all_rst.py", line 294, in create_reports det_path = os.path.abspath("{}/{}/".format(plots_path, det_name)) UnboundLocalError: local variable 'det_name' referenced before assignment Exception occurred: File "/user_builds/detectorcharacterization/checkouts/latest/calibrationReport/lib/create_all_rst.py", line 294, in create_reports det_path = os.path.abspath("{}/{}/".format(plots_path, det_name)) UnboundLocalError: local variable 'det_name' referenced before assignment The full traceback has been saved in /tmp/sphinx-err-rj7wf49y.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! Current path: /user_builds/detectorcharacterization/checkouts/latest/doc Detectors: [] SPB {'AGIPD1M1': {'bias-voltages': [300, 500], 'start-date': '2019-01-01', 'det-type': 'AGIPD', 'end-date': '2019-12-12', 'photon-energy': 9.2, 'use-existing': '', 'mem-cells': [128, 176], 'modules': '0-15', 'constants': ['Noise', 'SlopesFF', 'SlopesPC', 'Offset']}}