s.authentication.getPassword is not a function (similar to #4316)
See original GitHub issueWas trying out new Jupyter native notebook in Insiders, but this started popping up. At first, I thought the issue is with the running of the cells, however, this error starts to show even when selecting Jupyter server
Environment data
- VS Code version: Insiders, build 1611306611
- Jupyter Extension version (available under the Extensions sidebar): v2020.12.414227025 - daily insiders channel
- Python Extension version (available under the Extensions sidebar): v2021.1.502429796 - daily Insiders channel
- OS (Windows | Mac | Linux distro) and version: Arch Linux - not really playing with “versions” there 😄 Though official build of insiders
- Python and/or Anaconda version: Python 3.7 in conda environment, conda is 4.9.2, conda on remote is 4.8.3
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): Conda (on both sides, local and remote)
- Jupyter server running: Remote (with a token, behind a VPN, HTTP)
Expected behaviour
I wanted to try out the new look of the Jupyter native editor, because the “old” one feels too… “clunky”, however, I cannot even select an interpreter to be used for Jupyter. So expected behaviour is to be able to connect to Remote Jupyter (or even local one)
Actual behaviour
Command ‘Jupyter: Specify local or remote Jupyter server for connections’ resulted in an error (Running the contributed command: ‘jupyter.selectjupyteruri’ failed.)
Steps to reproduce:
Freshly installed VSCode Insiders (as of today, Jan 22, 2021) with Python, Jupyter, Pylance, etc with daily insiders channels Get a notebook and try to connect to URI
Logs
Logs for Jupyter extension don’t show anything of interest in case of running the action, however the logs for ExtHost do
Output for ExtHost
in the Output
panel
[2021-01-22 10:55:13.454] [exthost] [error] TypeError: s.authentication.getPassword is not a function
at l.getPassword (/home/otaj/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:47:518189)
at l.retrieve (/home/otaj/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:47:525923)
at u.getUriInternal (/home/otaj/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:49:579717)
at u.getUri (/home/otaj/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:49:578864)
at new u (/home/otaj/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:49:577279)
at Object.t.resolveInstance (/home/otaj/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:47:255923)
at /home/otaj/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:47:255125
at Array.map (<anonymous>)
at Object.t.resolveInstance (/home/otaj/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:47:255693)
at /home/otaj/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:47:255125
at /home/otaj/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:47:254069
at Array.map (<anonymous>)
at /home/otaj/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:47:254041
at Array.map (<anonymous>)
at Object.t.resolveInstance (/home/otaj/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:47:255693)
at /home/otaj/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:47:255125
at Object.t.resolve (/home/otaj/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:47:255392)
at /home/otaj/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:47:246476
at e._get (/home/otaj/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:47:246242)
at e.get (/home/otaj/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:47:244953)
at a.get (/home/otaj/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:49:854904)
at /home/otaj/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:47:238618
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async /home/otaj/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:32:703465
at async t.activate (/home/otaj/.vscode-insiders/extensions/ms-toolsai.jupyter-2020.12.414227025/out/client/extension.js:32:703175)
at async Promise.all (index 0) jupyter.selectjupyteruri
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:8 (3 by maintainers)
Top GitHub Comments
You can retrieve our latest from the last build that ran if you like.
Example: https://github.com/microsoft/vscode-jupyter/actions/runs/504728737 and then find the vsix generated in the list of artifacts.
We’re currently reworking how we release insiders bits but hope to have a way to use them soon.
Got it! Not sure how to download the preview. I’ll just wait for the official update. Thanks