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

Integrated teminal not opening #14304

Open
DevelSSN opened this issue Oct 13, 2024 · 4 comments
Open

Integrated teminal not opening #14304

DevelSSN opened this issue Oct 13, 2024 · 4 comments
Assignees
Labels
terminal issues related to the terminal

Comments

@DevelSSN
Copy link

DevelSSN commented Oct 13, 2024

Bug Description:

When an integrated terminal is opened, it does not load, and backend freezes. Sometime later, backend repairs but not the terminal

Steps to Reproduce:

  1. Open a terminal in Theia IDE AppImage
  2. Terminal does not load
  3. Instead, theia backend goes offline.

Additional Information

image
image
image

  • Operating System: Kubuntu 24.10, Plasma 6.1, 8GB Ram, 4GB Swapfile swappiness=60(default)
  • Theia Version: 1.54.0.165

settings.json
{
"window.titleBarStyle": "native",
"redhat.telemetry.enabled": false,
"[dart]": {
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.rulers": [80],
"editor.selectionHighlight": false,
"editor.suggestSelection": "first",
"editor.tabCompletion": "onlySnippets",
"editor.wordBasedSuggestions": "off"
},
"terminal.external.linuxExec": "/usr/bin/zsh",
"terminal.integrated.fontFamily": "'MesloGS NF','Droid Sans Mono', 'monospace', monospace",
"terminal.integrated.defaultProfile.linux": "SHELL",
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"prettier.enable": true,
"editor.formatOnSave": true,
"files.autoSave": "afterDelay",
"sonarlint.pathToNodeExecutable": "~/.nvm/versions/node/v20.17.0/bin/node",
"editor.fontFamily": "'MesloGS NF','Droid Sans Mono', 'monospace', monospace"
}

@jonah-iden
Copy link
Contributor

I saw this also already happening on 1.49.0. I'll see if i can take a look in the nex days

@jonah-iden jonah-iden self-assigned this Oct 15, 2024
@jonah-iden
Copy link
Contributor

@DevelSSN Could this be related to this issue microsoft/node-pty#578?
would it be possible for you to check your nofile limit?

@tsmaeder tsmaeder added the terminal issues related to the terminal label Oct 17, 2024
@jonah-iden
Copy link
Contributor

@DevelSSN This problem seemed to be related to the node-pty spawn helper, which they removed in 1.0.0. I create a PR to upgrade node-pty here. If you like you can test if that fixes your issue

@TrevorNodeJS
Copy link

@DevelSSN This problem seemed to be related to the node-pty spawn helper, which they removed in 1.0.0. I create a PR to upgrade node-pty here. If you like you can test if that fixes your issue

I have tested this pr on top of theia 1.55.0, works fine. Thanks a lot.

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

No branches or pull requests

4 participants