Problem with binder demos - maybe can't install extensions

Hi,

There seems to be a problem with a lot of the demos of binder and Jupyter lab.

Some examples that don’t work:

  1. The JupterLab binder example: https://github.com/binder-examples/jupyterlab
  2. The Jupyter extension example: https://github.com/binder-examples/jupyter-extension
  3. My own binders that were previously working also fail: https://github.com/0Hughman0/unscrabbler

The examples that fail all run postBuild operations that build extensions. (https://github.com/jupyterlab/jupyterlab-demo does work)

I think it might be related to running out of memory when building extensions, as described here:

but it’s hard to tell because you can’t access the build log file in binder.

Yes, I think JupyterLab needs --minimize=False to build successfully. See this PR https://github.com/binder-examples/jupyter-extension/pull/4

1 Like

Oh, sorry I somehow missed that.

Thanks, should be able to get my things working again in that case!

@sgibson91 But that repo still doesn’t seem to build after the addition in the PR though?

An error occured.
ValueError:
"@jupyter-widgets/jupyterlab-manager@0.38.1" is not compatible with the current JupyterLab
Conflicting Dependencies:
JupyterLab                        Extension      Package
>=2.2.0 <2.3.0                    >=0.19.1 <0.20.0@jupyterlab/application
>=4.2.0 <4.3.0                    >=2.0.0 <3.0.0 @jupyterlab/coreutils
>=2.2.0 <2.3.0                    >=0.19.1 <0.20.0@jupyterlab/notebook
>=2.2.0 <2.3.0                    >=0.19.1 <0.20.0@jupyterlab/rendermime
>=2.2.0 <2.3.0                    >=1.1.0 <2.0.0 @jupyterlab/rendermime-interfaces
>=5.2.0 <5.3.0                    >=3.0.0 <4.0.0 @jupyterlab/services
See the log file for details:  /tmp/jupyterlab-debug-hoivp8yh.log
Removing intermediate container dcb0080c22f7
The command '/bin/sh -c ./postBuild' returned a non-zero code: 1

I added a note to the PR.

2 Likes