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.

VS Code crashes when trying to access the `ExtensionContext.secret` API

See original GitHub issue

Applies To

  • Notebooks (.ipynb files)
  • Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?

Reproduction procedure

  1. Open a notebook file.
  2. In the VS Code command palette, enter the following command
  3. >Jupyter: Specify Jupyter Server for Connections
  4. Connect to an appropriate server (e.g. http://localhost:8888)
  5. VS Code is forced to terminate.

It is also reproduced by opening a VS Code project with the notebook file once connected.

Reproduced with VS Code 1.72. VS Code 1.71 does not reproduce this issue.

Using VS Code for Linux.

VS Code Version

1.72

Jupyter Extension Version

v2022.9.1202862440

Jupyter logs

no logs

Coding Language and Runtime Version

No response

Language Extension Version (if applicable)

No response

Anaconda Version (if applicable)

No response

Running Jupyter locally or remotely?

No response

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:14 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
DonJayamannecommented, Dec 9, 2022

ms-toolsai-jupyter-insiders.vsix (2).zip

Here you go,

  • please ensuer you have VS Code 1.74 installed,
  • Extract that above zip file
  • then install this VSIX using the command Extensions: Install from VSIX
  • Reload VS Code and test this out and let me know how things go.
1reaction
DonJayamannecommented, Dec 8, 2022

I’ll be creating a custom version of the VSIX for you to test. in the mean time you might want to update your version of VS Code to 1.74 (as the vsix i will provide will require that version) Thanks again for being patient and sorry this crashes the whole of VS Code

Read more comments on GitHub >

github_iconTop Results From Across the Web

Actions · microsoft/vscode - GitHub
VS Code crashes when trying to access the `ExtensionContext.secret` API English Please #47974: Issue #169693 edited by DonJayamanne. 1 hour ago 2s.
Read more >
VS Code API | Visual Studio Code Extension API
VS Code API. VS Code API is a set of JavaScript APIs that you can invoke in your Visual Studio Code extension. This...
Read more >
Webview API - Visual Studio Code
To explain the webview API, we are going to build a simple extension called Cat Coding. This extension will use a webview to...
Read more >
Supporting Remote Development and GitHub Codespaces
The VS Code APIs are designed to automatically run on the correct machine (either local or remote) when called from both UI or...
Read more >
September 2022 (version 1.72) - Visual Studio Code
In the video below, the GitLens extension File Annotations menu is hidden from the editor tool bar and then restored via Reset Menu....
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