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

JupyterLab 3.0.0a10 /lab url doesn't work #945

Closed
manics opened this issue Aug 15, 2020 · 5 comments
Closed

JupyterLab 3.0.0a10 /lab url doesn't work #945

manics opened this issue Aug 15, 2020 · 5 comments

Comments

@manics
Copy link
Member

manics commented Aug 15, 2020

Bug description

Normally repo2docker defaults to launching Jupyter Notebook, but you can switch to JupyterLab by changing the URL path to /lab. This fails with JupyterLab 3.0.0a10 (the latest pre-release).
JupyterLab release schedule: jupyterlab/jupyterlab#8038

Expected behaviour

Going to /lab should take you to the JupyterLab interface

Actual behaviour

You get the Jupyter 404 page:

404 : Not Found

You are requesting a page that does not exist!

How to reproduce

Click on https://mybinder.org/v2/gist/manics/922d4e88fefc6d38fccea8cd2097bc28/master?urlpath=lab
Or run
repo2docker https://gist.github.com/manics/922d4e88fefc6d38fccea8cd2097bc28 and go to /url

Although the default will remain JupyterLab 2.0 for the immediate future I think we should ensure 3.0 works for anyone who wants to use it (#935)

@manics
Copy link
Member Author

manics commented Aug 15, 2020

@blink1073 Do you know if this is something we should fix in the repo2docker launcher, or is it related to the lab integration with some other component?

@blink1073
Copy link
Contributor

This is related to jupyterhub/jupyterhub#3128. The recommended way to use JuptyerLab 3.0 with JupyterHub is to use c.Spawner.cmd=["jupyter-labhub"]

@blink1073
Copy link
Contributor

We fixed the ability to launch jupyterlab as a classic notebook extension in jupyterlab/jupyterlab#8956 (pending another beta release). We will eventually remove this capability once everyone has migrated to using jupyter_server.

@manics
Copy link
Member Author

manics commented Sep 10, 2020

Thanks! I can confirm JupyterLab 3.0.0b3 works with repo2docker 👍

I've opened a separate issue for updating repo2docker to work with jupyter_server #956

@manics manics closed this as completed Sep 10, 2020
@blink1073
Copy link
Contributor

Great, thanks @manics!

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

2 participants