tutorials icon indicating copy to clipboard operation
tutorials copied to clipboard

Binder asking for token or password when notebooks are launch

Open bearecinos opened this issue 2 years ago • 4 comments

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?

bearecinos avatar Jun 20 '23 13:06 bearecinos

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

pat-schmitt avatar Jun 21 '23 07:06 pat-schmitt

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

dngoldberg avatar Jun 21 '23 10:06 dngoldberg

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

fmaussion avatar Jun 22 '23 08:06 fmaussion

Thanks @pat-schmitt @fmaussion will do!

bearecinos avatar Jun 22 '23 09:06 bearecinos