Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

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

intel oneapi环境变量加入.bashrc后Sftp无法打开 #3413

Open
Shihang-Hu opened this issue May 9, 2024 · 5 comments
Open

intel oneapi环境变量加入.bashrc后Sftp无法打开 #3413

Shihang-Hu opened this issue May 9, 2024 · 5 comments

Comments

@Shihang-Hu
Copy link

Electerm Version and download file extension(Electerm版本和下载文件后缀)

electerm-1.39.2-win-x64-installer.exe

Platform detail (平台详情)

linux

What steps will reproduce the bug?(重新问题的详细步骤)

我将命令source /opt/intel/oneapi/setvars.sh intel64加入到'.bashrc'文件后, 即开机自动设置intel oneapi环境变量, Sftp功能无法打开, 报错如下

Error: Packet length 537541178 exceeds max length of 262144
    at <http://127.0.0.1:30975/js/electerm-1.39.2.js:86:16028>
    at Object.resolve (<http://127.0.0.1:30975/js/electerm-1.39.2.js:61:5428>)
    at Worker.Dp (<http://127.0.0.1:30975/js/electerm-1.39.2.js:61:6320>)

报错图片如下:
2024-05-10 06-10-14-135

What should have happened?(期望的结果)

修改好BUG即可, 谢谢.

Would this happen in other terminal app(是否能够在其他同类软件重现这个问题)

未尝试使用过其他同类软件, vscode SSH没有问题.

Additional information(其他任何相关信息)

No response

@zxdong262
Copy link
Member

请问 ssh登录后ls -al会有很多文件吗

@zxdong262
Copy link
Member

根据https://www.zhihu.com/question/421105440 可能是 source /opt/intel/oneapi/setvars.sh intel64 导致大量输出 ,也许可以试试 source /opt/intel/oneapi/setvars.sh intel64 1>/dev/null 2>&1?

@Shihang-Hu
Copy link
Author

根据https://www.zhihu.com/question/421105440 可能是 source /opt/intel/oneapi/setvars.sh intel64 导致大量输出 ,也许可以试试 source /opt/intel/oneapi/setvars.sh intel64 1>/dev/null 2>&1?

非常感谢, 确实是intel oneapi设置环境变量时导致了大量的输出, 问题已解决.

@zxdong262
Copy link
Member

软件端还是没有解决,其他软件应该是能够正确处理这种情况

@zxdong262
Copy link
Member

mscdex/ssh2#1048

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants