question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Extension 'ms-python.python' CANNOT use API proposal: telemetryLogger.

See original GitHub issue

Type: Bug

I use the Pre-Release version of the extension. The latest release in this channel won’t load; you are directed to the developer tools which reports:

Activating extension 'ms-python.python' failed: Extension 'ms-python.python' CANNOT use API proposal: telemetryLogger.
Its package.json#enabledApiProposals-property declares: quickPickSortByLabel, testObserver but NOT telemetryLogger.
 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.

Workaround: Switch to the release channel.

Extension version: 2022.19.13221011 VS Code version: Code 1.73.1 (6261075646f055b99068d3688932416f2346dd3b, 2022-11-09T02:22:48.959Z) OS version: Darwin arm64 21.6.0 Modes: Sandboxed: No Remote OS version: Linux x64 4.19.0-21-amd64

System Info
Item Value
CPUs Apple M1 Pro (10 x 24)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Load (avg) 363, 692, 649
Memory (System) 32.00GB (0.21GB free)
Process Argv –crash-reporter-id 6ee26e67-256e-4593-8cbb-57e7fb562f53
Screen Reader no
VM 0%
Item Value
Remote SSH: parsel
OS Linux x64 4.19.0-21-amd64
CPUs AMD Turion™ II Neo N40L Dual-Core Processor (2 x 1500)
Memory (System) 5.70GB (3.70GB free)
VM 0%
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
azure-dev_surveyone:30548225
pyindex848cf:30577861
nodejswelcome1:30587005
fc301958:30595537
282f8724:30602487
gswce1:30612156
iaj6b796:30613358
dbltrim-noruby:30604474
f6dab269:30613381

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Reactions:33
  • Comments:28 (11 by maintainers)

github_iconTop GitHub Comments

17reactions
ThatCooperLewiscommented, Dec 14, 2022

Workaround for Arch Adding some more context here for those who may not know how to apply the solutions given here:

  • Install/update code-features yay code-features
  • In VSCode, Shift-Ctrl-P > “Configure Runtime Arguments” > Add this line: "enable-proposed-api": ["ms-python.python"]
4reactions
tonesconescommented, Dec 10, 2022

I’m seeing this issue on 1.74

Version: 1.74.0 Commit: 5235c6bb189b60b01b1f49062f4ffa42384f8c91

Read more comments on GitHub >

github_iconTop Results From Across the Web

VSCode: Using the MS Python extension cannot execute code
1.Uninstall Python extension (if you have pylance uninstall it first) in visual studio code. · 2.Close all instances of VS Code or close...
Read more >
Using Proposed API - Visual Studio Code
Proposed APIs are a set of unstable APIs that are implemented in VS Code but not exposed to the public as stable APIs...
Read more >
[code] testOvserver API proposal error in ms-python on OSS
Steps to reproduce: Install Python extension and look at developer console. This renders the Python extension unusable, which is workflow breaking.The upstream ...
Read more >
Can't use jupyter notebooks in vscode : r/archlinux - Reddit
abstractExtensionService.ts:1151 Extension 'ms-python.python cannot use PROPOSED API (must started out of dev or enabled via ...
Read more >
Python - Open VSX Registry
The Python extension does offer some support when running on vscode.dev (which includes github.dev). This includes partial IntelliSense for open files in ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found