Closed
Description
Environment data
VS Code version: 1.19.0
Python Extension version: 0.9.0
Python Version: 3.6.3
OS and version: win10.1709
Actual behavior
python file doesn't run in terminal
Expected behavior
python file should run in terminal
Steps to reproduce:
- create a python file
- in the python file, right click to show the operation list, select the selction "run python file in terminal"
Logs
Output from Python
output panel
Output from Console window
(Help->Developer Tools menu)
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: e for gitlens.toggleFileBlame
e._assertNoCtrlAlt @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: e for gitlens.toggleCodeLens
e._assertNoCtrlAlt @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: e for gitlens.showLastQuickPick
e._assertNoCtrlAlt @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: e for gitlens.showCommitSearch
e._assertNoCtrlAlt @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: e for gitlens.showQuickFileHistory
e._assertNoCtrlAlt @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: e for gitlens.showQuickRepoHistory
e._assertNoCtrlAlt @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: e for gitlens.showQuickRepoStatus
e._assertNoCtrlAlt @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: e for gitlens.showQuickCommitFileDetails
e._assertNoCtrlAlt @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: e for gitlens.diffWithNext
e._assertNoCtrlAlt @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: e for gitlens.diffLineWithPrevious
e._assertNoCtrlAlt @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: e for gitlens.diffWithPrevious
e._assertNoCtrlAlt @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: e for gitlens.diffLineWithWorking
e._assertNoCtrlAlt @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: e for gitlens.diffWithWorking
e._assertNoCtrlAlt @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:2571 [Extension Host] debugger listening on port 9333
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:2569 [Extension Host] debugger inspector at %cDebugger listening on port 9333.
Warning: This is an experimental feature and could change at any time.
To start debugging, open the following URL in Chrome:
chrome-devtools://devtools/bundled/inspector.html?experiments=true&v8only=true&ws=127.0.0.1:9333/ada6b275-a55b-4dd8-9736-868e5178c8ce
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:249 [Extension Host] vscode-icons is active!
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:249 [Extension Host] Activating extension `ms-python.python` failed: Missing required @injectable annotation in: PersistentStateFactory..
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:249
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:249 [Extension Host] Activating extension `ms-python.python` failed: Missing required @injectable annotation in: PersistentStateFactory.
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:249
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:4054 Activating extension `ms-python.python` failed: Missing required @injectable annotation in: PersistentStateFactory..
t._logMessageInConsole @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:4054
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:249 [Extension Host] Here is the error stack: Error: Missing required @injectable annotation in: PersistentStateFactory.
at getTargets (C:\Users\alex1\.vscode\extensions\ms-python.python-0.9.0\node_modules\inversify\lib\planning\reflection_utils.js:19:15)
at Object.getDependencies (C:\Users\alex1\.vscode\extensions\ms-python.python-0.9.0\node_modules\inversify\lib\planning\reflection_utils.js:10:19)
at C:\Users\alex1\.vscode\extensions\ms-python.python-0.9.0\node_modules\inversify\lib\planning\planner.js:106:55
at Array.forEach (native)
at _createSubRequests (C:\Users\alex1\.vscode\extensions\ms-python.python-0.9.0\node_modules\inversify\lib\planning\planner.js:94:24)
at Object.plan (C:\Users\alex1\.vscode\extensions\ms-python.python-0.9.0\node_modules\inversify\lib\planning\planner.js:138:5)
at Container._planAndResolve (C:\Users\alex1\.vscode\extensions\ms-python.python-0.9.0\node_modules\inversify\lib\container\container.js:245:37)
at Container._get (C:\Users\alex1\.vscode\extensions\ms-python.python-0.9.0\node_modules\inversify\lib\container\container.js:238:44)
at Container.get (C:\Users\alex1\.vscode\extensions\ms-python.python-0.9.0\node_modules\inversify\lib\container\container.js:197:21)
at ServiceManager.get (C:\Users\alex1\.vscode\extensions\ms-python.python-0.9.0\out\client\ioc\serviceManager.js:41:89)
at C:\Users\alex1\.vscode\extensions\ms-python.python-0.9.0\out\client\extension.js:85:55
at Generator.next (<anonymous>)
at __awaiter (C:\Users\alex1\.vscode\extensions\ms-python.python-0.9.0\out\client\extension.js:7:71)
at Promise (<anonymous>)
at __awaiter (C:\Users\alex1\.vscode\extensions\ms-python.python-0.9.0\out\client\extension.js:3:12)
at activate (C:\Users\alex1\.vscode\extensions\ms-python.python-0.9.0\out\client\extension.js:66:12)
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: e for gitlens.toggleFileBlame
e._assertNoCtrlAlt @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: e for gitlens.toggleCodeLens
e._assertNoCtrlAlt @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: e for gitlens.showLastQuickPick
e._assertNoCtrlAlt @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: e for gitlens.showCommitSearch
e._assertNoCtrlAlt @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: e for gitlens.showQuickFileHistory
e._assertNoCtrlAlt @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: e for gitlens.showQuickRepoHistory
e._assertNoCtrlAlt @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: e for gitlens.showQuickRepoStatus
e._assertNoCtrlAlt @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: e for gitlens.showQuickCommitFileDetails
e._assertNoCtrlAlt @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: e for gitlens.diffWithNext
e._assertNoCtrlAlt @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: e for gitlens.diffLineWithPrevious
e._assertNoCtrlAlt @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: e for gitlens.diffWithPrevious
e._assertNoCtrlAlt @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: e for gitlens.diffLineWithWorking
e._assertNoCtrlAlt @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: e for gitlens.diffWithWorking
e._assertNoCtrlAlt @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1316
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:2571 [Extension Host] debugger listening on port 9333
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:2569 [Extension Host] debugger inspector at %cDebugger listening on port 9333.
Warning: This is an experimental feature and could change at any time.
To start debugging, open the following URL in Chrome:
chrome-devtools://devtools/bundled/inspector.html?experiments=true&v8only=true&ws=127.0.0.1:9333/ada6b275-a55b-4dd8-9736-868e5178c8ce
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:249 [Extension Host] vscode-icons is active!
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:249 [Extension Host] Activating extension `ms-python.python` failed: Missing required @injectable annotation in: PersistentStateFactory..
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:249
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:249 [Extension Host] Activating extension `ms-python.python` failed: Missing required @injectable annotation in: PersistentStateFactory.
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:249
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:4054 Activating extension `ms-python.python` failed: Missing required @injectable annotation in: PersistentStateFactory..
t._logMessageInConsole @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:4054
/C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:249 [Extension Host] Here is the error stack: Error: Missing required @injectable annotation in: PersistentStateFactory.
at getTargets (C:\Users\alex1\.vscode\extensions\ms-python.python-0.9.0\node_modules\inversify\lib\planning\reflection_utils.js:19:15)
at Object.getDependencies (C:\Users\alex1\.vscode\extensions\ms-python.python-0.9.0\node_modules\inversify\lib\planning\reflection_utils.js:10:19)
at C:\Users\alex1\.vscode\extensions\ms-python.python-0.9.0\node_modules\inversify\lib\planning\planner.js:106:55
at Array.forEach (native)
at _createSubRequests (C:\Users\alex1\.vscode\extensions\ms-python.python-0.9.0\node_modules\inversify\lib\planning\planner.js:94:24)
at Object.plan (C:\Users\alex1\.vscode\extensions\ms-python.python-0.9.0\node_modules\inversify\lib\planning\planner.js:138:5)
at Container._planAndResolve (C:\Users\alex1\.vscode\extensions\ms-python.python-0.9.0\node_modules\inversify\lib\container\container.js:245:37)
at Container._get (C:\Users\alex1\.vscode\extensions\ms-python.python-0.9.0\node_modules\inversify\lib\container\container.js:238:44)
at Container.get (C:\Users\alex1\.vscode\extensions\ms-python.python-0.9.0\node_modules\inversify\lib\container\container.js:197:21)
at ServiceManager.get (C:\Users\alex1\.vscode\extensions\ms-python.python-0.9.0\out\client\ioc\serviceManager.js:41:89)
at C:\Users\alex1\.vscode\extensions\ms-python.python-0.9.0\out\client\extension.js:85:55
at Generator.next (<anonymous>)
at __awaiter (C:\Users\alex1\.vscode\extensions\ms-python.python-0.9.0\out\client\extension.js:7:71)
at Promise (<anonymous>)
at __awaiter (C:\Users\alex1\.vscode\extensions\ms-python.python-0.9.0\out\client\extension.js:3:12)
at activate (C:\Users\alex1\.vscode\extensions\ms-python.python-0.9.0\out\client\extension.js:66:12)