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

ltex-ls terminated with non-zero exit code 1 #869

Open
OfficialAlienZ opened this issue Feb 9, 2024 · 0 comments
Open

ltex-ls terminated with non-zero exit code 1 #869

OfficialAlienZ opened this issue Feb 9, 2024 · 0 comments
Labels
1-bug 🐛 Issue type: Bug report (something isn't working as expected) 2-unconfirmed Issue status: Bug that needs to be reproduced (all new bugs have this label)

Comments

@OfficialAlienZ
Copy link

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 ViewOutput and select LTeX Language Client in the drop-down list. Paste this log here (note: it will contain your checked document):

Same as above.

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.

@OfficialAlienZ OfficialAlienZ added 1-bug 🐛 Issue type: Bug report (something isn't working as expected) 2-unconfirmed Issue status: Bug that needs to be reproduced (all new bugs have this label) labels Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1-bug 🐛 Issue type: Bug report (something isn't working as expected) 2-unconfirmed Issue status: Bug that needs to be reproduced (all new bugs have this label)
Projects
None yet
Development

No branches or pull requests

1 participant