-
Notifications
You must be signed in to change notification settings - Fork 93
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
Last updates breaks pretext-tools in codespaces #1557
Comments
@oscarlevin do you use binary on linux? If it that I think it is the same problem than redhat-developer/vscode-xml#916 //cc @rgrunber |
@angelozerr @rgrunber Do you know if |
If there's no Java in the container then it would use the binary. If the underlying container environment uses a version of GLIBC < 2.34, then this would be redhat-developer/vscode-xml#916. |
I suspect that the problem of @oscarlevin is with binary since 0.26.0 doesn't contain major changes. |
What about if you select it? @oscarlevin could you deselect it in your side to check if it is working for you? |
Thanks all for the quick response. I won't be able to experiment for a bit. When I get a chance I'll see if this is the issue.
Sent from my T-Mobile 5G Device
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Angelo ***@***.***>
Sent: Wednesday, July 12, 2023 10:00:53 AM
To: eclipse/lemminx ***@***.***>
Cc: Levin, Oscar ***@***.***>; Mention ***@***.***>
Subject: Re: [eclipse/lemminx] Last updates breaks pretext-tools in codespaces (Issue #1557)
[ EXTERNAL EMAIL ]
In my case, the vscode-xml extension running on GitHub CodeSpaces has XML> Server: Prefer Binary option NOT selected:
What about if you select it?
@oscarlevin<https://github.com/oscarlevin> could you deselect it in your side to check if it is working for you?
—
Reply to this email directly, view it on GitHub<#1557 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABRUBFF3POASFZTXDY3M37TXP3C3LANCNFSM6AAAAAA2HS2IX4>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Just to be clear, at https://github.com/redhat-developer/vscode-xml/blob/f99df7e859c61256ebd05382f106fc0c5042d1e1/src/server/serverStarter.ts#L28 we do launch the binary even if the choice is not selected. The binary covers the case of not detecting Java on the system but wanting to give a seamless experience. The only time we wouldn't launch the binary is if we detect the current installation has extensions contributing to the LemMinX runtime (because those won't work with the binary mode). @oscarlevin , If possible, you could try the following vsix : https://github.com/rgrunber/vscode-xml/releases/download/0.26.0/vscode-xml-linux-x64-0.26.0-284.vsix . I mentioned it in redhat-developer/vscode-xml#916 (comment) . It is basically 0.26.0 but the Linux binary was built on an older version of Ubuntu for better support of older Linux distros. |
@angelozerr Yes. I can confirm the issue. Turning on the |
@oscarlevin @rgrunber For me the vscode-xml extension works fine when installed from https://github.com/rgrunber/vscode-xml/releases/download/0.26.0/vscode-xml-linux-x64-0.26.0-284.vsix : |
Great! Then it very likely will resolve the issue. We've just released 0.26.1 to the marketplaces, and it should contain the necessary fix. This is mainly a vscode-xml / 3rd party packaging issue as nothing needed to change in lemminx itself. |
I can finally confirm that this is fixed and working for me. Thanks all for your work. |
It appears that the 0.26.0 update changed something so that when running VS Code in a github codespace, something is broken. I only noticed this because my pretext-tools extension (which requires XML) didn't work after the update, but it appears that the XML extension itself isn't working. For example, if I go to the command pallet, I get only the XML: Open XML Documentation command, not the other expected ones (that do show up in 0.25.0).
The text was updated successfully, but these errors were encountered: