Uploaded image for project: 'Apache Open Climate Workbench (Retired)'
  1. Apache Open Climate Workbench (Retired)
  2. CLIMATE-917

Bocumentation build error with Python3

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.0
    • 1.3.0
    • None

    Description

      Right now when I navigate to docs directory and execute 'make html' I get the following

      reading sources... [100%] ocw/utils
      /usr/local/climate/docs/source/data_source/data_sources.rst:16: WARNING: autodoc: failed to import module 'dap'; the following exception was raised:
      Traceback (most recent call last):
        File "/Users/lmcgibbn/miniconda3/lib/python3.5/site-packages/sphinx/ext/autodoc.py", line 519, in import_object
          __import__(self.modname)
        File "/usr/local/climate/ocw/data_source/dap.py", line 18, in <module>
          from pydap.client import open_url
        File "/Users/lmcgibbn/miniconda3/lib/python3.5/site-packages/Pydap-3.2-py3.5.egg/pydap/client.py", line 52, in <module>
          from pydap.handlers.dap import DAPHandler, unpack_data, StreamReader
        File "/Users/lmcgibbn/miniconda3/lib/python3.5/site-packages/Pydap-3.2-py3.5.egg/pydap/handlers/dap.py", line 32, in <module>
          from pydap.handlers.lib import ConstraintExpression, BaseHandler, IterData
        File "/Users/lmcgibbn/miniconda3/lib/python3.5/site-packages/Pydap-3.2-py3.5.egg/pydap/handlers/lib.py", line 65, in <module>
          class BaseHandler(object):
        File "/Users/lmcgibbn/miniconda3/lib/python3.5/site-packages/Pydap-3.2-py3.5.egg/pydap/handlers/lib.py", line 76, in BaseHandler
          responses = load_responses()
        File "/Users/lmcgibbn/miniconda3/lib/python3.5/site-packages/Pydap-3.2-py3.5.egg/pydap/responses/lib.py", line 22, in load_responses
          (r.name, r.load()) for r in iter_entry_points('pydap.response'))
        File "/Users/lmcgibbn/miniconda3/lib/python3.5/site-packages/Pydap-3.2-py3.5.egg/pydap/responses/lib.py", line 22, in <genexpr>
          (r.name, r.load()) for r in iter_entry_points('pydap.response'))
        File "/Users/lmcgibbn/miniconda3/lib/python3.5/site-packages/setuptools-23.0.0-py3.5.egg/pkg_resources/__init__.py", line 2229, in load
          return self.resolve()
        File "/Users/lmcgibbn/miniconda3/lib/python3.5/site-packages/setuptools-23.0.0-py3.5.egg/pkg_resources/__init__.py", line 2235, in resolve
          module = __import__(self.module_name, fromlist=['__name__'], level=0)
        File "/Users/lmcgibbn/miniconda3/lib/python3.5/site-packages/pydap.responses.netcdf-0.1-py3.5.egg/pydap/responses/netcdf/__init__.py", line 1, in <module>
          from cStringIO import StringIO
      ImportError: No module named 'cStringIO'
      /usr/local/climate/docs/source/data_source/data_sources.rst:21: WARNING: autodoc: failed to import module 'esgf'; the following exception was raised:
      Traceback (most recent call last):
        File "/Users/lmcgibbn/miniconda3/lib/python3.5/site-packages/sphinx/ext/autodoc.py", line 519, in import_object
          __import__(self.modname)
        File "/usr/local/climate/ocw/data_source/esgf.py", line 21, in <module>
          import urllib2
      ImportError: No module named 'urllib2'
      /usr/local/climate/ocw/utils.py:docstring of utils.calculate_ensemble_temporal_trends:1: WARNING: Inline interpreted text or phrase reference start-string without end-string.
      /usr/local/climate/ocw/utils.py:docstring of utils.calculate_ensemble_temporal_trends:6: WARNING: Inline interpreted text or phrase reference start-string without end-string.
      /usr/local/climate/ocw/utils.py:docstring of utils.calculate_ensemble_temporal_trends:9: WARNING: Inline interpreted text or phrase reference start-string without end-string.
      /usr/local/climate/ocw/utils.py:docstring of utils.calculate_temporal_trend_of_time_series:1: WARNING: Inline interpreted text or phrase reference start-string without end-string.
      /usr/local/climate/ocw/utils.py:docstring of utils.calculate_temporal_trend_of_time_series:6: WARNING: Inline interpreted text or phrase reference start-string without end-string.
      /usr/local/climate/ocw/utils.py:docstring of utils.calculate_temporal_trend_of_time_series:9: WARNING: Inline interpreted text or phrase reference start-string without end-string.
      /usr/local/climate/ocw/utils.py:docstring of utils.calculate_temporal_trends:1: WARNING: Inline interpreted text or phrase reference start-string without end-string.
      

      Attachments

        Activity

          People

            michael.arthur.anderson@gmail.com Michael Anderson
            lewismc Lewis John McGibbney
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: