-
Notifications
You must be signed in to change notification settings - Fork 100
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
nbgitpuller and pangeo binder problems with recent images #206
Comments
I don't know what the cause is, but one possible point of confusion for troubleshooting is that there are different jupyterhub versions/configurations currently between pangeo-binder and pangeo-cloud-federation hubs (where you're trying the 'staging' link). There is an issue somewhere about bringing them in sync, but I can't find it...
|
Porting over some conversations we had in 2i2c Slack (with edits) when I looked at this... If I try to list the server extensions using the legacy server:
And this is the output with the new jupyter server:
Notice the new jupyter server is not loading the nbgitpuller extension... Btw, is the staging pangeo binder defaulting to /tree whereas production one is defaulting to /lab, maybe? AFAIK, if you start with jupyter notebook, that is calling the old server whereas if you start with jupyterlab, that is calling the new one. So you may end up in a situation where you started with lab (using the underlying new server) but then redirected to /tree to use the legacy notebook view. Btw, I have not seen code in nbgitpuller to make it compatible with the new server so I think that might be the issue... With the latest link reported in the top message, jupyter_server versions are different, so it kind of makes sense, IMHO, to see a different behavior... wondering about the different behavior on the staging one... that's intriguing... |
Closing as Pangeo Binder is not running anymore, xref #459. |
I am trying to debug a very obscure and annoying problem involving nbgitpuller and binder.pangeo.io.
Basically, if I make a binder using a recent pangeo-notebook and try to run it on binder.pangeo.io, nbgitpuller hangs
https://binder.pangeo.io/v2/gh/rabernat/pangeo-osn-demo/75509ae/?urlpath=git-pull?repo=https://github.com/rabernat/pangeo-osn-demo%26amp%3Bbranch=main
There is a javascript error
That image is using the same docker image base as as the current
staging.us-central1-b.gcp
Dockerfile
However, it does work on staging:
https://staging.us-central1-b.gcp.pangeo.io/hub/user-redirect/git-pull?repo=https://github.com/rabernat/pangeo-osn-demo&branch=main
It also works on binder.pangeo.io if I roll back to an older image, e.g.
pangeo/pangeo-notebook:2c94acd
:https://binder.pangeo.io/v2/gh/rabernat/pangeo-osn-demo/34e294b/?urlpath=git-pull?repo=https://github.com/rabernat/pangeo-osn-demo%26amp%3Bbranch=main
Dockerfile
So my best guess is that there is some specific incompatibility with binder.pangeo.io and some package in our recent images related to nbgitpuller, but I have no idea which packages are involved.
cc @yuvipanda and @choldgraf who helped me dig into this.
The text was updated successfully, but these errors were encountered: