-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Unknown error, a timeout? #2680
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
Comments
It seems you are trying to compile a C library to build your documentation. So, it fails with this error:
https://readthedocs.org/projects/mosfit/builds/5095916/ I suggest you to use a specific requirements for RTD different to the one for your project and put there only what is needed to build the documentation. In case you really need a C library to build your docs, use the mocking approach: http://docs.readthedocs.io/en/latest/faq.html#i-get-import-errors-on-libraries-that-depend-on-c-modules Please, try that and let me know if that fixes your issue. |
Hi @humitos, so that build in particular was after enabling the "Give the virtual environment access to the global site-packages dir." That obviously didn't work. Most of my attempts have had that option unchecked. So I don't think that's the issue. |
Figured this out: The requirements in my requirements.txt file were taking longer than 10 minutes to install. However, RTD should emit a more useful error message! Took forever to figure this out with the useless message that RTD spat out. |
Thanks! I'm closing this issue since the problem was solved and it's not related directly with RTD.
Feel free to open another issue to track this and express your ideas on how it should be and we can continue the discussion there. |
Details
Expected Result
A successful document build.
Actual Result
The build fails with an unhelpful message "An unexpected error occurred." The commands that do run seem to do so successfully, and the build emits the error 10 minutes after a build is triggered, suggesting a timeout. I have no idea how to proceed.
Also: It seems like a bug for this to be marked as an "unexpected error," it clearly seems to be a timeout.
The text was updated successfully, but these errors were encountered: