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

Terminal not spawning on Ubuntu #13657

Closed
jfaltermeier opened this issue Apr 29, 2024 · 0 comments · Fixed by #13658
Closed

Terminal not spawning on Ubuntu #13657

jfaltermeier opened this issue Apr 29, 2024 · 0 comments · Fixed by #13658

Comments

@jfaltermeier
Copy link
Contributor

Bug Description:

Currently when I try to open a Terminal (e.g. via the application menu), it stays empty and I get errors on the console.

Might be related to #13613
@msujew

So this might only affect Ubuntu/Linux and potentially Mac.

Steps to Reproduce:

  1. Launch Theia Electron or Browser Example
  2. Menu Bar -> Terminal -> New Terminal
  3. Terminal stays empty, this appears on the log for me
2024-04-29T10:23:26.923Z terminal ERROR Error: posix_spawn failed: No such file or directory
    at new UnixTerminal (/home/johannes/Git/theia/examples/browser/lib/backend/vendors-node_modules_drivelist_build_Release_drivelist_node-node_modules_stroncium_procfs_lib-adc4cb.js:47870:24)
    at spawn (/home/johannes/Git/theia/examples/browser/lib/backend/vendors-node_modules_drivelist_build_Release_drivelist_node-node_modules_stroncium_procfs_lib-adc4cb.js:47519:12)
    at ShellProcess.createPseudoTerminal (/home/johannes/Git/theia/examples/browser/lib/backend/main.js:23946:47)
    at startTerminal (/home/johannes/Git/theia/examples/browser/lib/backend/main.js:23902:29)
    at new TerminalProcess (/home/johannes/Git/theia/examples/browser/lib/backend/main.js:23933:43)
    at new ShellProcess (/home/johannes/Git/theia/examples/browser/lib/backend/main.js:27806:9)
    at createInstanceWithInjections (/home/johannes/Git/theia/examples/browser/lib/backend/vendors-node_modules_fuzzy_lib_fuzzy_js-node_modules_inversify_es_inversify_js-node_modules_i-0dedd3.js:2701:20)
    at _createInstance (/home/johannes/Git/theia/examples/browser/lib/backend/vendors-node_modules_fuzzy_lib_fuzzy_js-node_modules_inversify_es_inversify_js-node_modules_i-0dedd3.js:2691:22)
    at resolveInstance (/home/johannes/Git/theia/examples/browser/lib/backend/vendors-node_modules_fuzzy_lib_fuzzy_js-node_modules_inversify_es_inversify_js-node_modules_i-0dedd3.js:2786:18)
    at _getResolvedFromBinding (/home/johannes/Git/theia/examples/browser/lib/backend/vendors-node_modules_fuzzy_lib_fuzzy_js-node_modules_inversify_es_inversify_js-node_modules_i-0dedd3.js:2904:85)
2024-04-29T10:23:26.923Z root ERROR Error: pty process did not start correctly
    at ShellProcess.checkTerminal (/home/johannes/Git/theia/examples/browser/lib/backend/main.js:24043:19)
    at get pid [as pid] (/home/johannes/Git/theia/examples/browser/lib/backend/main.js:23989:14)
    at /home/johannes/Git/theia/examples/browser/lib/backend/main.js:27626:53
    at /home/johannes/Git/theia/examples/browser/lib/backend/packages_core_lib_common_index_js-node_modules_vscode-languageserver-types_lib_umd_sync_recursive.js:1410:69
    at CallbackList.invoke (/home/johannes/Git/theia/examples/browser/lib/backend/packages_core_lib_common_index_js-node_modules_vscode-languageserver-types_lib_umd_sync_recursive.js:1416:26)
    at Emitter.fire (/home/johannes/Git/theia/examples/browser/lib/backend/packages_core_lib_common_index_js-node_modules_vscode-languageserver-types_lib_umd_sync_recursive.js:1531:36)
    at ShellProcess.emitOnError (/home/johannes/Git/theia/examples/browser/lib/backend/main.js:23545:27)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)

Additional Information

  • Operating System: Ubuntu 22.04
  • Theia Version: master
  • Node version: v20.12.2
@jfaltermeier jfaltermeier changed the title Terminal now spawning on Ubuntu Terminal not spawning on Ubuntu Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant