You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Downstream in jupyterlab-lsp we have a CI job which runs integration tests with chktex diagnostics. It works fine with 4.3.2 on Ubuntu/Mac/Windows and with 5.0.0 on Ubuntu/Mac but fails on Windows (related to jupyter-lsp/jupyterlab-lsp#894).
I looked at the changelog but did not see anything Windows-specific. Would you have any suggestions what to look at to fix/debug this?
The text was updated successfully, but these errors were encountered:
It works fine with 4.3.2 on Ubuntu/Mac/Windows and with 5.0.0 on Ubuntu/Mac but fails on Windows (related to jupyter-lsp/jupyterlab-lsp#894).
Does it always fail or only sometimes? When I tried debugging, I encountered a crash once in the parsing logic but I did not find out which line caused the error. Adding a log statement did not help to find the cause as it never crashed again. I could add a safe guard there to prevent this crash in the future but I am not sure if it is causing the issue.
I looked at the changelog but did not see anything Windows-specific.
The only notable thing that has changed is the way we pass the file to chktex. v4.3.2 uses a temp file, v5.0.0 uses stdin.
Would you have any suggestions what to look at to fix/debug this?
The stderr log of the server might be helpful to find out if a panic causes the issue.
Would you have any suggestions what to look at to fix/debug this?
When are you updating the configuration during the test? Before or after opening the example file? If you are setting the configuration after opening the file, then the server won't run ChkTeX as the default config does not enable ChkTeX.
EDIT: Another relevant thing: does the example.tex file actually exist on the disk? texlab passes the working directory of the file (in this case, it's the parent directory) to the ChkTeX and returns an error if it does not exist resulting in no diagnostics being reported.
Thanks for checking! Yes it is now working all right with version 5.4.0 (jupyter-lsp/jupyterlab-lsp#894 (comment)). Looking at logs it was also working with 5.2.0.
Thank you for the recent 5.0 release 🎉
Downstream in jupyterlab-lsp we have a CI job which runs integration tests with chktex diagnostics. It works fine with 4.3.2 on Ubuntu/Mac/Windows and with 5.0.0 on Ubuntu/Mac but fails on Windows (related to jupyter-lsp/jupyterlab-lsp#894).
I looked at the changelog but did not see anything Windows-specific. Would you have any suggestions what to look at to fix/debug this?
The text was updated successfully, but these errors were encountered: