Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

errors in pyclaw docs #190

Open
rjleveque opened this issue Jul 8, 2018 · 4 comments
Open

errors in pyclaw docs #190

rjleveque opened this issue Jul 8, 2018 · 4 comments

Comments

@rjleveque
Copy link
Member

@mandli and @ketch: I thought we had fixed all the errors in the pyclaw docs but now there seem to be many again, did we miss merging something in to pyclaw?

See these in particular:

@ketch
Copy link
Member

ketch commented Jul 8, 2018

The error on the IO page is because the docs were built without an installation of h5py, I guess. The others seem to be things that I missed. I'll prepare a new PR and try to catch everything.

@rjleveque
Copy link
Member Author

There were also some incorrect pointers to the old io rather than new fileio directory in io.rst. I have fixed these.

@rjleveque
Copy link
Member Author

I think all the pyclaw docs look fine now except

I've got a conda environment into which I installed h5py and also sphinx-versioning, so I now have a directory /Users/rjl/miniconda/envs/rbook2/lib/python3.6/site-packages/sphinx/ext/autodoc, but sphinx still throws the error

autodoc: failed to import module u’clawpack.pyclaw.fileio.hdf5’; 
the following exception was raised: Traceback (most recent call last): File
 “/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/ext/autodoc.py”

So it's using the wrong version of python and/or autdoc (and I don't have an autodoc.py in my environment, only an autodoc folder).

Any ideas?

@mandli
Copy link
Member

mandli commented Jul 8, 2018

That looks like a homebrew Python installation. Did you need that version? You might able to just uninstall that one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants