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

[Bug]: helix lsp not starting on A14 #19569

Closed
n-ce opened this issue Mar 25, 2024 · 1 comment
Closed

[Bug]: helix lsp not starting on A14 #19569

n-ce opened this issue Mar 25, 2024 · 1 comment
Labels
bug report Something is not working properly

Comments

@n-ce
Copy link

n-ce commented Mar 25, 2024

Problem description

I have been using helix editor on termux on A10 from a long time, it worked flawlessly. Recently I had to switch to A14, when I set it up, I realized the LSP is not starting,

~ $ hx --health typescript
Configured language servers:
  ✓ typescript-language-server: /data/data/com.termux/files/usr/bin/typescript-language-server
Configured debug adapter: None
Highlight queries: ✓
Textobject queries: ✓
Indent queries: ✓
2024-03-24T22:56:06.154 helix_view::editor [ERROR] Failed to initialize the language servers for `source.json` - `vscode-json-language-server` { cannot find binary path }
2024-03-24T22:56:55.597 helix_view::editor [ERROR] Failed to initialize the language servers for `source.ts` - `typescript-language-server` { cannot find binary path }
2024-03-24T23:11:12.621 helix_view::editor [ERROR] Failed to initialize the language servers for `source.ts` - `typescript-language-server` { IO Error: No such file or directory (os error 2) }
2024-03-24T23:13:25.405 helix_view::editor [ERROR] Failed to initialize the language servers for `source.toml` - `taplo` { cannot find binary path }
2024-03-24T23:17:56.518 helix_view::editor [ERROR] Failed to initialize the language servers for `source.toml` - `taplo` { cannot find binary path }
2024-03-24T23:18:29.706 helix_view::editor [ERROR] Failed to initialize the language servers for `source.ts` - `typescript-language-server` { IO Error: No such file or directory (os error 2) }
2024-03-24T23:24:11.926 helix_view::editor [ERROR] Failed to initialize the language servers for `source.toml` - `taplo` { cannot find binary path }
2024-03-24T23:37:16.117 helix_view::editor [ERROR] Failed to initialize the language servers for `source.ts` - `typescript-language-server` { IO Error: No such file or directory (os error 2) }
2024-03-24T23:38:36.542 helix_view::editor [ERROR] editor error: Register [w] empty
2024-03-24T23:38:42.565 helix_view::editor [ERROR] Failed to initialize the language servers for `source.ts` - `typescript-language-server` { IO Error: No such file or directory (os error 2) }
2024-03-24T23:38:53.440 helix_view::editor [ERROR] Failed to initialize the language servers for `source.ts` - `typescript-language-server` { IO Error: No such file or directory (os error 2) }
2024-03-24T23:45:19.321 helix_view::editor [ERROR] Failed to initialize the language servers for `source.ts` - `typescript-language-server` { IO Error: No such file or directory (os error 2) }
2024-03-25T06:58:38.206 helix_view::editor [ERROR] Failed to initialize the language servers for `source.ts` - `typescript-language-server` { IO Error: No such file or directory (os error 2) }
2024-03-25T07:24:40.198 helix_view::editor [ERROR] Failed to initialize the language servers for `text.html.basic` - `vscode-html-language-server` { IO Error: No such file or directory (os error 2) }
~ $ npm ls -g
/data/data/com.termux/files/usr/lib
├── corepack@0.24.0
├── npm@10.2.4
├── typescript-language-server@4.3.3
├── typescript@5.4.3
└── vscode-langservers-extracted@4.8.0
~ $ ls .config/helix
config.toml  languages.toml  runtime

What steps will reproduce the bug?

  • Install helix on Android 14
pkg install helix
 hx <yourfile>

What is the expected behavior?

LSP starts within a few seconds

System information

termux-info:

Termux Variables:
TERMUX_APK_RELEASE=GITHUB
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP_PID=28108
TERMUX_IS_DEBUGGABLE_BUILD=1
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.0
TERMUX__USER_ID=0
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://mirror.mwt.me/termux/main stable main
Updatable packages:
All packages up to date
termux-tools version:
1.41.2
Android version:
14
Kernel build information:
Linux localhost 5.15.119-android13-8-00018-ga78ea39db117-ab10710420 #1 SMP PREEMPT Thu Aug 24 15:38:36 UTC 2023 aarch64 Android
Device manufacturer:
motorola
Device model:
moto g04
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
@n-ce n-ce added bug report Something is not working properly untriaged labels Mar 25, 2024
@n-ce
Copy link
Author

n-ce commented Mar 26, 2024

Fixed By Installing deb from https://github.com/termux/termux-exec/files/13802391/termux-exec.zip

dpkg -i termux-exec_*.deb

Relevant Links :
termux/termux-app#3855
termux/termux-exec#24 (comment)

@n-ce n-ce closed this as completed Mar 26, 2024
@licy183 licy183 removed the untriaged label Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Something is not working properly
Projects
None yet
Development

No branches or pull requests

2 participants