Docs Building on Travis is Failing
See original GitHub issueTravis is failing to build docs and is failing with a strange import error:
Traceback (most recent call last):
File "/home/travis/anaconda/envs/deepchem/bin/sphinx-apidoc", line 7, in <module>
from sphinx.apidoc import main
File "/home/travis/anaconda/envs/deepchem/lib/python2.7/site-packages/sphinx/apidoc.py", line 25, in <module>
from sphinx.util.osutil import walk
File "/home/travis/anaconda/envs/deepchem/lib/python2.7/site-packages/sphinx/util/__init__.py", line 27, in <module>
import docutils
File "/home/travis/anaconda/envs/deepchem/lib/python2.7/site-packages/sphinx/util/docutils.py", line 25, in <module>
from sphinx.locale import __
ImportError: cannot import name __
Traceback (most recent call last):
File "/home/travis/anaconda/envs/deepchem/bin/sphinx-build", line 11, in <module>
sys.exit(main())
File "/home/travis/anaconda/envs/deepchem/lib/python2.7/site-packages/sphinx/__init__.py", line 51, in main
sys.exit(build_main(argv))
File "/home/travis/anaconda/envs/deepchem/lib/python2.7/site-packages/sphinx/__init__.py", line 61, in build_main
from sphinx import cmdline
File "/home/travis/anaconda/envs/deepchem/lib/python2.7/site-packages/sphinx/cmdline.py", line 23, in <module>
from sphinx.application import Sphinx
File "/home/travis/anaconda/envs/deepchem/lib/python2.7/site-packages/sphinx/application.py", line 31, in <module>
from sphinx.roles import XRefRole
File "/home/travis/anaconda/envs/deepchem/lib/python2.7/site-packages/sphinx/roles.py", line 21, in <module>
from sphinx.util import ws_re
File "/home/travis/anaconda/envs/deepchem/lib/python2.7/site-packages/sphinx/util/__init__.py", line 27, in <module>
import docutils
File "/home/travis/anaconda/envs/deepchem/lib/python2.7/site-packages/sphinx/util/docutils.py", line 25, in <module>
from sphinx.locale import __
ImportError: cannot import name __
About to push docs to s3
ERROR: Parameter problem: Invalid character(s) in header name ''content-type'': "''"
ERROR: Parameter problem: Invalid character(s) in header name ''content-type'': "''"
Does anyone have any ideas on what’s going on here?
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Common Build Problems - Travis CI Docs
My build fails unexpectedly # ... One possible cause for builds failing unexpectedly can be calling set -e (also known as set errexit...
Read more >Travis build is failing - Development - Image.sc Forum
Travis always complains that builds fail on the mdoube fork, for code that builds fine in PRs and after they are merged into ......
Read more >Build shows as successful even though the sole job failed
I have a build with a test that I've deliberately broken. Although the UI correctly reports the build as failed, the text and...
Read more >Fatih Kadir Akın - Travis CI
Fatih Kadir Akın. f · Repositories · Insights · tren. Last Build. 43. Default Branch. master. Commit. c2e2fc2. Finished. passed 2 years ago ......
Read more >Travis-CI only deploy once after all builds finish - Stack Overflow
How can I adjust the script to only build and deploy the docs once? language: python python: - 3.8 - 3.7 - 3.6...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
make sure you’re installing jupyter before trying to run the jupyter notebooks
I believe this issue has been resolved. Closing for now.