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

Problem with building docs using sphinx #2198

Closed
mame98 opened this issue May 8, 2016 · 8 comments
Closed

Problem with building docs using sphinx #2198

mame98 opened this issue May 8, 2016 · 8 comments
Labels
Needed: more information A reply from issue author is required Support Support question

Comments

@mame98
Copy link

mame98 commented May 8, 2016

Details

Building the docs does not work. It worked before, but at some point it stopped working without changing anything. Also, I can build the docs localy using sphinx.

The problem exists since the build # 3768112 (~3 Months ago)

It does not print a clear error message, but the fourth step fails with:

pickling environment... done
checking consistency... done
preparing documents... 

After that there is an endless long Traceback which ends with:

RuntimeError: maximum recursion depth exceeded in cmp

Finaly it does print a 'notification' that it created a full log wich should be submited to the devs of sphinx:

Exception occurred:
  File "/home/docs/checkouts/readthedocs.org/user_builds/side/envs/latest/local/lib/python2.7/site-packages/sphinx/environment.py", line 1965, in traverse_toctree
    traversed.add(docname)
RuntimeError: maximum recursion depth exceeded in cmp
The full traceback has been saved in /tmp/sphinx-err-xmB9lc.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!

I hope that this is enough information for you...

Thanks in advance ;)

If this issue is for a specific project or build, include the following:

  • Project: SiDE
  • Build #: 3981536
@Aigrefin
Copy link

I have exactly the same problem here :
py3njection build #4013767 - failed

@agjohnson
Copy link
Contributor

Does pinning a newer Sphinx release resolve this issue? 1.3.6 or 1.4.1 are good targets

@agjohnson agjohnson added the Support Support question label May 19, 2016
@mame98
Copy link
Author

mame98 commented May 20, 2016

How can I change the sphinx Version?

@blaisep
Copy link

blaisep commented May 28, 2016

@mame98 try editing your requirements.txt to include:
Sphinx==1.3.6

@mame98
Copy link
Author

mame98 commented May 28, 2016

It still fails with the same error but in the log it says Running Sphinx v1.3.6 so 1.3.6 does not fix the problem...

@moorepants
Copy link

Same error here: https://readthedocs.org/projects/opty/builds/5513070/

Seems conda pins Sphinx to 1.3.5

@humitos
Copy link
Member

humitos commented Dec 28, 2017

Hi! Can you confirm that you still have this issue and provide your project/version/build urls?

Conda shouldn't be pinning packages anymore after #2714

@humitos humitos added the Needed: more information A reply from issue author is required label Dec 28, 2017
@agjohnson
Copy link
Contributor

Closing due to inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needed: more information A reply from issue author is required Support Support question
Projects
None yet
Development

No branches or pull requests

6 participants