OGGM / tutorials

Notebook tutorials for the Open Global Glacier Model (OGGM)
https://tutorials.oggm.org
BSD 3-Clause "New" or "Revised" License
18 stars 18 forks source link

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

Open bearecinos opened 1 year ago

bearecinos commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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

fmaussion commented 1 year ago

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 commented 1 year ago

Thanks @pat-schmitt @fmaussion will do!