DataMedSci / beprof

Beam Profile Analysing Tools
MIT License
2 stars 2 forks source link

Travis 'docs' started to fail? #118

Closed antnieszka closed 7 years ago

antnieszka commented 7 years ago

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 commented 7 years ago

I am checking if build restart will help

antnieszka commented 7 years ago

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

grzanka commented 7 years ago

Change to 2 workers and let us see

grzanka commented 7 years ago

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 commented 7 years ago

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

antnieszka commented 7 years ago

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

antnieszka commented 7 years ago

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

antnieszka commented 7 years ago
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 commented 7 years ago

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 commented 7 years ago

sphinx-doc/sphinx#3212