Skip to content
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

Semantic Kernel extension not loading in VSCode Extension 'ms-semantic-kernel.semantic-kernel' CANNOT use API proposal: treeViewActiveItem #6062

Open
jochenvw opened this issue Apr 30, 2024 · 0 comments
Assignees
Labels
bug Something isn't working vscode

Comments

@jochenvw
Copy link
Member

Describe the bug
VSCode plugin is non-responsive.

  • Running VSCode insiders
  • Windows11 + WSL2 + Docker
  • DevContainer - with config:
	"name": "Python 3",
	// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
	"image": "mcr.microsoft.com/vscode/devcontainers/python:3",
	"features": {
		"ghcr.io/devcontainers/features/python:1": {}
	},
	"customizations": {
		"vscode": {
			"extensions": [
				"mechatroner.rainbow-csv",
				"ms-vscode.vscode-node-azure-pack",
				"ms-toolsai.vscode-ai",
				"ms-vscode.azure-repos",
				"ms-vscode.azurecli",
				"ms-python.python",
				"ms-azuretools.vscode-bicep",
				"ms-azuretools.rad-vscode-bicep",
				"ms-semantic-kernel.semantic-kernel",
				"prompt-flow.prompt-flow",
				"KevinRose.vsc-python-indent",
				"njpwerner.autodocstring",
				"ms-python.debugpy"
			]
		}
	}

In order to experiment with Semantic Kernel + Promptflow. Extension just doesn't or barely respond. Only waiting and loading.

Found this in the Extension Host logs:

2024-04-30 13:41:44.887 [error] Error: Extension 'ms-semantic-kernel.semantic-kernel' CANNOT use API proposal: treeViewActiveItem.
Its package.json#enabledApiProposals-property declares: [] but NOT treeViewActiveItem.
 The missing proposal MUST be added and you must start in extension development mode or use the following command line switch: --enable-proposed-api ms-semantic-kernel.semantic-kernel
    at y (/vscode/vscode-server-insiders/bin/linux-x64/dfa434a13c74b847c9edc4a82e5ca0588f24ce9d-insider/out/vs/workbench/api/node/extensionHostProcess.js:143:51558)
    at Object.get activeItem [as activeItem] (/vscode/vscode-server-insiders/bin/linux-x64/dfa434a13c74b847c9edc4a82e5ca0588f24ce9d-insider/out/vs/workbench/api/node/extensionHostProcess.js:157:36010)
    at JSON.stringify (<anonymous>)
    at n (/vscode/vscode-server-insiders/bin/linux-x64/dfa434a13c74b847c9edc4a82e5ca0588f24ce9d-insider/out/vs/workbench/api/node/extensionHostProcess.js:152:1395)
    at Function.serializeRequestArguments (/vscode/vscode-server-insiders/bin/linux-x64/dfa434a13c74b847c9edc4a82e5ca0588f24ce9d-insider/out/vs/workbench/api/node/extensionHostProcess.js:152:9530)
    at c.U (/vscode/vscode-server-insiders/bin/linux-x64/dfa434a13c74b847c9edc4a82e5ca0588f24ce9d-insider/out/vs/workbench/api/node/extensionHostProcess.js:152:5716)
    at Proxy.F.<computed>.z.charCodeAt.F.<computed> (/vscode/vscode-server-insiders/bin/linux-x64/dfa434a13c74b847c9edc4a82e5ca0588f24ce9d-insider/out/vs/workbench/api/node/extensionHostProcess.js:152:2993)
    at R.setValue (/vscode/vscode-server-insiders/bin/linux-x64/dfa434a13c74b847c9edc4a82e5ca0588f24ce9d-insider/out/vs/workbench/api/node/extensionHostProcess.js:147:8994)
    at /vscode/vscode-server-insiders/bin/linux-x64/dfa434a13c74b847c9edc4a82e5ca0588f24ce9d-insider/out/vs/workbench/api/node/extensionHostProcess.js:140:27837
    at M.a (/vscode/vscode-server-insiders/bin/linux-x64/dfa434a13c74b847c9edc4a82e5ca0588f24ce9d-insider/out/vs/workbench/api/node/extensionHostProcess.js:140:27955)
    at M.h (/vscode/vscode-server-insiders/bin/linux-x64/dfa434a13c74b847c9edc4a82e5ca0588f24ce9d-insider/out/vs/workbench/api/node/extensionHostProcess.js:99:20101)
    at M.g (/vscode/vscode-server-insiders/bin/linux-x64/dfa434a13c74b847c9edc4a82e5ca0588f24ce9d-insider/out/vs/workbench/api/node/extensionHostProcess.js:99:20085)
    at listOnTimeout (node:internal/timers:569:17)
    at processTimers (node:internal/timers:512:7)

image

image

To Reproduce
Steps to reproduce the behavior:
(in my case) install plugin - click on plugin tb

Platform

  • OS: Win11
  • IDE: Code Insiders
  • Language: Python

Additional context
I see PromptFlow extension is also not loading ...

@markwallace-microsoft markwallace-microsoft added python Pull requests for the Python Semantic Kernel triage labels Apr 30, 2024
@github-actions github-actions bot changed the title Semantic Kernel extension not loadiong in VSCode Extension 'ms-semantic-kernel.semantic-kernel' CANNOT use API proposal: treeViewActiveItem Python: Semantic Kernel extension not loadiong in VSCode Extension 'ms-semantic-kernel.semantic-kernel' CANNOT use API proposal: treeViewActiveItem Apr 30, 2024
@jochenvw jochenvw changed the title Python: Semantic Kernel extension not loadiong in VSCode Extension 'ms-semantic-kernel.semantic-kernel' CANNOT use API proposal: treeViewActiveItem Python: Semantic Kernel extension not loading in VSCode Extension 'ms-semantic-kernel.semantic-kernel' CANNOT use API proposal: treeViewActiveItem Apr 30, 2024
@matthewbolanos matthewbolanos changed the title Python: Semantic Kernel extension not loading in VSCode Extension 'ms-semantic-kernel.semantic-kernel' CANNOT use API proposal: treeViewActiveItem Semantic Kernel extension not loading in VSCode Extension 'ms-semantic-kernel.semantic-kernel' CANNOT use API proposal: treeViewActiveItem Apr 30, 2024
@matthewbolanos matthewbolanos added vscode and removed python Pull requests for the Python Semantic Kernel triage labels Apr 30, 2024
@matthewbolanos matthewbolanos added the bug Something isn't working label Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working vscode
Projects
None yet
Development

No branches or pull requests

3 participants