-
Notifications
You must be signed in to change notification settings - Fork 29.2k
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
Incorrect locale 'en-US' used everywhere (Electron issue?) #110322
Comments
Same issue here, this message pops in integrated terminal, though it seems it didn't break anything in my setup. |
Same here. For me it breaks lualatex compilation with LaTeX-Workshop extension. My specifications (I am using arch linux):
|
This PR is backported to 9.3.4, could be the culprit electron/electron#26185 |
The VS Code package on Arch Linux is a custom build. The current version of Electron of the official build is
|
Arch Linux splits Electron from VS Code and always has the most recent version available from upstream. It looks like something broke in 9.3.4: electron/electron#26443 So I guess we should wait for an update with a fix. |
I opened that issue in electron's issue tracker after experiencing this exact problem in VS Code, so yes, that is the problem. |
Upgrade Electron to 10.1.5-1 and VS Code to 1.51.1-1. Clearly at electron as pointed out by #110322 (comment) |
Edit: Package For anyone having this issue on Arch Linux, downgrade package
You'll probably want to add |
@telmotrooper This works. Thanks! |
@telmotrooper Thanks, be sure to also download the signature (https://archive.archlinux.org/packages/e/electron9/electron9-9.3.3-1-x86_64.pkg.tar.zst.sig) along the package and check |
You can also just do |
Just adding, for anyone looking for a low-hanging-fruit workaround, |
Yep, because the Electron source code reads the locale passed from the command line, but then immediately overrides it: |
The fix has been merged upstream: the next release will include the fix. |
Closing this as vscode master is on |
Is it possible to have VSC run a script or even a 1-liner before opening an intergrated terminal? I've seen similar issues back from 2016 which were solved by adding |
Today I upgraded electron from 9.3.3-1 to 9.3.4-1 and many extensions stopped working in VSCode, due to incorrect locale, eg. Python:
Probably it's related to electron/electron#23272, but I want to let you know.
The text was updated successfully, but these errors were encountered: