Open
Description
Product and Version [VSCode]:1.94
IntelliCode Extension Version: 1.3.1
Target Platform or Language [Python]:3.9.19
Steps to Reproduce / Scenario:3.9.19
我之前远程连接的linux服务器因为cache过满而连不上去,清除cache缓存后能够成功连接,但是编译出了如下问题:
Sorry, something went wrong activating IntelliCode support for Python. Please check the "Python" and "VS IntelliCode" output windows for details.
在连接上服务器后,并没有立即跳转到我的初始终端,而是只显示VS Code远程连接Linux服务器时的输出日志信息:
d6ebabf91aff: running
Script executing under PID: 3532601
Found existing installation at /data00/.vscode_server/.vscode-server...
Starting VS Code CLI...
printenv:
LANGUAGE=zh_CN:zh
USER=douzc
SSH_CLIENT=10.46.173.125 10889 5102
XDG_SESSION_TYPE=tty
SHLVL=0
MOTD_SHOWN=pam
HOME=/home/douzc
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1012/bus
LOGNAME=douzc
_=/usr/bin/sh
XDG_SESSION_CLASS=user
XDG_SESSION_ID=174979
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
XDG_RUNTIME_DIR=/run/user/1012
LANG=zh_CN.UTF-8
SHELL=/bin/bash
PWD=/home/douzc
SSH_CONNECTION=10.46.173.125 10889 183.174.229.163 5102
Removing old logfile at /data00/.vscode_server/.vscode-server/.cli.384ff7382de624fb94dbaf6da11977bba1ecd427.log
Spawned remote CLI: 3532619
Waiting for server log...
Waiting for server log...
d6ebabf91aff: start
listeningOn==127.0.0.1:35949==
osReleaseId==ubuntu==
arch==x86_64==
vscodeArch==x64==
bitness==64==
tmpDir==/run/user/1012==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
serverStartTime==74==
execServerToken==30dda280-127c-4491-97c1-682dacaf5689==
platformDownloadPath==cli-alpine-x64==
d6ebabf91aff: end
之后,右下角报错:
Sorry, something went wrong activating IntelliCode support for Python. Please check the "Python" and "VS IntelliCode" output windows for details.
并且左下角一直显示“正在重新激活终端”
我的python输出为:
2024-10-19 13:20:00.103 [error] sendStartupTelemetry() failed. [l [Error]: Failed to resolve env "/data00/yifei_chen/anaconda3/envs/fei/bin/python"
at ae (/data00/.vscode_server/.vscode-server/extensions/ms-python.python-2024.16.1-linux-x64/out/client/extension.js:2:2051686)
at oe (/data00/.vscode_server/.vscode-server/extensions/ms-python.python-2024.16.1-linux-x64/out/client/extension.js:2:2049646)
at Immediate.<anonymous> (/data00/.vscode_server/.vscode-server/extensions/ms-python.python-2024.16.1-linux-x64/out/client/extension.js:2:2045940)
at process.processImmediate (node:internal/timers:483:21)] {
code: -4,
data: undefined
}
我的vs intellicode输出为:
Acquiring model
Acquiring model 'intellisense-members-lstm-pylance' for python
Acquiring model 'intellisense-members-lstm-pylance' for python
vs-intellicode-python was passed a model: {}.
Found bundled model for python
Activating Python extension
Error while activating Python: {"code":-4}
我的代码能够正常运行,但是完全不高亮。我不知道我重连服务器后,我的intellicode出了什么问题
Metadata
Metadata
Assignees
Labels
No labels
Activity