-
-
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
Allow gmic.eu for files download at build time #7712
Comments
Don't think we block any resources in the builders. Could you link me to where this is executed? Didn't find anything obvious in https://github.com/myselfhimself/gmic-py/blob/master/docs/conf.py |
Hello, this is executed by the gmic-sphinx
For example in docs/tutorials.rst the above line triggers a gmic libcurl download call to https://gmic.eu/img/sample_earth.png Note I face a similar download error for the gmic module (without sphinx) error in Jupyter and Google Colab environments. It could be that G'MIC's libcurl does not autoconfigure itself properly. Do you have any proxy environment variable that libcurl should be fed with at call time ? |
Here is the (from https://raw.githubusercontent.com/dtschump/CImg/master/CImg.h)
|
Reproduced:
gmic seems to be linked against curl:
Attempting gmic libcurl-based download:
Attempting pre-installed curl executable download:
|
@dtschump feel free to comment if you have any idea |
I managed to install gmic 2.9.4 in the readthedocs docker image. Sample image download using the gmic curl executable does work:
|
I will troubleshoot this myself with a stripped down libcurl piece of code, this is not a readthedocs issue I think. I can report back here. |
Hello, closing this as I found a solution: not linking the Thanks for reading and supporting. Thank you for your kind time reading and support!
|
Details
Expected Result
G'MIC (C++) / gmic-py (Python) is a framework for generating images and applying filters. One of its commands
sp
orsample
grabs an image fromgmic.eu
, with URLs such as https://gmic.eu/img/sample_earth.pngI use this command a lot to prevent to pre-download and push sample image files onto gmic-py's Github repository.
Actual Result
Currently the URL seems to be blocked by the readthedocs.org buildbot environment, when it is being tentatively accessed by gmic-py (which embeds libcurl and uses libcurl for such remote file retrievals). It could be that gmic.eu is no allowed domain, but I am unsure of this.
Would you agree to whitelist
gmic.eu
, if that may solve the problem?Thank you in advance for your assistance!
The text was updated successfully, but these errors were encountered: