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

Error while installing rust-analyzer extension #12248

Closed
sainishwanth opened this issue May 14, 2022 · 5 comments
Closed

Error while installing rust-analyzer extension #12248

sainishwanth opened this issue May 14, 2022 · 5 comments
Labels
A-vscode vscode plugin issues

Comments

@sainishwanth
Copy link

sainishwanth commented May 14, 2022

Trying to install it from the vscode extension market and I constantly get this error. I have rust-lang uninstalled and have also tried installing it manually which didn't help. This is on macOS (apple silicon m1) using the default apple silicon VsCode.

Here are the logs if it helps ->

2022-05-14 11:00:45.417] [renderer5] [error] ["Error: Server returned 404"," at i (vscode-file://vscode-app/private/var/folders/hf/y10yygrx7lb2177cn071tfn00000gn/T/AppTranslocation/0CA6E9DB-37E7-45E3-B437-6C25D332782B/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:29:97869)"," at K.getManifestFromRawExtensionVersion (vscode-file://vscode-app/private/var/folders/hf/y10yygrx7lb2177cn071tfn00000gn/T/AppTranslocation/0CA6E9DB-37E7-45E3-B437-6C25D332782B/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:48:32001)"," at async K.getEngine (vscode-file://vscode-app/private/var/folders/hf/y10yygrx7lb2177cn071tfn00000gn/T/AppTranslocation/0CA6E9DB-37E7-45E3-B437-6C25D332782B/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:50:292)"," at async K.getCompatibleExtension (vscode-file://vscode-app/private/var/folders/hf/y10yygrx7lb2177cn071tfn00000gn/T/AppTranslocation/0CA6E9DB-37E7-45E3-B437-6C25D332782B/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:48:26721)"," at async O.checkAndGetCompatibleVersion (vscode-file://vscode-app/private/var/folders/hf/y10yygrx7lb2177cn071tfn00000gn/T/AppTranslocation/0CA6E9DB-37E7-45E3-B437-6C25D332782B/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:48:11657)"," at async O.installFromGallery (vscode-file://vscode-app/private/var/folders/hf/y10yygrx7lb2177cn071tfn00000gn/T/AppTranslocation/0CA6E9DB-37E7-45E3-B437-6C25D332782B/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:48:2840)"]

[2022-05-14 11:00:45.431] [renderer5] [error] Server returned 404: Error: Server returned 404
at i (vscode-file://vscode-app/private/var/folders/hf/y10yygrx7lb2177cn071tfn00000gn/T/AppTranslocation/0CA6E9DB-37E7-45E3-B437-6C25D332782B/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:29:97869)
at K.getManifestFromRawExtensionVersion (vscode-file://vscode-app/private/var/folders/hf/y10yygrx7lb2177cn071tfn00000gn/T/AppTranslocation/0CA6E9DB-37E7-45E3-B437-6C25D332782B/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:48:32001)
at async K.getEngine (vscode-file://vscode-app/private/var/folders/hf/y10yygrx7lb2177cn071tfn00000gn/T/AppTranslocation/0CA6E9DB-37E7-45E3-B437-6C25D332782B/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:50:292)
at async K.getCompatibleExtension (vscode-file://vscode-app/private/var/folders/hf/y10yygrx7lb2177cn071tfn00000gn/T/AppTranslocation/0CA6E9DB-37E7-45E3-B437-6C25D332782B/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:48:26721)
at async O.checkAndGetCompatibleVersion (vscode-file://vscode-app/private/var/folders/hf/y10yygrx7lb2177cn071tfn00000gn/T/AppTranslocation/0CA6E9DB-37E7-45E3-B437-6C25D332782B/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:48:11657)
at async O.installFromGallery (vscode-file://vscode-app/private/var/folders/hf/y10yygrx7lb2177cn071tfn00000gn/T/AppTranslocation/0CA6E9DB-37E7-45E3-B437-6C25D332782B/d/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:48:2840)

@tresuke
Copy link

tresuke commented May 16, 2022

Maybe I'm looking in the wrong place...
Is this related to microsoft/vscode#149518 ??

@lnicola
Copy link
Member

lnicola commented May 16, 2022

Yeah, that sounds like a Marketplace error. Do you already have RA installed? Try removing and installing it again.

If not, you can download a VSIX from GitHub.

@sainishwanth
Copy link
Author

I have already tried re installing it and also manually installing it via the VSIX file, neither of them seemed to have worked. I assumed it had to do something with this extension since all my other extensions seem to be installing and running fine.

@Veykril Veykril added the A-vscode vscode plugin issues label May 16, 2022
@Veykril
Copy link
Member

Veykril commented May 16, 2022

Try uninstalling, restarting VSCode then searching for the extension on the marketplace again, that should fix it. Otherwise there is not much we can do here I think as this is more of a VSCode issue.

@sainishwanth
Copy link
Author

Thank you, updating VsCode seemed to have fixed it. You're right it had something to do with VsC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-vscode vscode plugin issues
Projects
None yet
Development

No branches or pull requests

4 participants