mathworks / mathworks/MATLAB-language-server
Error launching MATLAB on Neovim
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 125
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
System: ArchLinux
Editor: nvim with matlab_ls
Matlab version: R2023b
Matlab-language-server version: 1.1.7
Problem:
fail to launch matlab
(18:50:03) matlabls: Log Directory: /tmp/matlabls_10926
(18:50:03) matlabls: Launching MATLAB...
(18:50:03) matlabls - ERROR: Error launching MATLAB: spawn matlab ENOENT
(18:50:03) matlabls - ERROR: Error launching MATLAB: Error
(18:50:03) matlabls - ERROR: Error launching MATLAB: Error: spawn matlab ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:286:19)
at onErrorNT (node:internal/child_process:484:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
(18:50:03) matlabls: MATLAB process terminated
Works fine 2 months ago, but failed after updating Matlab-language-server
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure in Neovim with matlab_ls 1.1.7 on Arch Linux and start from the reported spawn matlab ENOENT error. Check how MATLAB is launched and verify the reported MATLAB R2023b environment; done means MATLAB launches successfully from the language server.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- neovim
- Domain
- devtools, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100