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
Second instance of Jupyter-Lab with similar state as the first instance #16210
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
@chbrandt it appears that your instances might share the workspaces directory: If you want them independent you need to configure the paths to be in different places. For example, JupyterLab Desktop does it for users automatically. |
Hi @krassowski , thanks for this answer. While workspaces are a great feature (besides being necessary, afaiu), it felt strange to me, to have the same workspace being used by two different instances. Is this the expected behaviour? |
I think it may be the expected behavior when you run two servers from the same root directory, although I agree with you that it seems surprising. |
Hi @JasonWeill . That was a nice observation (ie, "when running servers from the same root directory"), I went to check that; The same behaviour happens when starting the servers from different directories. Check below the four screenshots representing the four servers I instantiated.
|
Yes, because by default the workspaces directory, a.k.a This would be solved by implementing #12916 Project support via a hidden directory (which is what JupyterLab Desktop does). Should we close this issue as a duplicate of #11120? |
Separately, maybe worth asking: if JupyterLab Desktop solves it well, should we just recommend it to users over installation of barebone JupyterLab for this kind of a local use case? What are the key pain points that prevent users from using JupyterLab Desktop? |
Closing this in favour of the discussion in #11120 (same issue) and the proposal in #12916 (project folder). How can I help to make |
#12916 would probably need to be implemented in
Its a deep dive across the core of the application, but it should not be too time-consuming because the codebase is actually small here (just need to flip back and forth between |
Description
After starting a few kernels in the first Jupyter-Lab instance (let's call it "8888"), I start another instance (8889).
The second instance, though, will start the same number of console, terminal, and notebook tabs as the first one.
Screenshot of instance "8888" (the first one):
Screenshot of instance "8889" (the second one):
Reproduce
Expected behavior
I would expect a new instance of Jupyter-Lab to start fresh, with only the (default) "Launcher" tab open.
Context
Troubleshoot Output
Command Line Output
The text was updated successfully, but these errors were encountered: