Skip to content
This repository has been archived by the owner on May 3, 2020. It is now read-only.

global: sphinx-build failure (no module named 'invenio_circulation') #58

Open
mvesper opened this issue Oct 26, 2016 · 3 comments
Open
Assignees
Milestone

Comments

@mvesper
Copy link
Contributor

mvesper commented Oct 26, 2016

When running the command:
sphinx-build -qnNW -b doctest docs docs/_build/doctest
from run-tests.sh, sphinx-build fails as can be seen here: https://travis-ci.org/inveniosoftware/invenio-circulation/jobs/170784723

Adding sys.path.insert(0, os.path.abspath('..')) in docs/conf.py, as in: https://github.com/mvesper/invenio-circulation/blob/fcf1b7a812eb44204163bf85f5bccf6159f55e00/docs/conf.py#L34-L35 , fixes the issue for now.

This line should eventually be removed.

@jirikuncar
Copy link
Contributor

If I remember well @hachreak had similar problem elsewhere. Maybe he has a solution.

@hachreak
Copy link

In my case I resolved calling pip install -e . because apparently the installation of samplepkg was overwriting something necessary to sphinx.

@jirikuncar
Copy link
Contributor

Thanks @hachreak !

@jirikuncar jirikuncar added this to the v1.0.0 milestone Oct 27, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants