You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@climate.apache.org by "Lewis John McGibbney (JIRA)" <ji...@apache.org> on 2017/05/25 17:25:04 UTC

[jira] [Updated] (CLIMATE-917) Bocumentation build error with Python3

     [ https://issues.apache.org/jira/browse/CLIMATE-917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lewis John McGibbney updated CLIMATE-917:
-----------------------------------------
    Summary: Bocumentation build error with Python3  (was: Cannot build documentation with Python3)

> 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: Lewis John McGibbney
>             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.3.15#6346)

Re: [jira] [Updated] (CLIMATE-917) Bocumentation build error with Python3

Posted by Jamie Lawson <ja...@gmail.com>.
How do I get off this list? It is starting to dominate my in-box.

On Thu, May 25, 2017 at 10:25 AM, Lewis John McGibbney (JIRA) <
jira@apache.org> wrote:

>
>      [ https://issues.apache.org/jira/browse/CLIMATE-917?page=
> com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Lewis John McGibbney updated CLIMATE-917:
> -----------------------------------------
>     Summary: Bocumentation build error with Python3  (was: Cannot build
> documentation with Python3)
>
> > 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: Lewis John McGibbney
> >             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.3.15#6346)
>