Skip to content
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 binderbot to build notebooks not in the base path #32

Open
salvis2 opened this issue Aug 27, 2020 · 0 comments
Open

Allow binderbot to build notebooks not in the base path #32

salvis2 opened this issue Aug 27, 2020 · 0 comments

Comments

@salvis2
Copy link

salvis2 commented Aug 27, 2020

I haven't been able to build notebooks that are not in the root directory of the gallery repository. I see in the GitHub Action that comes with the example gallery repo has the following line:

git rm --cached -r .

This appears to remove all files that are in subdirectories, but nothing in the root directory. As a consequence, trying to edit the GitHub Action to look at notebooks in a subdirectory such as examples/ returns status code 500.

I can remove this line, add in a git add examples/ and confirm that the notebooks are present, but I still get errors trying to interact with them in Binder:

Uploading examples/ICESat-2_DAAC_DataAccess2_Subsetting.ipynb...❌ error running examples/ICESat-2_DAAC_DataAccess2_Subsetting.ipynb: 500, message='Internal Server Error', url=URL('https://hub.gke.mybinder.org/user/salvis2-icepyx-n5s2nyw9/api/contents/examples/ICESat-2_DAAC_DataAccess2_Subsetting.ipynb')

If anyone has ideas about how to enable this, I'm willing to work on it. I also would love some pointers on what the code is doing / what API it is calling / etc. I'm digging through the binderbot code to learn a bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant