Read the Docs build information Build id: 190692 Project: cognite-sdk-python Version: latest Commit: a9d0feb1965c0d64fd33bfa91f3091d88c07f8c2 Date: 2019-03-11T15:23:40.279528Z State: finished Success: False [rtd-command-info] start-time: 2019-03-11T15:23:40.772654Z, end-time: 2019-03-11T15:23:40.779852Z, duration: 0, exit-code: 0 git remote set-url origin https://github.com/cognitedata/cognite-sdk-python.git [rtd-command-info] start-time: 2019-03-11T15:23:40.840782Z, end-time: 2019-03-11T15:23:41.290796Z, duration: 0, exit-code: 0 git fetch --tags --prune --prune-tags --depth 50 [rtd-command-info] start-time: 2019-03-11T15:23:41.498361Z, end-time: 2019-03-11T15:23:41.511668Z, duration: 0, exit-code: 0 git checkout --force origin/master HEAD is now at a9d0feb Upgrade and lock cognite_logger (#287) [rtd-command-info] start-time: 2019-03-11T15:23:41.577641Z, end-time: 2019-03-11T15:23:41.585481Z, duration: 0, exit-code: 0 git clean -d -f -f [rtd-command-info] start-time: 2019-03-11T15:23:42.351169Z, end-time: 2019-03-11T15:23:45.934060Z, duration: 3, exit-code: 0 python3.6 -mvirtualenv --no-site-packages --no-download Using base prefix '/home/docs/.pyenv/versions/3.6.4' New python executable in /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/bin/python3.6 Not overwriting existing python script /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/bin/python (you must use /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/bin/python3.6) Installing setuptools, pip, wheel... done. [rtd-command-info] start-time: 2019-03-11T15:23:45.997306Z, end-time: 2019-03-11T15:23:46.764485Z, duration: 0, exit-code: 0 python -m pip install --upgrade --cache-dir /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/.cache/pip pip Requirement already up-to-date: pip in /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.6/site-packages (19.0.3) [rtd-command-info] start-time: 2019-03-11T15:23:46.823770Z, end-time: 2019-03-11T15:23:48.986537Z, duration: 2, exit-code: 0 python -m pip install --upgrade --cache-dir /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/.cache/pip Pygments==2.2.0 setuptools<40 docutils==0.13.1 mock==1.0.1 pillow==2.6.1 alabaster>=0.7,<0.8,!=0.7.5 commonmark==0.5.4 recommonmark==0.4.0 sphinx<1.8 sphinx-rtd-theme<0.5 readthedocs-sphinx-ext<0.6 Requirement already up-to-date: Pygments==2.2.0 in /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.6/site-packages (2.2.0) Collecting setuptools<40 Using cached https://files.pythonhosted.org/packages/7f/e1/820d941153923aac1d49d7fc37e17b6e73bfbd2904959fffbad77900cf92/setuptools-39.2.0-py2.py3-none-any.whl Requirement already up-to-date: docutils==0.13.1 in /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.6/site-packages (0.13.1) Requirement already up-to-date: mock==1.0.1 in /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.6/site-packages (1.0.1) Requirement already up-to-date: pillow==2.6.1 in /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.6/site-packages (2.6.1) Requirement already up-to-date: alabaster!=0.7.5,<0.8,>=0.7 in /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.6/site-packages (0.7.12) Requirement already up-to-date: commonmark==0.5.4 in /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.6/site-packages (0.5.4) Requirement already up-to-date: recommonmark==0.4.0 in /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.6/site-packages (0.4.0) Requirement already up-to-date: sphinx<1.8 in /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.6/site-packages (1.7.9) Requirement already up-to-date: sphinx-rtd-theme<0.5 in /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.6/site-packages (0.4.3) Requirement already up-to-date: readthedocs-sphinx-ext<0.6 in /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.6/site-packages (0.5.17) Requirement already satisfied, skipping upgrade: six>=1.5 in /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.6/site-packages (from sphinx<1.8) (1.12.0) Requirement already satisfied, skipping upgrade: imagesize in /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.6/site-packages (from sphinx<1.8) (1.1.0) Requirement already satisfied, skipping upgrade: snowballstemmer>=1.1 in /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.6/site-packages (from sphinx<1.8) (1.2.1) Requirement already satisfied, skipping upgrade: babel!=2.0,>=1.3 in /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.6/site-packages (from sphinx<1.8) (2.6.0) Requirement already satisfied, skipping upgrade: requests>=2.0.0 in /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.6/site-packages (from sphinx<1.8) (2.21.0) Requirement already satisfied, skipping upgrade: sphinxcontrib-websupport in /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.6/site-packages (from sphinx<1.8) (1.1.0) Requirement already satisfied, skipping upgrade: packaging in /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.6/site-packages (from sphinx<1.8) (19.0) Requirement already satisfied, skipping upgrade: Jinja2>=2.3 in /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.6/site-packages (from sphinx<1.8) (2.10) Requirement already satisfied, skipping upgrade: pytz>=0a in /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.6/site-packages (from babel!=2.0,>=1.3->sphinx<1.8) (2018.9) Requirement already satisfied, skipping upgrade: urllib3<1.25,>=1.21.1 in /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.6/site-packages (from requests>=2.0.0->sphinx<1.8) (1.24.1) Requirement already satisfied, skipping upgrade: idna<2.9,>=2.5 in /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.6/site-packages (from requests>=2.0.0->sphinx<1.8) (2.8) Requirement already satisfied, skipping upgrade: chardet<3.1.0,>=3.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.6/site-packages (from requests>=2.0.0->sphinx<1.8) (3.0.4) Requirement already satisfied, skipping upgrade: certifi>=2017.4.17 in /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.6/site-packages (from requests>=2.0.0->sphinx<1.8) (2019.3.9) Requirement already satisfied, skipping upgrade: pyparsing>=2.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.6/site-packages (from packaging->sphinx<1.8) (2.3.1) Requirement already satisfied, skipping upgrade: MarkupSafe>=0.23 in /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.6/site-packages (from Jinja2>=2.3->sphinx<1.8) (1.1.1) Installing collected packages: setuptools Found existing installation: setuptools 40.6.3 Uninstalling setuptools-40.6.3: Successfully uninstalled setuptools-40.6.3 Successfully installed setuptools-39.2.0 [rtd-command-info] start-time: 2019-03-11T15:23:49.545021Z, end-time: 2019-03-11T15:23:49.604682Z, duration: 0, exit-code: 0 cat docs/source/conf.py #!/usr/bin/env python3 # -*- coding: utf-8 -*- # # cognite-sdk-python documentation build configuration file, created by # sphinx-quickstart on Mon Jan 8 14:36:34 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("../..")) import cognite.client # isort:skip # -- 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.napoleon"] # Add any paths that contain templates here, relative to this directory. templates_path = ["_templates"] # The suffix(es) of source filenames. # You can specify multiple suffix as a list of string: # # source_suffix = ['.rst', '.md'] source_suffix = ".rst" # The master toctree document. master_doc = "index" # General information about the project. project = "cognite-sdk" copyright = "2018, Erlend Vollset" author = "Erlend Vollset" # 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 = cognite.client.__version__ # The full version, including alpha/beta/rc tags. release = cognite.client.__version__ # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. # # This is also used if you do content translation via gettext catalogs. # Usually you set "language" from the command line for these cases. language = None # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. # This patterns also effect to html_static_path and html_extra_path exclude_patterns = [] # The name of the Pygments (syntax highlighting) style to use. pygments_style = "sphinx" # If true, `todo` and `todoList` produce output, else they produce nothing. todo_include_todos = False # -- 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 = {} # 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"] # Custom sidebar templates, must be a dictionary that maps document names # to template names. # # This is required for the alabaster theme # refs: http://alabaster.readthedocs.io/en/latest/installation.html#sidebars html_sidebars = { "**": ["relations.html", "searchbox.html", "globaltoc.html"] # needs 'show_related': True theme option to display } html_favicon = "img/cognite_logo_black.png" html_logo = "img/cognite_logo_white.png" # -- Options for HTMLHelp output ------------------------------------------ # Output file base name for HTML help builder. htmlhelp_basename = "cognite-sdk-pythondoc" # -- 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', } # 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, "cognite-sdk-python.tex", "cognite-sdk-python Documentation", "Erlend Vollset", "manual") ] # -- 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, "cognite-sdk-python", "cognite-sdk-python Documentation", [author], 1)] # -- 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, "cognite-sdk-python", "cognite-sdk-python Documentation", author, "cognite-sdk-python", "One line description of project.", "Miscellaneous", ) ] ########################################################################### # 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 mulitple 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 = 'https://readthedocs.com/websupport' websupport2_static_url = 'https://media.readthedocs.com/' #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': "https://media.readthedocs.com/media/", 'STATIC_URL': "https://media.readthedocs.com/", 'PRODUCTION_DOMAIN': "readthedocs.com", 'versions': [ ("latest", "/en/latest/"), ("0.12", "/en/0.12/"), ("0.11", "/en/0.11/"), ("0.8", "/en/0.8/"), ], 'downloads': [ ("pdf", "//readthedocs.com/projects/cognite-sdk-python/downloads/pdf/latest/"), ("htmlzip", "//readthedocs.com/projects/cognite-sdk-python/downloads/htmlzip/latest/"), ("epub", "//readthedocs.com/projects/cognite-sdk-python/downloads/epub/latest/"), ], 'subprojects': [ ], 'slug': 'cognite-sdk-python', 'name': u'sdk-python', 'rtd_language': u'en', 'programming_language': u'words', 'canonical_url': 'https://cognite-docs.readthedocs-hosted.com/projects/cognite-sdk-python/en/latest/', 'analytics_code': 'None', 'single_version': False, 'conf_py_path': '/docs/source/', 'api_host': 'https://readthedocs.com', 'github_user': 'cognitedata', 'github_repo': 'cognite-sdk-python', 'github_version': 'master', 'display_github': True, 'bitbucket_user': 'None', 'bitbucket_repo': 'None', 'bitbucket_version': 'master', 'display_bitbucket': False, 'gitlab_user': 'None', 'gitlab_repo': 'None', 'gitlab_version': 'master', 'display_gitlab': False, 'READTHEDOCS': True, 'using_theme': (html_theme == "default"), 'new_theme': (html_theme == "sphinx_rtd_theme"), 'source_suffix': SUFFIX, 'ad_free': False, 'user_analytics_code': '', 'global_analytics_code': 'UA-17997319-2', 'commit': 'a9d0feb1', } 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"] [rtd-command-info] start-time: 2019-03-11T15:23:49.673867Z, end-time: 2019-03-11T15:23:54.154038Z, duration: 4, exit-code: 2 python sphinx-build -T -b readthedocs -d _build/doctrees-readthedocs -D language=en . _build/html Running Sphinx v1.7.9 Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.6/site-packages/sphinx/config.py", line 161, in __init__ execfile_(filename, config) File "/home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.6/site-packages/sphinx/util/pycompat.py", line 150, in execfile_ exec_(code, _globals) File "conf.py", line 24, in import cognite.client # isort:skip File "/home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/checkouts/latest/cognite/client/__init__.py", line 1, in from cognite.client.cognite_client import CogniteClient File "/home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/checkouts/latest/cognite/client/cognite_client.py", line 18, in from cognite.logger import configure_logger ModuleNotFoundError: No module named 'cognite.logger' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.6/site-packages/sphinx/cmdline.py", line 303, in main args.warningiserror, args.tags, args.verbosity, args.jobs) File "/home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.6/site-packages/sphinx/application.py", line 163, in __init__ confoverrides or {}, self.tags) File "/home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.6/site-packages/sphinx/config.py", line 167, in __init__ raise ConfigError(CONFIG_ERROR % traceback.format_exc()) sphinx.errors.ConfigError: There is a programable error in your configuration file: Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.6/site-packages/sphinx/config.py", line 161, in __init__ execfile_(filename, config) File "/home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.6/site-packages/sphinx/util/pycompat.py", line 150, in execfile_ exec_(code, _globals) File "conf.py", line 24, in import cognite.client # isort:skip File "/home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/checkouts/latest/cognite/client/__init__.py", line 1, in from cognite.client.cognite_client import CogniteClient File "/home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/checkouts/latest/cognite/client/cognite_client.py", line 18, in from cognite.logger import configure_logger ModuleNotFoundError: No module named 'cognite.logger' Configuration error: There is a programable error in your configuration file: Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.6/site-packages/sphinx/config.py", line 161, in __init__ execfile_(filename, config) File "/home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.6/site-packages/sphinx/util/pycompat.py", line 150, in execfile_ exec_(code, _globals) File "conf.py", line 24, in import cognite.client # isort:skip File "/home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/checkouts/latest/cognite/client/__init__.py", line 1, in from cognite.client.cognite_client import CogniteClient File "/home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/checkouts/latest/cognite/client/cognite_client.py", line 18, in from cognite.logger import configure_logger ModuleNotFoundError: No module named 'cognite.logger'