Skip to content

Build error with build id #8621987 #5322

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

Closed
slochower opened this issue Feb 20, 2019 · 13 comments
Closed

Build error with build id #8621987 #5322

slochower opened this issue Feb 20, 2019 · 13 comments
Labels
Bug A bug

Comments

@slochower
Copy link

Details:

Expected Result

Read the Docs uses .readthedocs.yaml to install a conda environment and build the documentation.

Actual Result

No documentation builds and the output does not indicate where the problem is. The last command to fail is git clean -d -f -f.

@stsewd stsewd added the Support Support question label Feb 20, 2019
@stsewd
Copy link
Member

stsewd commented Feb 20, 2019

Probably timing out in the conda env creation. This is a known problem in conda, between more channels conda is slower.

https://docs.readthedocs.io/en/stable/guides/build-using-too-many-resources.html

@slochower
Copy link
Author

Hmm, that could be! I just added a separate environment for Read the Docs that's pretty trim (no external channels) and I'm still getting no output from the build process.

Separate environment: https://github.com/slochower/pAPRika/blob/readthedocs/docs/rtd.yaml
RTD yaml: https://github.com/slochower/pAPRika/blob/readthedocs/.readthedocs.yml
Build output: https://readthedocs.org/projects/paprika/builds/8622104/

@stsewd
Copy link
Member

stsewd commented Feb 20, 2019

Can you trying wiping the version first? Admin -> Versions -> Edit -> Wipe

@slochower
Copy link
Author

Wiping doesn't appear to have had any effect.

@slochower
Copy link
Author

As far as I can tell, it doesn't look like RTD is building from my conda file. Is there a straightforward way to check this?

@stsewd
Copy link
Member

stsewd commented Feb 21, 2019

I'll try to replicate this locally.

@stsewd stsewd added Bug A bug and removed Support Support question labels Feb 22, 2019
@stsewd
Copy link
Member

stsewd commented Feb 22, 2019

Sorry, this looks like a bug from our side. I think a temporal solution is to update your config file to v2 https://docs.readthedocs.io/en/stable/config-file/v2.html#migrating-from-v1

I'll try to fix this now.

@slochower
Copy link
Author

Thanks! Working now with version 2.

@stsewd
Copy link
Member

stsewd commented Feb 22, 2019

Reopening till I have a fix for v1 :)

@stsewd stsewd reopened this Feb 22, 2019
@slochower
Copy link
Author

Okay thanks -- sorry for the quick close.

By the way, I get successful builds but some unexpected errors:

/home/docs/checkouts/readthedocs.org/user_builds/paprika/conda/readthedocs/lib/python3.6/site-packages/pytraj/core/../.libs/libresolv-2-c4c53def.5.so: symbol __res_maybe_init version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference

for some modules. Is this also a problem on your end or should I look for something locally? (We can build on Travis, etc., without problems.)

@stsewd
Copy link
Member

stsewd commented Feb 22, 2019

That looks like something else, maybe a dependency from conda.

@stsewd
Copy link
Member

stsewd commented Feb 22, 2019

Ok, so, this isn't a bug actually. You were using conda.environment with v1, but in v1 this setting is called conda.file https://docs.readthedocs.io/en/stable/config-file/v1.html#conda-file. We should raise an error tho.

@slochower
Copy link
Author

Ah, sorry about that. Thanks for looking into it.

stsewd added a commit to stsewd/readthedocs.org that referenced this issue Feb 22, 2019
Some people are migrating from pip to conda,
but they were using a v1 config,
then when migrating they are using the conda option from v2.

We are not validating this, but using conda.file is mandatory
when using the conda option (or rtd will fail without any reason).

Close readthedocs#5322
Close readthedocs#5228
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A bug
Projects
None yet
Development

No branches or pull requests

2 participants