Skip to content

Static resources fail to load in Notebook renderer with 401 error #175033

Closed
microsoft/vscode-jupyter
#13531
@DonJayamanne

Description

@DonJayamanne

Originally filed here microsoft/vscode-jupyter#12843

Problem:

  • Notebook kernel pre-load scripts are now defined statically via the package.json contribution notebookPreload
  • However VS Code throws a 401 error when loading resources from within the Jupyter extension,

If however we have a dummy script file (in the Jupyter extension directory) that is defined as a rendererScripts in the createNotebookController VS Code API , then all resources from Jupyter extension directory are loaded

I.e. using the above API in some way registers the Juptyer extension directory as a supported root for scripts, and using the static contribution ntoebookPreload does not.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code Insidersnotebook-apiverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions