[ https://issues.apache.org/jira/browse/CLIMATE-917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16306917#comment-16306917 ]
ASF GitHub Bot commented on CLIMATE-917: ---------------------------------------- GitHub user MichaelArthurAnderson opened a pull request: https://github.com/apache/climate/pull/466 CLIMATE-917 Correct Warnings From make html When Building Documentation Corrected warnings from make html when building the documentation. You can merge this pull request into a Git repository by running: $ git pull https://github.com/MichaelArthurAnderson/climate CLIMATE-917 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/climate/pull/466.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #466 ---- commit 5c170a3ab2ab70439b6ba4f94f34422cd007db15 Author: Michael Anderson <michaelanderson@...> Date: 2017-12-30T00:28:38Z CLIMATE-826 Fix ValueError when dates are out of range post annual rebinning. commit 81dff2adfb54fdfbb1a1315d51fe32e584bdb382 Author: Michael Anderson <michaelanderson@...> Date: 2017-12-30T19:35:17Z CLIMATE-997 Remove warnings when making documentation with make html. ---- > Bocumentation build error with Python3 > -------------------------------------- > > Key: CLIMATE-917 > URL: https://issues.apache.org/jira/browse/CLIMATE-917 > Project: Apache Open Climate Workbench > Issue Type: Bug > Components: build process, documentation > Affects Versions: 1.2.0 > Reporter: Lewis John McGibbney > Assignee: Michael Anderson > Fix For: 1.3.0 > > > Right now when I navigate to docs directory and execute 'make html' I get the > following > {code} > 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. > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)