datacamp-astro / 2022-arqus-bergen

0 stars 0 forks source link

binder #4

Open micheledoro opened 2 years ago

micheledoro commented 2 years ago

@giacomodamico24 I tried to create a binder https://mybinder.org/v2/gh/arqus-gamma/arqus_school_2022/HEAD but got the following error log

Encountered problems while solving:
  - package libnghttp2-1.46.0-hce63b2e_0 requires openssl >=1.1.1l,<1.1.2a, but none of the providers can be installed

pkgs/main/noarch          
pkgs/r/linux-64           
pkgs/r/noarch             
pkgs/main/linux-64        
conda-forge/noarch        
conda-forge/linux-64      
time: 43.468
Removing intermediate container bd09d3c5ced3
The command '/bin/sh -c TIMEFORMAT='time: %3R' bash -c 'time ${MAMBA_EXE} env update -p ${NB_PYTHON_PREFIX} --file "binder/environment.yml" && time ${MAMBA_EXE} clean --all -f -y && ${MAMBA_EXE} list -p ${NB_PYTHON_PREFIX} '' returned a non-zero code: 1Built image, launching...
Failed to connect to event stream

I tried twice, same log

giacomodamico24 commented 2 years ago

Let me know if you manage to run binder with the following link and play around with the notebook tests/untitles.ipynb

https://mybinder.org/v2/gh/arqus-gamma/arqus_school_2022/HEAD

micheledoro commented 2 years ago

It works! What did you than I didn't?

giacomodamico24 commented 2 years ago

I changed the requirements.yml, after some tests the one that is currently in the repo works for binder

micheledoro commented 2 years ago

@giacomodamico24 today I tried to run it and I got the following message

Waiting for build to start...

Container engine initialization error: ('Check if docker is running on the host.', DockerException("Error while fetching server API version: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)"))
micheledoro commented 2 years ago

Now instead

Waiting for build to start...

Container engine initialization error: ('Check if docker is running on the host.', DockerException("Error while fetching server API version: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)"))
Built image, launching...
Launching server...
Server requested
2022-07-11T10:21:13.760354Z [Normal] Successfully assigned ovh/jupyter-arqus-2dgamma-2darqus-5fschool-5f2022-2d1ep5uqgq to node-1
2022-07-11T10:21:15Z [Normal] Pulling image "3i2li627.gra7.container-registry.ovh.net/binder/mybinder-tc-init:2020.12.4-n999.h140cef5"
2022-07-11T10:21:16Z [Normal] Successfully pulled image "3i2li627.gra7.container-registry.ovh.net/binder/mybinder-tc-init:2020.12.4-n999.h140cef5" in 1.522690893s
2022-07-11T10:21:16Z [Normal] Created container tc-init
2022-07-11T10:21:17Z [Normal] Started container tc-init
2022-07-11T10:21:17Z [Normal] Pulling image "3i2li627.gra7.container-registry.ovh.net/binder/ovhbhub-r2d-g5b5b759arqus-2dgamma-2darqus-5fschool-5f2022-82a414:80998fec87d0d580707c73f0b63a64e9cf2ce424"
2022-07-11T10:21:17Z [Warning] Failed to pull image "3i2li627.gra7.container-registry.ovh.net/binder/ovhbhub-r2d-g5b5b759arqus-2dgamma-2darqus-5fschool-5f2022-82a414:80998fec87d0d580707c73f0b63a64e9cf2ce424": rpc error: code = NotFound desc = failed to pull and unpack image "3i2li627.gra7.container-registry.ovh.net/binder/ovhbhub-r2d-g5b5b759arqus-2dgamma-2darqus-5fschool-5f2022-82a414:80998fec87d0d580707c73f0b63a64e9cf2ce424": failed to resolve reference "3i2li627.gra7.container-registry.ovh.net/binder/ovhbhub-r2d-g5b5b759arqus-2dgamma-2darqus-5fschool-5f2022-82a414:80998fec87d0d580707c73f0b63a64e9cf2ce424": 3i2li627.gra7.container-registry.ovh.net/binder/ovhbhub-r2d-g5b5b759arqus-2dgamma-2darqus-5fschool-5f2022-82a414:80998fec87d0d580707c73f0b63a64e9cf2ce424: not found
2022-07-11T10:21:17Z [Warning] Error: ErrImagePull
2022-07-11T10:21:18Z [Normal] Back-off pulling image "3i2li627.gra7.container-registry.ovh.net/binder/ovhbhub-r2d-g5b5b759arqus-2dgamma-2darqus-5fschool-5f2022-82a414:80998fec87d0d580707c73f0b63a64e9cf2ce424"
2022-07-11T10:21:18Z [Warning] Error: ImagePullBackOff
giacomodamico24 commented 2 years ago

I am also having the same error. I ma trying to figure out what's the problem, I will let you know.

giacomodamico24 commented 2 years ago

It is now working again. After different tests, from my understanding, when something similar happens (and it is a mystery to me why it happened) one should make some commitment to the repository and then run again the binder on mybinder.org

Let me know if it is working also for you