Python plugin startup error "issue/reporter is a proposed menu identifier"
Description:
When I start VS Code (installed from Arch repo, was working prior to recent Arch package upgrade) at the bottom of the window I see the message "Python extension loading...".
If I go to the Extensions panel I see the message "This extension has reported 2 messages". If I bring up the messages I see this:
issue/reporter is a proposed menu identifier. It requires 'package.json#enabledApiProposals: ["contribIssueReporter"]' and is only available when running out of dev or with the following command line switch: --enable-proposed-api ms-python.python
editor/content is a proposed menu identifier. It requires 'package.json#enabledApiProposals: ["contribEditorContentMenu"]' and is only available when running out of dev or with the following command line switch: --enable-proposed-api ms-python.python
When googling the error I found this issue report in the Microsoft Python Debugger project (the Python Debugger extension is also showing the first of the two error messages listed above). The reporter states that they were using the Arch package and saw the error, but when they switched to the upstream Microsoft repo code the plugin worked.
I have not personally tried the upstream code.
I tried starting VS Code with the argument --enable-proposed-api ms-python.python, but this had no effect.
I found some more detailed error messages in the developer console log:
ion development mode or use the --enable-proposed-api command line flag
log.ts:439 ERR Extension 'ms-python.python' appears in product.json but enables LESS API proposals than the extension wants.
package.json (LOSES): contribEditorContentMenu, quickPickSortByLabel, testObserver, quickPickItemTooltip, terminalDataWriteEvent, terminalExecuteCommandEvent, contribIssueReporter, terminalShellIntegration
product.json (WINS): quickPickSortByLabel, testObserver
log.ts:439 ERR Extension 'ms-toolsai.jupyter' appears in product.json but enables LESS API proposals than the extension wants.
package.json (LOSES): notebookDeprecated, notebookMessaging, notebookMime, contribNotebookStaticPreloads, portsAttributes, quickPickSortByLabel, notebookKernelSource, interactiveWindow, quickPickItemTooltip, notebookExecution, notebookCellExecution, notebookVariableProvider
product.json (WINS): notebookDeprecated, notebookMessaging, notebookMime, notebookCellExecutionState, portsAttributes, quickPickSortByLabel, notebookKernelSource, interactiveWindow, notebookControllerAffinityHidden, contribNotebookStaticPreloads
log.ts:439 ERR [ms-python.debugpy]: issue/reporter is a proposed menu identifier. It requires 'package.json#enabledApiProposals: ["contribIssueReporter"]' and is only available when running out of dev or with the following command line switch: --enable-proposed-api ms-python.debugpy
log.ts:439 ERR [ms-python.python]: issue/reporter is a proposed menu identifier. It requires 'package.json#enabledApiProposals: ["contribIssueReporter"]' and is only available when running out of dev or with the following command line switch: --enable-proposed-api ms-python.python
log.ts:439 ERR [ms-python.python]: editor/content is a proposed menu identifier. It requires 'package.json#enabledApiProposals: ["contribEditorContentMenu"]' and is only available when running out of dev or with the following command line switch: --enable-proposed-api ms-python.python
log.ts:439 ERR spawn /home/jlownie/.vscode-oss/extensions/ms-python.python-2024.12.3-universal/python-env-tools/bin/pet ENOENT: Error: spawn /home/jlownie/.vscode-oss/extensions/ms-python.python-2024.12.3-universal/python-env-tools/bin/pet ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:286:19)
at onErrorNT (node:internal/child_process:484:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
notificationsAlerts.ts:42 Extension activation failed, run the 'Developer: Toggle Developer Tools' command for more information.
c @ notificationsAlerts.ts:42
mainThreadExtensionService.ts:107 Activating extension 'ms-python.python' failed: Extension 'ms-python.python' CANNOT use API proposal: terminalShellIntegration.
Its package.json#enabledApiProposals-property declares: quickPickSortByLabel, testObserver but NOT terminalShellIntegration.
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-python.python.
Additional info:
- package version(s): 1.92.1-1
Steps to reproduce:
Start VS Code with Python plugin installed and enabled.