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

Travis 'docs' started to fail? #118

Closed
antnieszka opened this issue Dec 9, 2016 · 10 comments
Closed

Travis 'docs' started to fail? #118

antnieszka opened this issue Dec 9, 2016 · 10 comments
Assignees
Milestone

Comments

@antnieszka
Copy link
Contributor

More here: https://travis-ci.org/DataMedSci/beprof/jobs/182601289

...
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [ 33%] contributing
writing output... [ 66%] index
writing output... [100%] readme
waiting for workers...
Sphinx parallel build error:
AssertionError: len(context) = 3
ERROR: InvocationError: '/home/travis/build/DataMedSci/beprof/.tox/docs/bin/sphinx-build -j4 -b html -d /home/travis/build/DataMedSci/beprof/.tox/docs/tmp/doctrees docs docs/build/_html'
___________________________________ summary ____________________________________
ERROR:   docs: commands failed
@grzanka
Copy link
Collaborator

grzanka commented Dec 9, 2016

I am checking if build restart will help

@antnieszka
Copy link
Contributor Author

I did it once, and it didn't help :(

@grzanka
Copy link
Collaborator

grzanka commented Dec 9, 2016

Change to 2 workers and let us see

@grzanka
Copy link
Collaborator

grzanka commented Dec 9, 2016

May it be an issue with newly released Sphinx ? https://pypi.python.org/pypi/Sphinx
You can also try to run sphinx in Python 3.5 instead of 3.4

@antnieszka
Copy link
Contributor Author

By workers You mean sphinx-build jobs? We have 4 if I'm looking at the right piece of code.

@antnieszka
Copy link
Contributor Author

But new sphinx was released (wheel uploaded) 2016-12-05. And it started failing today :/

@antnieszka
Copy link
Contributor Author

sphinx-build -j2 ... let's see now...

@antnieszka
Copy link
Contributor Author

Sphinx parallel build error:
AssertionError: len(context) = 3
ERROR: InvocationError: '/home/travis/build/ant6/beprof/.tox/docs/bin/sphinx-build -j2 -b html -d /home/travis/build/ant6/beprof/.tox/docs/tmp/doctrees docs docs/build/_html'
___________________________________ summary ____________________________________
ERROR:   docs: commands failed

antnieszka added a commit to antnieszka/beprof that referenced this issue Dec 9, 2016
@antnieszka
Copy link
Contributor Author

I'm trying to debug it locally - it also fails:

Exception occurred:
  File "/home/ant6/PycharmProjects/beprof/.tox/docs/lib/python3.4/site-packages/docutils/writers/_html_base.py", line 671, in depart_document
    assert not self.context, 'len(context) = %s' % len(self.context)
AssertionError: len(context) = 3
The full traceback has been saved in /tmp/sphinx-err-2qj4g5b4.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
ERROR: InvocationError: '/home/ant6/PycharmProjects/beprof/.tox/docs/bin/sphinx-build -b html -d /home/ant6/PycharmProjects/beprof/.tox/docs/tmp/doctrees docs docs/build/_html'
_____________________________________________________________________________________________________________ summary ______________________________________________________________________________________________________________
ERROR:   docs: commands failed

This time -j was removed from config.

@antnieszka
Copy link
Contributor Author

sphinx-doc/sphinx#3212

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

No branches or pull requests

2 participants