Read the Docs build information Build id: 21440 Project: european-xfel-offline-calibration Version: latest Commit: e7fa75880822ae0b8ebf8802f25df61baeef74d3 Date: 2021-03-08T14:35:36.987627Z State: finished Success: False [rtd-command-info] start-time: 2021-03-08T14:35:37.992424Z, end-time: 2021-03-08T14:35:59.757506Z, duration: 21, exit-code: 0 git clone --no-single-branch --depth 50 http://git.xfel.eu/gitlab/detectors/pycalibration.git . Cloning into '.'... [rtd-command-info] start-time: 2021-03-08T14:36:00.158362Z, end-time: 2021-03-08T14:36:01.154280Z, duration: 0, exit-code: 0 git checkout --force origin/doc/run_rtd Note: checking out 'origin/doc/run_rtd'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b HEAD is now at e7fa758 Remove install method - defaults to pip [rtd-command-info] start-time: 2021-03-08T14:36:01.287163Z, end-time: 2021-03-08T14:36:01.363741Z, duration: 0, exit-code: 0 git clean -d -f -f [rtd-command-info] start-time: 2021-03-08T14:36:02.953482Z, end-time: 2021-03-08T14:36:08.035655Z, duration: 5, exit-code: 0 python3.7 -mvirtualenv /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest Using base prefix '/home/docs/.pyenv/versions/3.7.3' New python executable in /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/bin/python3.7 Also creating executable in /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/bin/python Installing setuptools, pip, wheel... done. [rtd-command-info] start-time: 2021-03-08T14:36:08.174665Z, end-time: 2021-03-08T14:36:09.238660Z, duration: 1, exit-code: 0 /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/bin/python -m pip install --upgrade --no-cache-dir pip Requirement already satisfied: pip in /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/lib/python3.7/site-packages (21.0.1) [rtd-command-info] start-time: 2021-03-08T14:36:09.372205Z, end-time: 2021-03-08T14:36:21.786806Z, duration: 12, exit-code: 0 /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/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 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-py3-none-any.whl (543 kB) Collecting mock==1.0.1 Downloading mock-1.0.1.zip (861 kB) Collecting pillow==5.4.1 Downloading Pillow-5.4.1-cp37-cp37m-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.5-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 requests Downloading requests-2.25.1-py2.py3-none-any.whl (61 kB) Collecting Jinja2>=2.9 Downloading Jinja2-2.11.3-py2.py3-none-any.whl (125 kB) Collecting imagesize Downloading imagesize-1.2.0-py2.py3-none-any.whl (4.8 kB) Collecting sphinxcontrib-websupport Downloading sphinxcontrib_websupport-1.2.4-py2.py3-none-any.whl (39 kB) Collecting snowballstemmer>=1.1 Downloading snowballstemmer-2.1.0-py2.py3-none-any.whl (93 kB) Collecting packaging Downloading packaging-20.9-py2.py3-none-any.whl (40 kB) Collecting six>=1.5 Downloading six-1.15.0-py2.py3-none-any.whl (10 kB) Collecting babel!=2.0,>=1.3 Downloading Babel-2.9.0-py2.py3-none-any.whl (8.8 MB) Collecting pytz>=2015.7 Downloading pytz-2021.1-py2.py3-none-any.whl (510 kB) Collecting MarkupSafe>=0.23 Downloading MarkupSafe-1.1.1-cp37-cp37m-manylinux2010_x86_64.whl (33 kB) Collecting idna<3,>=2.5 Downloading idna-2.10-py2.py3-none-any.whl (58 kB) Collecting chardet<5,>=3.0.2 Downloading chardet-4.0.0-py2.py3-none-any.whl (178 kB) Collecting certifi>=2017.4.17 Downloading certifi-2020.12.5-py2.py3-none-any.whl (147 kB) Collecting urllib3<1.27,>=1.21.1 Downloading urllib3-1.26.3-py2.py3-none-any.whl (137 kB) Collecting pyparsing>=2.0.2 Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB) Collecting sphinxcontrib-serializinghtml Downloading sphinxcontrib_serializinghtml-1.1.4-py2.py3-none-any.whl (89 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-py3-none-any.whl size=23755 sha256=6955af8f1efbc389504479292146a891e32df406fcf73a7d7c5e107ee0d0268b Stored in directory: /tmp/pip-ephem-wheel-cache-9tzszj_g/wheels/7a/94/b1/0fdc5339a5bd487a5cc15421ec200d9ba3e2aa7190e4a727f1 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-py3-none-any.whl size=491059 sha256=ab4c472865a6c4e0acaac6bf50da27a3f766efc668da6e4823bf8f3f39862f11 Stored in directory: /tmp/pip-ephem-wheel-cache-9tzszj_g/wheels/56/b0/fe/4410d17b32f1f0c3cf54cdfb2bc04d7b4b8f4ae377e2229ba0 Successfully built mock future Installing collected packages: urllib3, sphinxcontrib-serializinghtml, pytz, pyparsing, MarkupSafe, idna, chardet, certifi, sphinxcontrib-websupport, snowballstemmer, six, setuptools, requests, Pygments, packaging, Jinja2, imagesize, future, docutils, babel, alabaster, sphinx, commonmark, sphinx-rtd-theme, recommonmark, readthedocs-sphinx-ext, pillow, mock Attempting uninstall: setuptools Found existing installation: setuptools 54.1.1 Uninstalling setuptools-54.1.1: Successfully uninstalled setuptools-54.1.1 Successfully installed Jinja2-2.11.3 MarkupSafe-1.1.1 Pygments-2.3.1 alabaster-0.7.12 babel-2.9.0 certifi-2020.12.5 chardet-4.0.0 commonmark-0.8.1 docutils-0.14 future-0.18.2 idna-2.10 imagesize-1.2.0 mock-1.0.1 packaging-20.9 pillow-5.4.1 pyparsing-2.4.7 pytz-2021.1 readthedocs-sphinx-ext-1.0.4 recommonmark-0.5.0 requests-2.25.1 setuptools-41.0.1 six-1.15.0 snowballstemmer-2.1.0 sphinx-1.8.5 sphinx-rtd-theme-0.4.3 sphinxcontrib-serializinghtml-1.1.4 sphinxcontrib-websupport-1.2.4 urllib3-1.26.3 [rtd-command-info] start-time: 2021-03-08T14:36:22.752513Z, end-time: 2021-03-08T14:36:22.835285Z, duration: 0, exit-code: 0 cat docs/source/conf.py #!/usr/bin/env python3 # -*- coding: utf-8 -*- # # European XFEL Offline Calibration documentation build configuration file, created by # sphinx-quickstart on Sun Jun 10 17:32:30 2018. # # 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. # 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. # # import os # import sys # 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.autodoc', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.mathjax', 'sphinx.ext.ifconfig', 'sphinx.ext.viewcode', ] import glob import os import sys from subprocess import Popen sys.path.append(os.path.abspath("../pycalibration/")) p = Popen(["./makeAllDocs.sh"]) p.communicate() import mock autodoc_mock_imports = ['Cython'] MOCK_MODULES = ['numpy', 'matplotlib', 'matplotlib.pyplot','Cython'] for mod_name in MOCK_MODULES: sys.modules[mod_name] = mock.Mock() # 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 encoding of source files. # # source_encoding = 'utf-8-sig' # The master toctree document. master_doc = 'index' # General information about the project. project = 'European XFEL Offline Calibration' copyright = '2018, The European XFEL Detector Group' author = 'The European XFEL Detector Group' # 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 = '1.0' # The full version, including alpha/beta/rc tags. release = '1.0' # 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 # 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' # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. # This patterns also effect to html_static_path and html_extra_path exclude_patterns = [] # 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 = [] # If true, keep warnings as "system message" paragraphs in the built documents. # keep_warnings = False # If true, `todo` and `todoList` produce output, else they produce nothing. todo_include_todos = True # -- 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 = '' # 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 themes here, relative to this directory. # html_theme_path = [] # The name for this set of Sphinx documents. # " v documentation" by default. # # html_title = 'European XFEL Offline Calibration v1.0' # 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 (relative to this directory) to use as a 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'] # Add any extra paths that contain custom files (such as robots.txt or # .htaccess) here, relative to this directory. These files are copied # directly to the root of the documentation. # # html_extra_path = [] # If not None, a 'Last updated on:' timestamp is inserted at every page # bottom, using the given strftime format. # The empty string is equivalent to '%b %d, %Y'. # # html_last_updated_fmt = None # 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 = {} # 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 # Language to be used for generating the HTML full-text search index. # Sphinx supports the following languages: # 'da', 'de', 'en', 'es', 'fi', 'fr', 'h', 'it', 'ja' # 'nl', 'no', 'pt', 'ro', 'r', 'sv', 'tr', 'zh' # # html_search_language = 'en' # A dictionary with options for the search language support, empty by default. # 'ja' uses this config value. # 'zh' user can custom change `jieba` dictionary path. # # html_search_options = {'type': 'default'} # The name of a javascript file (relative to the configuration directory) that # implements a search results scorer. If empty, the default will be used. # # html_search_scorer = 'scorer.js' # Output file base name for HTML help builder. htmlhelp_basename = 'EuropeanXFELOfflineCalibrationdoc' # -- 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': '', # Latex figure (float) alignment # # 'figure_align': 'htbp', 'extraclassoptions': 'openany, oneside', } # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, # author, documentclass [howto, manual, or own class]). latex_documents = [ (master_doc, 'EuropeanXFELOfflineCalibration.tex', 'European XFEL Offline Calibration Documentation', 'The European XFEL Detector Group', 'manual', True), ] # 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 = [] # It false, will not define \strong, \code, itleref, \crossref ... but only # \sphinxstrong, ..., \sphinxtitleref, ... To help avoid clash with user added # packages. # # latex_keep_old_macro_names = True # 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 = [ (master_doc, 'europeanxfelofflinecalibration', 'European XFEL Offline Calibration Documentation', [author], 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 = [ (master_doc, 'EuropeanXFELOfflineCalibration', 'European XFEL Offline Calibration Documentation', author, 'EuropeanXFELOfflineCalibration', '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' # If true, do not generate a @detailmenu in the "Top" node's menu. # # texinfo_no_detailmenu = False # Example configuration for intersphinx: refer to the Python standard library. intersphinx_mapping = {'https://docs.python.org/': None} # first install pandoc if necessary, this is mainly meant for the RTD builds try: from nbconvert.utils.pandoc import check_pandoc_version check_pandoc_version() print("Pandoc was found!") except: print("Installing Pandoc!") from subprocess import check_call pandoc_url = "https://github.com/jgm/pandoc/releases/download/2.2.1/pandoc-2.2.1-1-amd64.deb" pandoc_pack = "pandoc-2.2.1-1-amd64.deb" check_call(["wget", pandoc_url]) check_call(["dpkg", "-i", pandoc_pack]) import os from subprocess import check_output from textwrap import dedent, indent import nbformat from nbconvert import RSTExporter # generate the list of available notebooks from xfel_calibrate import notebooks rst_exporter = RSTExporter() with open("available_notebooks.rst", "w") as f: f.write(dedent(""" .. _available_notebooks: Available Notebooks =================== The following notebooks are currently integrated into the European XFEL Offline Calibration tool chain. """)) for detector in sorted(notebooks.notebooks.keys()): values = notebooks.notebooks[detector] f.write("{}\n".format(detector)) f.write("{}\n".format("-"*len(detector))) f.write("\n") for caltype in sorted(values.keys()): data = values[caltype] nbpath = os.path.abspath("{}/../../../{}".format(__file__, data["notebook"])) with open(nbpath, "r") as nf: nb = nbformat.read(nf, as_version=4) def first_markdown_cell(nb): for cell in nb.cells: if cell.cell_type == 'markdown': return cell mdcell = first_markdown_cell(nb) nb.cells = [mdcell] # we only want this single cell body, _ = rst_exporter.from_notebook_node(nb) adjusted = [] # adjust titles for line in body.split("\n"): if line.startswith("=="): line = line.replace("=", "+") if line.startswith("--"): line = line.replace("-", "~") adjusted.append(line) f.write("\n".join(adjusted)) f.write("\n") f.write("To invoke this notebook and display help use:\n\n") f.write(".. code-block:: bash\n\n") f.write(" xfel-calibrate {} {} --help\n\n".format(detector, caltype)) f.write("The full parameter list of this notebook (with defaults is): \n\n") f.write(".. code-block:: bash\n\n") nb_help = ["xfel-calibrate", detector, caltype, "--help"] output = check_output(nb_help).decode('utf8') f.write(indent(output.replace("DETECTOR", detector).replace("TYPE", caltype), " "*4)) f.write("\n\n") # add test results test_artefact_dir = os.path.realpath("../../tests/artefacts") import shutil import textwrap from datetime import datetime from uuid import uuid4 import tabulate from dateutil.parser import parse from lxml import etree def xml_to_rst_report(xml, git_tag, reports=[]): e = etree.fromstring(xml.encode()) rst = [""] rst += ["Test execution for {test_name} on {ex_date}"] test_name, ex_date = e.get("name").split("-") ex_date = parse(ex_date) rst[-1] = rst[-1].format(test_name=test_name, ex_date=ex_date) rst += ["="*len(rst[-1])] rst += [""] num_tests = e.get("tests") num_err = int(e.get("errors")) num_fail = int(e.get("failures")) num_skip = int(e.get("skipped")) # create a summary header if num_err + num_fail == 0: rst += [":header-passed:`✓`"] else: rst += [":header-failed:`❌`"] if num_skip > 0: rst[-1] += ":header-skipped:`⚠`" rst += [""] # give a summary rst += [":Git tag: {git_tag}".format(git_tag=git_tag)] rst += [":Tests: {num_tests}".format(num_tests=num_tests)] rst += [":Errors: {num_err}".format(num_err=num_err)] rst += [":Failures: {num_fail}".format(num_fail=num_fail)] rst += [":Skipped: {num_skip}".format(num_skip=num_skip)] rst += [":Duration: {duration}s".format(duration=e.get("time"))] for rname, rpath in reports: rst += [":Report: `{} <{}>`_".format(rname, rpath)] rst += [""] # now the details rst += ["Detailed Results"] rst += ["-"*len(rst[-1])] rst += [""] detailed_failures = [] rows = [] for child in e: if child.tag != "testcase": continue name = child.get("name") extime = child.get("time") status = ":passed:`passed`" msg = "" etype = "" if len(child): # children are pressent so test failed or skipped detail = child[0] etype = detail.get("type") msg = detail.get("message") if etype == "skip": status = ":skipped:`skipped`" else: status= ":failed:`failed`" detailed_failures.append((name, detail.text)) msg = "\n".join(textwrap.wrap(msg, 20)) row = [status, name, etype, msg, extime ] rows.append(row) header = ["Result", "Test", "Error", "Message", "Duration (s)"] tblrst = tabulate.tabulate(rows, headers=header, tablefmt="rst") rst += tblrst.split("\n") rst += [""] for test, report in detailed_failures: rst += ["Failure report for: {}".format(test)] rst += ["~"*len(rst[-1])] rst += [""] rst += [".. code-block:: python"] rst += textwrap.indent(report, " "*4).split("\n") rst += [""] do_console = False for child in e: if child.tag == "system-out" and len(child.text.strip()): do_console = True break if do_console: # console output rst += ["Console Output"] rst += ["-"*len(rst[-1])] rst += [""] for child in e: if child.tag != "system-out": continue rst += [".. code-block:: console"] rst += textwrap.indent(child.text, " "*4).split("\n") return "\n".join(rst) def sorted_dir(folder): def getmtime(name): path = os.path.join(folder, name) return os.path.getmtime(path) sort = sorted(os.listdir(folder), key=getmtime, reverse=True) return [(s, datetime.fromtimestamp(getmtime(s))) for s in sort] header = """ Test Results ++++++++++++ Results are organized by git commit, and sorted descending by date. Contents: .. toctree:: :maxdepth: 2 """ if not os.path.exists("./test_rsts"): os.makedirs("./test_rsts") with open("test_results.rst", "w") as f: f.write(header) for commit, modtime in sorted_dir(test_artefact_dir): with open("./test_rsts/{}.rst".format(commit), "w") as fr: rst = [".. include:: roles.rst"] rst += [""] rst += ["{} - {}".format(commit[:8], modtime)] rst += ["+"*len(rst[-1])] rst += [""] fr.write("\n".join(rst)) # copy reports pdfs = glob.glob("{}/{}/*/*.pdf".format(test_artefact_dir, commit)) if not os.path.exists("./_static/reports/{}".format(commit)): os.makedirs("./_static/reports/{}".format(commit)) reports = {} for pdf in pdfs: ppath = "{}/{}.pdf".format(commit, uuid4()) shutil.copyfile(pdf, "./_static/reports/{}".format(ppath)) rloc = pdf.split("/")[-2] rlist = reports.get(rloc, []) rname = os.path.basename(pdf).split(".")[0] rlist.append((rname, "../_static/reports/{}".format(ppath))) reports[rloc] = rlist xmls = glob.glob("{}/{}/*/TEST*.xml".format(test_artefact_dir, commit)) for xml in xmls: rloc = xml.split("/")[-2] with open(xml, "r") as xf: xs = xf.read() rst = xml_to_rst_report(xs, commit, reports=reports.get(rloc, [])) fr.write(rst) f.write(" test_rsts/{}\n".format(commit)) def setup(app): app.add_stylesheet('css/test_decorators.css') ########################################################################### # 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/"), ("stable", "/en/stable/"), ("doc-commonspace", "/en/doc-commonspace/"), ], 'downloads': [ ], 'subprojects': [ ], 'slug': 'european-xfel-offline-calibration', 'name': u'European XFEL Offline Calibration', 'rtd_language': u'en', 'programming_language': u'py', 'canonical_url': 'http://rtd.xfel.eu/docs/european-xfel-offline-calibration/en/latest/', 'analytics_code': 'None', 'single_version': False, 'conf_py_path': '/docs/source/', 'api_host': 'http://rtd.xfel.eu', 'github_user': 'None', 'proxied_api_host': '/_', 'github_repo': 'None', 'github_version': 'doc/run_rtd', 'display_github': False, 'bitbucket_user': 'None', 'bitbucket_repo': 'None', 'bitbucket_version': 'doc/run_rtd', 'display_bitbucket': False, 'gitlab_user': 'None', 'gitlab_repo': 'None', 'gitlab_version': 'doc/run_rtd', 'display_gitlab': False, 'READTHEDOCS': True, 'using_theme': (html_theme == "default"), 'new_theme': (html_theme == "sphinx_rtd_theme"), 'source_suffix': SUFFIX, 'ad_free': False, 'docsearch_disabled': False, 'user_analytics_code': '', 'global_analytics_code': 'None', 'commit': 'e7fa7588', } 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-03-08T14:36:22.975580Z, end-time: 2021-03-08T14:36:27.823134Z, duration: 4, exit-code: 2 python /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/bin/sphinx-build -T -b readthedocs -d _build/doctrees-readthedocs -D language=en . _build/html Running Sphinx v1.8.5 ./makeAllDocs.sh: line 23: jupyter: command not found sed: can't read calversion.rst: No such file or directory sed: can't read calversion.rst: No such file or directory sed: can't read calversion.rst: No such file or directory sed: can't read calversion.rst: No such file or directory mv: cannot stat 'calversion.rst': No such file or directory cat: calversion.rst.end: No such file or directory rm: cannot remove 'calversion.rst.end': No such file or directory rm: cannot remove '*.bak': No such file or directory --2021-03-08 14:36:23-- https://github.com/jgm/pandoc/releases/download/2.2.1/pandoc-2.2.1-1-amd64.deb Resolving github.com (github.com)... 140.82.121.3 Connecting to github.com (github.com)|140.82.121.3|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://github-releases.githubusercontent.com/571770/794e039e-5511-11e8-8698-24e0327313f5?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210308%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210308T143623Z&X-Amz-Expires=300&X-Amz-Signature=e478ea975c618afc8b28da8044d66342a427f2499c10cdfc1a5e1a42a9d81160&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=571770&response-content-disposition=attachment%3B%20filename%3Dpandoc-2.2.1-1-amd64.deb&response-content-type=application%2Foctet-stream [following] --2021-03-08 14:36:23-- https://github-releases.githubusercontent.com/571770/794e039e-5511-11e8-8698-24e0327313f5?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210308%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210308T143623Z&X-Amz-Expires=300&X-Amz-Signature=e478ea975c618afc8b28da8044d66342a427f2499c10cdfc1a5e1a42a9d81160&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=571770&response-content-disposition=attachment%3B%20filename%3Dpandoc-2.2.1-1-amd64.deb&response-content-type=application%2Foctet-stream Resolving github-releases.githubusercontent.com (github-releases.githubusercontent.com)... 185.199.110.154, 185.199.109.154, 185.199.111.154, ... Connecting to github-releases.githubusercontent.com (github-releases.githubusercontent.com)|185.199.110.154|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 16303576 (16M) [application/octet-stream] Saving to: ‘pandoc-2.2.1-1-amd64.deb’ 0K .......... .......... .......... .......... .......... 0% 2.99M 5s 50K .......... .......... .......... .......... .......... 0% 11.1M 3s 100K .......... .......... .......... .......... .......... 0% 4.82M 3s 150K .......... .......... .......... .......... .......... 1% 14.3M 3s 200K .......... .......... .......... .......... .......... 1% 5.49M 3s 250K .......... .......... .......... .......... .......... 1% 18.0M 2s 300K .......... .......... .......... .......... .......... 2% 6.10M 2s 350K .......... .......... .......... .......... .......... 2% 14.1M 2s 400K .......... .......... .......... .......... .......... 2% 15.4M 2s 450K .......... .......... .......... .......... .......... 3% 12.9M 2s 500K .......... .......... .......... .......... .......... 3% 8.09M 2s 550K .......... .......... .......... .......... .......... 3% 12.0M 2s 600K .......... .......... .......... .......... .......... 4% 12.5M 2s 650K .......... .......... .......... .......... .......... 4% 6.13M 2s 700K .......... .......... .......... .......... .......... 4% 6.71M 2s 750K .......... .......... .......... .......... .......... 5% 8.52M 2s 800K .......... .......... .......... .......... .......... 5% 13.4M 2s 850K .......... .......... .......... .......... .......... 5% 8.30M 2s 900K .......... .......... .......... .......... .......... 5% 6.06M 2s 950K .......... .......... .......... .......... .......... 6% 7.43M 2s 1000K .......... .......... .......... .......... .......... 6% 18.2M 2s 1050K .......... .......... .......... .......... .......... 6% 3.60M 2s 1100K .......... .......... .......... .......... .......... 7% 16.2M 2s 1150K .......... .......... .......... .......... .......... 7% 10.7M 2s 1200K .......... .......... .......... .......... .......... 7% 4.83M 2s 1250K .......... .......... .......... .......... .......... 8% 12.4M 2s 1300K .......... .......... .......... .......... .......... 8% 13.7M 2s 1350K .......... .......... .......... .......... .......... 8% 7.35M 2s 1400K .......... .......... .......... .......... .......... 9% 8.63M 2s 1450K .......... .......... .......... .......... .......... 9% 10.3M 2s 1500K .......... .......... .......... .......... .......... 9% 9.62M 2s 1550K .......... .......... .......... .......... .......... 10% 8.24M 2s 1600K .......... .......... .......... .......... .......... 10% 4.90M 2s 1650K .......... .......... .......... .......... .......... 10% 2.33M 2s 1700K .......... .......... .......... .......... .......... 10% 15.2M 2s 1750K .......... .......... .......... .......... .......... 11% 16.9M 2s 1800K .......... .......... .......... .......... .......... 11% 13.3M 2s 1850K .......... .......... .......... .......... .......... 11% 10.1M 2s 1900K .......... .......... .......... .......... .......... 12% 12.9M 2s 1950K .......... .......... .......... .......... .......... 12% 14.4M 2s 2000K .......... .......... .......... .......... .......... 12% 14.0M 2s 2050K .......... .......... .......... .......... .......... 13% 11.2M 2s 2100K .......... .......... .......... .......... .......... 13% 18.2M 2s 2150K .......... .......... .......... .......... .......... 13% 9.08M 2s 2200K .......... .......... .......... .......... .......... 14% 7.10M 2s 2250K .......... .......... .......... .......... .......... 14% 11.1M 2s 2300K .......... .......... .......... .......... .......... 14% 20.7M 2s 2350K .......... .......... .......... .......... .......... 15% 9.69M 2s 2400K .......... .......... .......... .......... .......... 15% 6.40M 2s 2450K .......... .......... .......... .......... .......... 15% 18.6M 2s 2500K .......... .......... .......... .......... .......... 16% 12.1M 2s 2550K .......... .......... .......... .......... .......... 16% 7.79M 2s 2600K .......... .......... .......... .......... .......... 16% 11.8M 2s 2650K .......... .......... .......... .......... .......... 16% 10.7M 2s 2700K .......... .......... .......... .......... .......... 17% 9.19M 2s 2750K .......... .......... .......... .......... .......... 17% 3.65M 2s 2800K .......... .......... .......... .......... .......... 17% 16.5M 2s 2850K .......... .......... .......... .......... .......... 18% 16.5M 2s 2900K .......... .......... .......... .......... .......... 18% 15.8M 1s 2950K .......... .......... .......... .......... .......... 18% 2.92M 2s 3000K .......... .......... .......... .......... .......... 19% 15.9M 2s 3050K .......... .......... .......... .......... .......... 19% 16.8M 1s 3100K .......... .......... .......... .......... .......... 19% 3.87M 2s 3150K .......... .......... .......... .......... .......... 20% 15.5M 1s 3200K .......... .......... .......... .......... .......... 20% 15.1M 1s 3250K .......... .......... .......... .......... .......... 20% 16.1M 1s 3300K .......... .......... .......... .......... .......... 21% 13.4M 1s 3350K .......... .......... .......... .......... .......... 21% 12.0M 1s 3400K .......... .......... .......... .......... .......... 21% 15.2M 1s 3450K .......... .......... .......... .......... .......... 21% 19.5M 1s 3500K .......... .......... .......... .......... .......... 22% 14.7M 1s 3550K .......... .......... .......... .......... .......... 22% 9.79M 1s 3600K .......... .......... .......... .......... .......... 22% 16.1M 1s 3650K .......... .......... .......... .......... .......... 23% 10.1M 1s 3700K .......... .......... .......... .......... .......... 23% 10.3M 1s 3750K .......... .......... .......... .......... .......... 23% 3.39M 1s 3800K .......... .......... .......... .......... .......... 24% 13.2M 1s 3850K .......... .......... .......... .......... .......... 24% 12.9M 1s 3900K .......... .......... .......... .......... .......... 24% 9.52M 1s 3950K .......... .......... .......... .......... .......... 25% 3.69M 1s 4000K .......... .......... .......... .......... .......... 25% 16.2M 1s 4050K .......... .......... .......... .......... .......... 25% 20.0M 1s 4100K .......... .......... .......... .......... .......... 26% 17.2M 1s 4150K .......... .......... .......... .......... .......... 26% 9.37M 1s 4200K .......... .......... .......... .......... .......... 26% 19.9M 1s 4250K .......... .......... .......... .......... .......... 27% 3.02M 1s 4300K .......... .......... .......... .......... .......... 27% 21.6M 1s 4350K .......... .......... .......... .......... .......... 27% 16.0M 1s 4400K .......... .......... .......... .......... .......... 27% 20.8M 1s 4450K .......... .......... .......... .......... .......... 28% 19.0M 1s 4500K .......... .......... .......... .......... .......... 28% 11.6M 1s 4550K .......... .......... .......... .......... .......... 28% 16.6M 1s 4600K .......... .......... .......... .......... .......... 29% 17.1M 1s 4650K .......... .......... .......... .......... .......... 29% 4.25M 1s 4700K .......... .......... .......... .......... .......... 29% 22.8M 1s 4750K .......... .......... .......... .......... .......... 30% 9.65M 1s 4800K .......... .......... .......... .......... .......... 30% 14.3M 1s 4850K .......... .......... .......... .......... .......... 30% 7.48M 1s 4900K .......... .......... .......... .......... .......... 31% 25.8M 1s 4950K .......... .......... .......... .......... .......... 31% 10.1M 1s 5000K .......... .......... .......... .......... .......... 31% 18.0M 1s 5050K .......... .......... .......... .......... .......... 32% 2.28M 1s 5100K .......... .......... .......... .......... .......... 32% 21.8M 1s 5150K .......... .......... .......... .......... .......... 32% 24.6M 1s 5200K .......... .......... .......... .......... .......... 32% 21.7M 1s 5250K .......... .......... .......... .......... .......... 33% 16.8M 1s 5300K .......... .......... .......... .......... .......... 33% 10.7M 1s 5350K .......... .......... .......... .......... .......... 33% 21.0M 1s 5400K .......... .......... .......... .......... .......... 34% 24.4M 1s 5450K .......... .......... .......... .......... .......... 34% 18.8M 1s 5500K .......... .......... .......... .......... .......... 34% 17.3M 1s 5550K .......... .......... .......... .......... .......... 35% 3.39M 1s 5600K .......... .......... .......... .......... .......... 35% 22.8M 1s 5650K .......... .......... .......... .......... .......... 35% 23.1M 1s 5700K .......... .......... .......... .......... .......... 36% 23.1M 1s 5750K .......... .......... .......... .......... .......... 36% 8.56M 1s 5800K .......... .......... .......... .......... .......... 36% 16.5M 1s 5850K .......... .......... .......... .......... .......... 37% 9.69M 1s 5900K .......... .......... .......... .......... .......... 37% 14.0M 1s 5950K .......... .......... .......... .......... .......... 37% 12.2M 1s 6000K .......... .......... .......... .......... .......... 37% 18.4M 1s 6050K .......... .......... .......... .......... .......... 38% 2.76M 1s 6100K .......... .......... .......... .......... .......... 38% 23.5M 1s 6150K .......... .......... .......... .......... .......... 38% 16.1M 1s 6200K .......... .......... .......... .......... .......... 39% 28.7M 1s 6250K .......... .......... .......... .......... .......... 39% 17.4M 1s 6300K .......... .......... .......... .......... .......... 39% 12.6M 1s 6350K .......... .......... .......... .......... .......... 40% 5.47M 1s 6400K .......... .......... .......... .......... .......... 40% 18.6M 1s 6450K .......... .......... .......... .......... .......... 40% 28.5M 1s 6500K .......... .......... .......... .......... .......... 41% 11.5M 1s 6550K .......... .......... .......... .......... .......... 41% 8.20M 1s 6600K .......... .......... .......... .......... .......... 41% 13.9M 1s 6650K .......... .......... .......... .......... .......... 42% 16.7M 1s 6700K .......... .......... .......... .......... .......... 42% 3.73M 1s 6750K .......... .......... .......... .......... .......... 42% 22.1M 1s 6800K .......... .......... .......... .......... .......... 43% 31.6M 1s 6850K .......... .......... .......... .......... .......... 43% 25.6M 1s 6900K .......... .......... .......... .......... .......... 43% 21.0M 1s 6950K .......... .......... .......... .......... .......... 43% 3.30M 1s 7000K .......... .......... .......... .......... .......... 44% 32.7M 1s 7050K .......... .......... .......... .......... .......... 44% 25.2M 1s 7100K .......... .......... .......... .......... .......... 44% 18.4M 1s 7150K .......... .......... .......... .......... .......... 45% 26.4M 1s 7200K .......... .......... .......... .......... .......... 45% 23.3M 1s 7250K .......... .......... .......... .......... .......... 45% 24.7M 1s 7300K .......... .......... .......... .......... .......... 46% 18.3M 1s 7350K .......... .......... .......... .......... .......... 46% 12.2M 1s 7400K .......... .......... .......... .......... .......... 46% 16.9M 1s 7450K .......... .......... .......... .......... .......... 47% 16.5M 1s 7500K .......... .......... .......... .......... .......... 47% 11.6M 1s 7550K .......... .......... .......... .......... .......... 47% 3.71M 1s 7600K .......... .......... .......... .......... .......... 48% 18.0M 1s 7650K .......... .......... .......... .......... .......... 48% 16.6M 1s 7700K .......... .......... .......... .......... .......... 48% 12.3M 1s 7750K .......... .......... .......... .......... .......... 48% 12.0M 1s 7800K .......... .......... .......... .......... .......... 49% 13.3M 1s 7850K .......... .......... .......... .......... .......... 49% 16.3M 1s 7900K .......... .......... .......... .......... .......... 49% 2.82M 1s 7950K .......... .......... .......... .......... .......... 50% 44.8M 1s 8000K .......... .......... .......... .......... .......... 50% 23.8M 1s 8050K .......... .......... .......... .......... .......... 50% 22.7M 1s 8100K .......... .......... .......... .......... .......... 51% 32.3M 1s 8150K .......... .......... .......... .......... .......... 51% 18.7M 1s 8200K .......... .......... .......... .......... .......... 51% 11.9M 1s 8250K .......... .......... .......... .......... .......... 52% 75.9M 1s 8300K .......... .......... .......... .......... .......... 52% 3.66M 1s 8350K .......... .......... .......... .......... .......... 52% 33.2M 1s 8400K .......... .......... .......... .......... .......... 53% 25.4M 1s 8450K .......... .......... .......... .......... .......... 53% 37.0M 1s 8500K .......... .......... .......... .......... .......... 53% 22.4M 1s 8550K .......... .......... .......... .......... .......... 54% 25.5M 1s 8600K .......... .......... .......... .......... .......... 54% 2.29M 1s 8650K .......... .......... .......... .......... .......... 54% 31.2M 1s 8700K .......... .......... .......... .......... .......... 54% 24.6M 1s 8750K .......... .......... .......... .......... .......... 55% 34.8M 1s 8800K .......... .......... .......... .......... .......... 55% 21.3M 1s 8850K .......... .......... .......... .......... .......... 55% 42.9M 1s 8900K .......... .......... .......... .......... .......... 56% 24.2M 1s 8950K .......... .......... .......... .......... .......... 56% 13.2M 1s 9000K .......... .......... .......... .......... .......... 56% 12.9M 1s 9050K .......... .......... .......... .......... .......... 57% 22.2M 1s 9100K .......... .......... .......... .......... .......... 57% 3.24M 1s 9150K .......... .......... .......... .......... .......... 57% 144M 1s 9200K .......... .......... .......... .......... .......... 58% 47.8M 1s 9250K .......... .......... .......... .......... .......... 58% 24.2M 1s 9300K .......... .......... .......... .......... .......... 58% 41.5M 1s 9350K .......... .......... .......... .......... .......... 59% 21.3M 1s 9400K .......... .......... .......... .......... .......... 59% 21.1M 1s 9450K .......... .......... .......... .......... .......... 59% 10.1M 1s 9500K .......... .......... .......... .......... .......... 59% 2.51M 1s 9550K .......... .......... .......... .......... .......... 60% 25.2M 1s 9600K .......... .......... .......... .......... .......... 60% 43.1M 1s 9650K .......... .......... .......... .......... .......... 60% 25.3M 1s 9700K .......... .......... .......... .......... .......... 61% 36.5M 1s 9750K .......... .......... .......... .......... .......... 61% 22.7M 1s 9800K .......... .......... .......... .......... .......... 61% 28.0M 1s 9850K .......... .......... .......... .......... .......... 62% 10.2M 1s 9900K .......... .......... .......... .......... .......... 62% 18.7M 1s 9950K .......... .......... .......... .......... .......... 62% 17.1M 1s 10000K .......... .......... .......... .......... .......... 63% 13.7M 1s 10050K .......... .......... .......... .......... .......... 63% 15.2M 1s 10100K .......... .......... .......... .......... .......... 63% 2.67M 1s 10150K .......... .......... .......... .......... .......... 64% 23.8M 1s 10200K .......... .......... .......... .......... .......... 64% 25.8M 1s 10250K .......... .......... .......... .......... .......... 64% 38.8M 1s 10300K .......... .......... .......... .......... .......... 65% 25.6M 1s 10350K .......... .......... .......... .......... .......... 65% 42.0M 1s 10400K .......... .......... .......... .......... .......... 65% 19.4M 1s 10450K .......... .......... .......... .......... .......... 65% 15.3M 1s 10500K .......... .......... .......... .......... .......... 66% 28.1M 1s 10550K .......... .......... .......... .......... .......... 66% 23.7M 1s 10600K .......... .......... .......... .......... .......... 66% 37.1M 0s 10650K .......... .......... .......... .......... .......... 67% 3.38M 0s 10700K .......... .......... .......... .......... .......... 67% 93.1M 0s 10750K .......... .......... .......... .......... .......... 67% 23.3M 0s 10800K .......... .......... .......... .......... .......... 68% 43.8M 0s 10850K .......... .......... .......... .......... .......... 68% 26.1M 0s 10900K .......... .......... .......... .......... .......... 68% 9.40M 0s 10950K .......... .......... .......... .......... .......... 69% 8.64M 0s 11000K .......... .......... .......... .......... .......... 69% 25.8M 0s 11050K .......... .......... .......... .......... .......... 69% 8.61M 0s 11100K .......... .......... .......... .......... .......... 70% 32.9M 0s 11150K .......... .......... .......... .......... .......... 70% 14.0M 0s 11200K .......... .......... .......... .......... .......... 70% 13.8M 0s 11250K .......... .......... .......... .......... .......... 70% 18.0M 0s 11300K .......... .......... .......... .......... .......... 71% 15.3M 0s 11350K .......... .......... .......... .......... .......... 71% 12.6M 0s 11400K .......... .......... .......... .......... .......... 71% 3.51M 0s 11450K .......... .......... .......... .......... .......... 72% 43.0M 0s 11500K .......... .......... .......... .......... .......... 72% 26.7M 0s 11550K .......... .......... .......... .......... .......... 72% 44.0M 0s 11600K .......... .......... .......... .......... .......... 73% 26.5M 0s 11650K .......... .......... .......... .......... .......... 73% 4.70M 0s 11700K .......... .......... .......... .......... .......... 73% 89.7M 0s 11750K .......... .......... .......... .......... .......... 74% 25.1M 0s 11800K .......... .......... .......... .......... .......... 74% 24.8M 0s 11850K .......... .......... .......... .......... .......... 74% 25.2M 0s 11900K .......... .......... .......... .......... .......... 75% 37.5M 0s 11950K .......... .......... .......... .......... .......... 75% 24.3M 0s 12000K .......... .......... .......... .......... .......... 75% 26.7M 0s 12050K .......... .......... .......... .......... .......... 75% 20.0M 0s 12100K .......... .......... .......... .......... .......... 76% 3.75M 0s 12150K .......... .......... .......... .......... .......... 76% 35.7M 0s 12200K .......... .......... .......... .......... .......... 76% 3.60M 0s 12250K .......... .......... .......... .......... .......... 77% 75.4M 0s 12300K .......... .......... .......... .......... .......... 77% 24.9M 0s 12350K .......... .......... .......... .......... .......... 77% 37.5M 0s 12400K .......... .......... .......... .......... .......... 78% 30.0M 0s 12450K .......... .......... .......... .......... .......... 78% 44.7M 0s 12500K .......... .......... .......... .......... .......... 78% 30.1M 0s 12550K .......... .......... .......... .......... .......... 79% 12.7M 0s 12600K .......... .......... .......... .......... .......... 79% 24.5M 0s 12650K .......... .......... .......... .......... .......... 79% 25.5M 0s 12700K .......... .......... .......... .......... .......... 80% 16.9M 0s 12750K .......... .......... .......... .......... .......... 80% 14.5M 0s 12800K .......... .......... .......... .......... .......... 80% 13.8M 0s 12850K .......... .......... .......... .......... .......... 81% 32.0M 0s 12900K .......... .......... .......... .......... .......... 81% 15.8M 0s 12950K .......... .......... .......... .......... .......... 81% 12.2M 0s 13000K .......... .......... .......... .......... .......... 81% 14.9M 0s 13050K .......... .......... .......... .......... .......... 82% 21.9M 0s 13100K .......... .......... .......... .......... .......... 82% 17.8M 0s 13150K .......... .......... .......... .......... .......... 82% 2.97M 0s 13200K .......... .......... .......... .......... .......... 83% 34.3M 0s 13250K .......... .......... .......... .......... .......... 83% 44.6M 0s 13300K .......... .......... .......... .......... .......... 83% 28.9M 0s 13350K .......... .......... .......... .......... .......... 84% 23.0M 0s 13400K .......... .......... .......... .......... .......... 84% 2.80M 0s 13450K .......... .......... .......... .......... .......... 84% 16.1M 0s 13500K .......... .......... .......... .......... .......... 85% 136M 0s 13550K .......... .......... .......... .......... .......... 85% 18.1M 0s 13600K .......... .......... .......... .......... .......... 85% 155M 0s 13650K .......... .......... .......... .......... .......... 86% 18.3M 0s 13700K .......... .......... .......... .......... .......... 86% 127M 0s 13750K .......... .......... .......... .......... .......... 86% 5.55M 0s 13800K .......... .......... .......... .......... .......... 86% 27.5M 0s 13850K .......... .......... .......... .......... .......... 87% 42.2M 0s 13900K .......... .......... .......... .......... .......... 87% 25.0M 0s 13950K .......... .......... .......... .......... .......... 87% 40.0M 0s 14000K .......... .......... .......... .......... .......... 88% 24.2M 0s 14050K .......... .......... .......... .......... .......... 88% 42.8M 0s 14100K .......... .......... .......... .......... .......... 88% 26.1M 0s 14150K .......... .......... .......... .......... .......... 89% 4.67M 0s 14200K .......... .......... .......... .......... .......... 89% 39.0M 0s 14250K .......... .......... .......... .......... .......... 89% 28.3M 0s 14300K .......... .......... .......... .......... .......... 90% 40.7M 0s 14350K .......... .......... .......... .......... .......... 90% 24.2M 0s 14400K .......... .......... .......... .......... .......... 90% 41.8M 0s 14450K .......... .......... .......... .......... .......... 91% 25.1M 0s 14500K .......... .......... .......... .......... .......... 91% 3.98M 0s 14550K .......... .......... .......... .......... .......... 91% 34.8M 0s 14600K .......... .......... .......... .......... .......... 92% 47.8M 0s 14650K .......... .......... .......... .......... .......... 92% 25.0M 0s 14700K .......... .......... .......... .......... .......... 92% 46.5M 0s 14750K .......... .......... .......... .......... .......... 92% 16.9M 0s 14800K .......... .......... .......... .......... .......... 93% 16.6M 0s 14850K .......... .......... .......... .......... .......... 93% 8.33M 0s 14900K .......... .......... .......... .......... .......... 93% 38.4M 0s 14950K .......... .......... .......... .......... .......... 94% 10.2M 0s 15000K .......... .......... .......... .......... .......... 94% 38.1M 0s 15050K .......... .......... .......... .......... .......... 94% 15.9M 0s 15100K .......... .......... .......... .......... .......... 95% 19.2M 0s 15150K .......... .......... .......... .......... .......... 95% 13.8M 0s 15200K .......... .......... .......... .......... .......... 95% 25.6M 0s 15250K .......... .......... .......... .......... .......... 96% 18.2M 0s 15300K .......... .......... .......... .......... .......... 96% 10.2M 0s 15350K .......... .......... .......... .......... .......... 96% 38.0M 0s 15400K .......... .......... .......... .......... .......... 97% 4.07M 0s 15450K .......... .......... .......... .......... .......... 97% 42.8M 0s 15500K .......... .......... .......... .......... .......... 97% 25.7M 0s 15550K .......... .......... .......... .......... .......... 97% 45.4M 0s 15600K .......... .......... .......... .......... .......... 98% 26.2M 0s 15650K .......... .......... .......... .......... .......... 98% 75.0M 0s 15700K .......... .......... .......... .......... .......... 98% 35.7M 0s 15750K .......... .......... .......... .......... .......... 99% 3.32M 0s 15800K .......... .......... .......... .......... .......... 99% 26.1M 0s 15850K .......... .......... .......... .......... .......... 99% 41.5M 0s 15900K .......... .......... . 100% 22.2M=1.4s 2021-03-08 14:36:25 (11.4 MB/s) - ‘pandoc-2.2.1-1-amd64.deb’ saved [16303576/16303576] (Reading database ... 223555 files and directories currently installed.) Preparing to unpack pandoc-2.2.1-1-amd64.deb ... Unpacking pandoc (2.2.1-1) over (1.19.2.4~dfsg-1build4) ... Setting up pandoc (2.2.1-1) ... Traceback (most recent call last): File "/usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 368, in eval_config_file execfile_(filename, namespace) File "/usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/lib/python3.7/site-packages/sphinx/util/pycompat.py", line 150, in execfile_ exec_(code, _globals) File "/usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/checkouts/latest/docs/source/conf.py", line 387, in import nbformat ModuleNotFoundError: No module named 'nbformat' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/lib/python3.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/european-xfel-offline-calibration/envs/latest/lib/python3.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/european-xfel-offline-calibration/envs/latest/lib/python3.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/european-xfel-offline-calibration/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 380, in eval_config_file raise ConfigError(msg % traceback.format_exc()) sphinx.errors.ConfigError: There is a programmable error in your configuration file: Traceback (most recent call last): File "/usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 368, in eval_config_file execfile_(filename, namespace) File "/usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/lib/python3.7/site-packages/sphinx/util/pycompat.py", line 150, in execfile_ exec_(code, _globals) File "/usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/checkouts/latest/docs/source/conf.py", line 387, in import nbformat ModuleNotFoundError: No module named 'nbformat' 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/european-xfel-offline-calibration/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 368, in eval_config_file execfile_(filename, namespace) File "/usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/lib/python3.7/site-packages/sphinx/util/pycompat.py", line 150, in execfile_ exec_(code, _globals) File "/usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/checkouts/latest/docs/source/conf.py", line 387, in import nbformat ModuleNotFoundError: No module named 'nbformat' Installing Pandoc!