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

Binder asking for token or password when notebooks are launch #89

Open
bearecinos opened this issue Jun 20, 2023 · 4 comments
Open

Binder asking for token or password when notebooks are launch #89

bearecinos opened this issue Jun 20, 2023 · 4 comments

Comments

@bearecinos
Copy link
Member

bearecinos commented Jun 20, 2023

Hi @TimoRoth (@fmaussion)

I'm not sure if I'm doing something wrong here but when I launch a OGGM notebook in binder. After the build, binder asks for a token or password.
The shell info of the build doesn't really give you enough time to copy the token to the binder login interface

image

The shell closes so fast that does not let you copy the token...

@dngoldberg have the same issue. Do we need to do something else?
image

maybe in our .jupyter/jupyter_notebook_config.py ? or this is something that has to be set up from your end?

@pat-schmitt
Copy link
Member

I do not know what the problem is, but I managed to run the tutorials again on mybinder.

I had to change the installation of cartopy in the requirements and I will open a PR with the changes.

The link which is working for me currently is https://mybinder.org/v2/gh/pat-schmitt/tutorials/fix_binder?labpath=notebooks%2Fwelcome.ipynb

@dngoldberg
Copy link

thanks @pat-schmitt! i confirm that i can start up a session using the link you posted above.

@fmaussion
Copy link
Member

Thanks all for the report. The problem with the token started showing up a few weeks (months?) ago and is related to how we built the binder image from scratch with docker. I don't know how to fix this, which is why on the latest tutorials I am no longer building via docker but via "classic" mybinder, which @pat-schmitt noticed.

Thanks also @pat-schmitt for the fix on the new environments.

For now please start the tutorials from https://oggm.org/tutorials/master (note the master in the url) and I'll try to do a release early July

@bearecinos
Copy link
Member Author

Thanks @pat-schmitt @fmaussion will do!

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

4 participants