Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Failed to start language server. Bundled clangd: File too short #213

Closed

Description

Right after starting the IDE, a message occurs in the bottom right saying:

Failed to start Arduino language server: Error: Process exited with exit code: 127

Terminal output regarding this error:

root ERROR Unexpected exit code '127' when executing "/opt/arduino-pro-ide-0.0.4-alpha.preview-linux64/resources/app/node_modules/arduino-ide-extension/build/bin/clangd" with args: ["--version"].
languages ERROR Error occurred while starting language contribution. /services/languages/ino/:id. Error: Process exited with exit code: 127
    at ChildProcess.<anonymous> (/opt/arduino-pro-ide-0.0.4-alpha.preview-linux64/resources/app/node_modules/arduino-ide-extension/lib/node/exec-util.js:124:24)
    at ChildProcess.emit (events.js:182:13)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)

When I try to start the bundled clangd

/opt/arduino-pro-ide-0.0.4-alpha.preview-linux64/resources/app/node_modules/arduino-ide-extension/build/bin/clangd --version

it says:

clangd: error while loading shared libraries: /opt/arduino-pro-ide-0.0.4-alpha.preview-linux64/resources/app/node_modules/arduino-ide-extension/build/bin/../lib/libtinfo.so.5: file too short

Desktop (please complete the following information):

  • OS: Kubuntu
  • Version 19.10

Additional context
Running the 0.0.4-alpha.preview

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

Metadata

Assignees

No one assigned

    Labels

    topic: language serverThe language server is responsible for "editor support", e.g. completion and diagnosticstype: imperfectionSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions