-
-
Notifications
You must be signed in to change notification settings - Fork 344
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
Command jlab <server>
fails to connect to server when desktop app is already open
#833
Comments
jlab <server>
fails to connect to server when app is already open ("handling request in main instance" fails)jlab <server>
fails to connect to server when app is already open
jlab <server>
fails to connect to server when app is already openjlab <server>
fails to connect to server when desktop app is already open
Here is more context (github gave me comment-too-long errors). Troubleshoot Output$PATH: /Users/ldavis/mambaforge/bin /Users/ldavis/mambaforge/condabin /Users/ldavis/bin /Users/ldavis/.local/bin /Users/ldavis/.iterm2 /Users/ldavis/nvim/bin /Users/ldavis/go/bin /Users/ldavis/node/bin /Users/ldavis/.deno/bin /Users/ldavis/.rvm/gems/ruby-2.6.0/bin /Users/ldavis/.rvm/gems/ruby-2.6.0@global/bin /Users/ldavis/.rvm/rubies/ruby-2.6.0/bin /Users/ldavis/.rvm/bin /Applications/Calibre.app/Contents/MacOS /Applications/Skim.app/Contents/SharedSupport /Applications/Skim.app/Contents/MacOS /Users/ldavis/builds/ncl-6.6.2/bin /Users/ldavis/builds/matlab-r2019a/bin /opt/pgi/osx86-64/2018/bin /usr/local/opt/coreutils/libexec/gnubin /usr/local/opt/findutils/libexec/gnubin /usr/local/opt/gnu-sed/libexec/gnubin /usr/local/opt/gnu-tar/libexec/gnubin /usr/local/opt/grep/libexec/gnubin /usr/local/bin /opt/local/bin /opt/local/sbin /opt/X11/bin /Library/TeX/texbin /usr/bin /bin /usr/sbin /sbin /Users/ldavis/.fzf/bin Logs (required for issues with loading, server and startup)Paste the logs from the `main.log` file here (optionally also from `renderer.log`). [2024-06-03 18:58:12.928] [error] Handling request in the main instance. [2024-06-03 18:58:13.642] [warn] Unsatisfied version 4.3.1 from @jupyterlab/application-top of shared singleton module @jupyterlab/apputils (required ^3.6.1) [2024-06-03 18:58:13.644] [warn] Unsatisfied version 4.2.1 from @jupyterlab/application-top of shared singleton module @jupyterlab/codeeditor (required ^3.6.1) [2024-06-03 18:58:13.644] [warn] Unsatisfied version 4.2.1 from @jupyterlab/application-top of shared singleton module @jupyterlab/notebook (required ^3.6.1) [2024-06-03 18:58:13.644] [warn] Unsatisfied version 4.2.1 from @jupyterlab/application-top of shared singleton module @jupyterlab/rendermime (required ^3.6.1) [2024-06-03 18:58:13.644] [warn] Unsatisfied version 4.2.1 from @jupyterlab/application-top of shared singleton module @jupyterlab/translation (required ^3.6.1) [2024-06-03 18:58:13.644] [warn] Unsatisfied version 4.2.1 from @jupyterlab/application-top of shared singleton module @jupyterlab/ui-components (required ^3.6.1) [2024-06-03 18:58:13.645] [warn] Unsatisfied version 4.2.1 from @jupyterlab/application-top of shared singleton module @jupyterlab/statusbar (required ^3.6.1) [2024-06-03 18:58:13.645] [warn] Unsatisfied version 7.2.1 from @jupyterlab/application-top of shared singleton module @jupyterlab/services (required ^6.6.1) [2024-06-03 18:58:13.645] [warn] Unsatisfied version 18.2.0 from @jupyterlab/application-top of shared singleton module react (required ^17.0.1) [2024-06-03 18:58:13.645] [warn] Unsatisfied version 2.3.2 from @jupyterlab/application-top of shared singleton module @lumino/widgets (required ^1.37.1) [2024-06-03 18:58:13.645] [warn] Unsatisfied version 4.2.1 from @jupyterlab/application-top of shared singleton module @jupyterlab/translation (required ^3.6.1) [2024-06-03 18:58:13.645] [warn] Unsatisfied version 4.3.1 from @jupyterlab/application-top of shared singleton module @jupyterlab/apputils (required ^3.6.1) [2024-06-03 18:58:13.646] [warn] Unsatisfied version 4.2.1 from @jupyterlab/application-top of shared singleton module @jupyterlab/ui-components (required ^3.6.1) [2024-06-03 18:58:13.646] [warn] Unsatisfied version 2.1.2 from @jupyterlab/application-top of shared singleton module @lumino/coreutils (required ^1.11.0) [2024-06-03 18:58:13.646] [warn] Unsatisfied version 2.1.2 from @jupyterlab/application-top of shared singleton module @lumino/signaling (required ^1.10.0) [2024-06-03 18:58:13.646] [warn] Unsatisfied version 4.2.1 from @jupyterlab/application-top of shared singleton module @jupyterlab/notebook (required ^3.6.1) [2024-06-03 18:58:13.646] [warn] Unsatisfied version 6.2.1 from @jupyterlab/application-top of shared singleton module @jupyterlab/coreutils (required ^5.6.1) [2024-06-03 18:58:14.197] [warn] [object Object] [2024-06-03 18:58:14.223] [warn] Language pack 'en' not installed! [2024-06-03 18:58:14.450] [warn] LSP.SettingsSchemaManager: No config schema - skipping transformation for jedi-language-server [2024-06-03 18:58:14.727] [warn] Could not get context [2024-06-03 19:02:33.584] [error] (node:78929) UnhandledPromiseRejectionWarning: TypeError: Cannot read properties of undefined (reading 'workingDirectory') at /Applications/JupyterLab.app/Contents/Resources/app.asar/build/out/main/sessionwindow/sessionwindow.js:1031:55 (Use `JupyterLab --trace-warnings ...` to show where the warning was created) [2024-06-03 19:02:33.585] [error] (node:78929) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) [2024-06-03 19:02:33.585] [error] Handling request in the main instance. |
Yep the GUI "connect" interface works -- only the |
Having this would just be a minor convenience -- currently when connecting to more than one server I have to: Click hamburger menu -> click "new window..." -> click "connect..." -> copy-paste the server. But with |
Description
Connecting to a server with e.g.
jlab http://localhost:2001/lab?token=<token>
fails when the jupyterlab desktop app is already open.Reproduce
jupyter lab
jlab <address>
from terminalLauncher
pageExpected behavior
The desktop app successfully connects to the server, auto-opens the previously-opened notebooks. Running
jlab <address>
before opening the app will connect successfully.Context
.dmg
The text was updated successfully, but these errors were encountered: