vscode-python: Extension activation failed under latest insiders build

Type: Bug

A few hours ago VSC was updated to the latest insiders build and upon restart the Python extension fails to load with the following error message being shown in the Developer Tools console:

Activating extension 'ms-python.python' failed: this.a.sendEventData is not a function.
$onExtensionActivationError	@	mainThreadExtensionService.ts:111

Extension version: 2022.21.13601008 VS Code version: Code - Insiders 1.75.0-insider (4acf2d9b46b75748ae687cf3b2952a0799679873, 2023-01-04T07:12:58.785Z) OS version: Windows_NT x64 10.0.22621 Modes: Sandboxed: Yes

System Info
Item Value
CPUs Intel® Core™ i5-1035G1 CPU @ 1.00GHz (8 x 1190)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
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) undefined
Memory (System) 11.70GB (2.67GB free)
Process Argv –crash-reporter-id 4285aea8-8024-49ba-97f2-9d60622a70f0
Screen Reader no
VM 0%
A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
pythonvspyl392:30422396
pythontb:30258533
vsc_aacf:30263846
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
vscod805cf:30301675
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30404738
cppdebug:30492333
vsclangdf:30492506
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30618038
pylantcb52:30590116
pyindex848:30611229
nodejswelcome1:30587009
pyind779:30611226
pythonsymbol12cf:30622697
fim-prod:30623723

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 1
  • Comments: 19 (8 by maintainers)

Commits related to this issue

Most upvoted comments

Disabling telemetry solved this for me (for now).

@brettcannon

prerelease

I successfully updated and everything appears to be working.

@jchaidez-extron thanks for the verification!

And once again, sorry about the accidental breakage. 😅

@chinmaykh you should be able to do this from the extension view from VS Code. Click on the python extension, then select install pre-release. That should get you the latest pre-release.

And for those that turned off telemetry to work around this, if you’re comfortable with turning it back on, we would appreciate it if you could turn telemetry back on. We try to be data-driven and so telemetry is important, especially from our pre-release users as it’s how we know whether something is an improvement or detriment to folks upfront before we roll it out to stable.

And just as a general FYI, thanks to all of you for being pre-release users! We do appreciate the help and support in testing stuff early to provide us feedback on things.

@brettcannon

I am still experiencing this issue. How do I install the latest version?