-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Validate conf.py before build docs #4745
Comments
I think this happens when we try to find a |
@stsewd So is this supposed to be fixed? If yes, I would like to take a stab at it. |
@invinciblycool we can't validate this on the config module because we put None when rtd needs to find the file automatically, I think there is a case where rtd fails to find one or there are multiple config files, we need to dig a little more to see the entire flow and see how we want to fix this. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
We haven't seen this in ~2 months, we should test if this can be replicated. I think it was raised when the project has 2 |
I was able to replicate this locally
with this structure
|
We were hiding the real error from the user Related readthedocs#4745 (comment)
@stsewd |
Yeah, I think we fail with a general exception with the above structure #4745 (comment) |
@stsewd |
This build https://readthedocs.org/projects/wagtail/builds/7918857/ produced a log into Sentry as an ERROR https://sentry.io/read-the-docs/readthedocs-org/issues/712546002/?query=is:unresolved which is annoying. These exceptions are raised to communicate a specific message to the user and shouldn't be logged as ERROR for us to take a look at.
There is some related work at #4495 and #4590.
The text was updated successfully, but these errors were encountered: