Skip to content

Activating extension ms-python.python failed: Missing required @injectable annotation in: PersistentStateFactory. #432

@viewstar000

Description

@viewstar000

Environment data

VS Code version: 1.19.0
Python Extension version: 0.9.0
Python Version: python2.7 & python3.6 (home-brew)
OS and version: macOS High Sierra 10.13.2

Actual behavior

Activating extension ms-python.python failed

Logs

[Extension Host] Here is the error stack: Error: Missing required @Injectable annotation in: PersistentStateFactory.
at getTargets (/Users/lili01/.vscode/extensions/ms-python.python-0.9.0/node_modules/inversify/lib/planning/reflection_utils.js:19:15)
at Object.getDependencies (/Users/lili01/.vscode/extensions/ms-python.python-0.9.0/node_modules/inversify/lib/planning/reflection_utils.js:10:19)
at /Users/lili01/.vscode/extensions/ms-python.python-0.9.0/node_modules/inversify/lib/planning/planner.js:106:55
at Array.forEach (native)
at _createSubRequests (/Users/lili01/.vscode/extensions/ms-python.python-0.9.0/node_modules/inversify/lib/planning/planner.js:94:24)
at Object.plan (/Users/lili01/.vscode/extensions/ms-python.python-0.9.0/node_modules/inversify/lib/planning/planner.js:138:5)
at Container._planAndResolve (/Users/lili01/.vscode/extensions/ms-python.python-0.9.0/node_modules/inversify/lib/container/container.js:245:37)
at Container._get (/Users/lili01/.vscode/extensions/ms-python.python-0.9.0/node_modules/inversify/lib/container/container.js:238:44)
at Container.get (/Users/lili01/.vscode/extensions/ms-python.python-0.9.0/node_modules/inversify/lib/container/container.js:197:21)
at ServiceManager.get (/Users/lili01/.vscode/extensions/ms-python.python-0.9.0/out/client/ioc/serviceManager.js:41:89)
at /Users/lili01/.vscode/extensions/ms-python.python-0.9.0/out/client/extension.js:85:55
at Generator.next ()
at __awaiter (/Users/lili01/.vscode/extensions/ms-python.python-0.9.0/out/client/extension.js:7:71)
at Promise ()
at __awaiter (/Users/lili01/.vscode/extensions/ms-python.python-0.9.0/out/client/extension.js:3:12)
at activate (/Users/lili01/.vscode/extensions/ms-python.python-0.9.0/out/client/extension.js:66:12)
at Function.t._callActivateOptional (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:512:370)
at Function.t._callActivate (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:512:54)
at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:511:329
at Object.g [as _notify] (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:67:449)
at Object.enter (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:70:778)
at n.Class.derive._oncancel._run (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:72:573)
at n.Class.derive._oncancel._completed (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:72:14)
at c (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:75:460)
at n.Class.derive.join.i.forEach.q.then.o.(anonymous function) (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:75:674)
at Object.g [as _notify] (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:67:449)
at Object.enter (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:70:778)
at n.Class.derive._oncancel._run (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:72:573)
at n.Class.derive._oncancel._completed (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:72:14)

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions