ltex-ls terminated with non-zero exit code 1
Opened this issue · 0 comments
Note: It is highly recommended to follow the instructions at https://valentjn.github.io/ltex/vscode-ltex/contributing.html#how-to-report-bugs and use the LTeX: Report bug in LTeX
command from within Visual Studio Code. Per the contribution guidelines, deleting parts of the template or not filling in vital information may result in the issue to be immediately closed as invalid.
Describe the bug
Can't finish the installation, as it results in the following error. I have tried offline install too but it just hangs indefinitely.
2024-02-09T12:30:02.322Z Info: stderr of ltex-ls:
2024-02-09T12:30:02.322Z Info: The system cannot find the specified path.
2024-02-09T12:30:02.322Z Info:
2024-02-09T12:30:02.323Z Info: You might want to try offline installation, see https://valentjn.github.io/vscode-ltex/docs/installation-and-usage.html#offline-installation.
2024-02-09T12:30:03.946Z Info:
2024-02-09T12:30:03.946Z Info: ltex.ltex-ls.path not set.
2024-02-09T12:30:03.946Z Info: Searching for ltex-ls in 'c:\Users\j.vscode\extensions\valentjn.vscode-ltex-13.1.0\lib'...
2024-02-09T12:30:03.947Z Info: ltex-ls found in 'c:\Users\j.vscode\extensions\valentjn.vscode-ltex-13.1.0\lib\ltex-ls-15.2.0'.
2024-02-09T12:30:03.947Z Info:
2024-02-09T12:30:03.947Z Info: Using ltex-ls from 'c:\Users\j.vscode\extensions\valentjn.vscode-ltex-13.1.0\lib\ltex-ls-15.2.0'.
2024-02-09T12:30:03.947Z Info: Using Java bundled with ltex-ls as ltex.java.path is not set.
2024-02-09T12:30:03.948Z Info: Testing ltex-ls...
2024-02-09T12:30:03.948Z Info: Command: "c:\Users\j\.vscode\extensions\valentjn.vscode-ltex-13.1.0\lib\ltex-ls-15.2.0\bin\ltex-ls.bat"
2024-02-09T12:30:03.948Z Info: Arguments: ["--version"]
2024-02-09T12:30:03.948Z Info: env['JAVA_HOME']: undefined
2024-02-09T12:30:03.948Z Info: env['JAVA_OPTS']: "-Xms64m -Xmx512m"
2024-02-09T12:30:04.553Z Error: Test failed.
2024-02-09T12:30:04.553Z Error: Error details:
2024-02-09T12:30:04.553Z Info: ltex-ls terminated with non-zero exit code 1.
2024-02-09T12:30:04.553Z Info: stdout of ltex-ls:
2024-02-09T12:30:04.553Z Info: {
2024-02-09T12:30:04.553Z Info: "ltex-ls": "15.2.0",
2024-02-09T12:30:04.553Z Info: "java": "11.0.12"
2024-02-09T12:30:04.553Z Info: }
2024-02-09T12:30:04.553Z Info:
2024-02-09T12:30:04.553Z Info: stderr of ltex-ls:
Steps to reproduce
Just tried to install it.
Expected behavior
Should install without issues.
Sample document
If the bug occurs for a specific document (e.g. LaTeX), please paste it here. If your document is very long or confidential, please create and attach a smaller example for which the bug still occurs so that we can reproduce it.
REPLACE_THIS_WITH_SAMPLE_DOCUMENT
"LTeX Language Client" log file
First, set the ltex.trace.server
setting in your settings.json
to "verbose"
. Then, reload the VS Code window and reproduce the bug. Go to View
→ Output
and select LTeX Language Client
in the drop-down list. Paste this log here (note: it will contain your checked document):
Version information
List here the version information of the relevant software.
- Operating system: Windows 10
- VS Code: 1.86.1
- vscode-ltex: 13.1
- ltex-ls: x.xx (only if not using ltex-ls automatically downloaded by LTeX)
- Java: x.xx (usually obtained with
java -version
, only if not using Java automatically downloaded by LTeX)
Additional context/information
You can add any other context or information about the problem here.