添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
体贴的弓箭  ·  如何使用python ...·  5 小时前    · 
没人理的骆驼  ·  Ubuntu vscode pio ...·  6 小时前    · 
追风的水煮鱼  ·  wolfcrypt: the ...·  6 小时前    · 
刚毅的灭火器  ·  python-binary-memcache ...·  6 小时前    · 
阳光的甜瓜  ·  Android:BottomNavigati ...·  2 月前    · 

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type: Bug

vscode更新后,python及其依赖于python的扩展都无法加载,提示我进行重新加载窗口。重新加载窗口后仍无法加载。

Extension version: 2022.16.1
VS Code version: Code 1.75.0 (e2816fe719a4026ffa1ee0189dc89bdfdbafb164, 2023-02-01T15:23:45.584Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: No
Connection to 'ssh-remote+new_server' could not be established

System Info Value 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) 31.75GB (22.85GB free) Process Argv --crash-reporter-id 9bfbe2ec-72cc-4a34-951c-2769e1a00253 Screen Reader

Connection to 'ssh-remote+new_server' could not be established

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vsdfh931:30280409
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012:30540252
azure-dev_surveyone:30548225
pyindex848cf:30577861
nodejswelcome1cf:30587006
2e4cg342:30602488
pyind779cf:30657577
f6dab269:30613381
pythonsymbol12cf:30657549
2i9eh265:30646982
          
  ERR Extension 'ms-python.python' wants API proposal 'telemetryLogger' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
log.ts:398  WARN [searKing.preview-vscode]: Cannot register 'markdown.styles'. This property is already registered.
log.ts:398  WARN [searKing.preview-vscode]: Cannot register 'markdown.links.openLocation'. This property is already registered.
log.ts:398  WARN No search provider registered for scheme: vscode-remote, waiting
log.ts:392  INFO [perf] Render performance baseline is 31ms
notificationsAlerts.ts:42 Extension activation failed, run the 'Developer: Toggle Developer Tools' command for more information.
c @ notificationsAlerts.ts:42
mainThreadExtensionService.ts:111 Activating extension 'ms-python.python' failed: TelemetrySender.sendEventData must be a function.
$onExtensionActivationError @ mainThreadExtensionService.ts:111
mainThreadExtensionService.ts:111 Cannot activate the 'isort' extension because its dependency 'Python' failed to activate
$onExtensionActivationError @ mainThreadExtensionService.ts:111
mainThreadExtensionService.ts:111 Cannot activate the 'Pylance' extension because its dependency 'Python' failed to activate
$ code-server -v
1.75.0
e2816fe719a4026ffa1ee0189dc89bdfdbafb164
Version: 1.75.0 (system setup)
Commit: e2816fe719a4026ffa1ee0189dc89bdfdbafb164
Date: 2023-02-01T15:23:45.584Z
Electron: 19.1.9
Chromium: 102.0.5005.194
Node.js: 16.14.2
V8: 10.2.154.23-electron.0
OS: Windows_NT x64 10.0.19041
Sandboxed: No
          

Seems like this is fixed in #20542, and 2023.2.0 version will fix this, but this version not support linux x64 yet:
https://marketplace.visualstudio.com/_apis/public/gallery/publishers/ms-python/vsextensions/python/2023.2.0/vspackage?targetPlatform=linux-x64

"$id": "1", "innerException": null, "message": "Version 2023.2.0 for extension ms-python.python has no support for targetPlatform linux-x64", "typeName": "Microsoft.VisualStudio.Services.Gallery.WebApi.ExtensionVersionHasNoSupportForRequestedTargetPlatformsException, Microsoft.VisualStudio.Services.Gallery.WebApi", "typeKey": "ExtensionVersionHasNoSupportForRequestedTargetPlatformsException", "errorCode": 0, "eventId": 3000

I'm experiencing the same error stated above, but in my console there's another error:
Activating extension 'ms-python.python' failed: TelemetrySender.sendEventData must be a function. $onExtensionActivationError @ workbench.desktop.main.js:2020 , not sure if this is related.

And here's information about my system and code:

Version: 1.75.0
Commit: e2816fe719a4026ffa1ee0189dc89bdfdbafb164
Date: 2023-02-04T10:31:04.465Z
Electron: 19.1.9
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Linux x64 6.1.9-arch1-2
Sandboxed: No

Seems like this is fixed in #20542, and 2023.2.0 version will fix this, but this version not support linux x64 yet

Our VSIX is actually platform-agnostic, so either that's an incorrect error because the response is specific for platform-specific VSIXs or there's a bug in the Marketplace (which I don't think is happening since I run the extension on WSL on an x64 CPU and I updated fine).

I think is't a vs-code issue: microsoft/vscode-remote-release#7961
When I try to install the extension from vscode's Extensions tab, I got an error:

[error] Untrusted: Signature: Untrusted
    at Pn.download (/data/home/unightsun/.vscode-server/bin/e2816fe719a4026ffa1ee0189dc89bdfdbafb164/out/vs/server/node/server.main.js:113:1922)
    at async U.h (/data/home/unightsun/.vscode-server/bin/e2816fe719a4026ffa1ee0189dc89bdfdbafb164/out/vs/server/node/server.main.js:149:90589)

I fixed this by microsoft/vscode#173327 (comment)

Closing this because the original error (failed: TelemetrySender.sendEventData must be a function.) reported is addressed by using v1.75.0 of VS Code, v2023.2.0 of python extension.

Yup, updated just now and it worked, thanks for the heads up