readthedocs.org: Problems with project virtualenvs
Details
I am getting the following error on readthedocs when I try to manually build docs or when a build is triggered by a push to the GitHub repo:
New python executable in /home/docs/checkouts/readthedocs.org/user_builds/clustergrammer/envs/latest/bin/python2.7
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 2328, in <module>
main()
File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 713, in main
symlink=options.symlink)
File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 925, in create_environment
site_packages=site_packages, clear=clear, symlink=symlink))
File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 1231, in install_python
shutil.copyfile(executable, py_executable)
File "/usr/lib/python2.7/shutil.py", line 83, in copyfile
with open(dst, 'wb') as fdst:
IOError: [Errno 40] Too many levels of symbolic links: '/home/docs/checkouts/readthedocs.org/user_builds/clustergrammer/envs/latest/bin/python2.7'
The builds seemed to spontaneously stop working and reverting to old versions of docs that previously worked does not help. I am running
sphinx-autobuild . _build_html
to build the docs.
- Project URL: http://clustergrammer.readthedocs.io/en/latest/
- Build URL (if applicable): https://github.com/MaayanLab/clustergrammer/tree/master/docs
- Read the Docs username (if applicable): corrnhundred
Expected Result
I modified the documentation, successfully built with sphinx-autobuild, pushed to GitHub, but the build (automatic web hook) failed on readthedocs’ site. A description of what you wanted to happen Documents to build on readthedocs’ site
Actual Result
Build fail. A description of what actually happened
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 15 (6 by maintainers)
Commits related to this issue
- trigger rtfd (https://github.com/rtfd/readthedocs.org/issues/2640) — committed to tensorpack/tensorpack by ppwwyyxx 7 years ago
- trigger rtfd (https://github.com/rtfd/readthedocs.org/issues/2640) Former-commit-id: 3f238a015b941041e58ed43e63d5306dbae979fc — committed to xueeinstein/pretrained-A3C by ppwwyyxx 7 years ago
This is a problem on our side, from upgraded build images. Not sure exactly what causes this scenario though, but perhaps it’s a slight difference in the installed Python version between the two images.
I also tried re-building the docs from scratch using:
sphinx-quickstart
and deleting/remaking the project on readthedocs.io, but I am still getting the same error.
I also tried moving my docs to a new repo and building with the same project name, but this failed.
However, I am able to build using the same documentation (in a new repo) with a different project name
http://clustergrammer-docs.readthedocs.io/en/latest/.
So, I think the error is somehow tied to the url/project-name
http://clustergrammer.readthedocs.io/en/latest/
since I cannot get anything to build using that name, but I can get the same docs to build using another project name on readthedocs.io.
Also failed for me with the same error. My project is tensorpack.