question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

s.authentication.getPassword is not a function (similar to #4316)

See original GitHub issue

Was 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:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
rchiodocommented, Jan 23, 2021

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.

0reactions
ShubhamVerma1811commented, Feb 5, 2021

Got it! Not sure how to download the preview. I’ll just wait for the official update. Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeError:this.authenticate is not a function - node.js
I believe you've missed a pair of parenthesis on passport.session method call. Try app.use(passport.session());.
Read more >
Objects that a user possesses for the purpose of user authentication ...
Objects that a user possesses for the purpose of user authentication Tokens from EIS 4316 at University of Houston, Downtown.
Read more >
Intel® Xeon® Silver 4316 Processor
Intel® Xeon® Silver 4316 Processor (30M Cache, 2.30 GHz) quick reference with specifications, features, and technologies.
Read more >
CSE 4316: SENIOR DESIGN II
feature subsystem overview . ... the user's budgeting habits (whether or not they have met their goals), ... id and password to login...
Read more >
Upload Scanned Data to an FTP Server | MFC‑J4340DW | MFC ...
If the profile is not complete (for example, if the logon account name and password are missing, or if the quality or file...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found