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

SRM does not start #521

Closed
gitrys opened this issue Apr 21, 2023 · 6 comments
Closed

SRM does not start #521

gitrys opened this issue Apr 21, 2023 · 6 comments

Comments

@gitrys
Copy link

gitrys commented Apr 21, 2023

Version: all installed or portable versions since 2.4
Windows 11, newest Patches
Started as Administrator or with standard privileges.

When i try to start SRM (i tried all versions since 2.4, 2.3.x does work fine) it won't work. There is the loading symbol in the middle. I waited 15 minutes or so but the issue persists.
grafik

@cbartondock
Copy link
Collaborator

cbartondock commented Apr 21, 2023

Try hitting ctrl + R to reload, failing that hit ctrl+shift+i to bring up the debug menu. Go to the console and send me a screenshot, it should show some error.

@gitrys
Copy link
Author

gitrys commented Apr 22, 2023

Hi there, thank you for your work!

The reload did nothing, the screenshot shows the console:
grafik

"Der Befehl "powershell" ist entweder falsch geschrieben oder konnte nicht gefunden werden."

-> This translates to, that "powershell" is either wrong written or could not be found.

If i start my powershell normally, its not a problem, so i suggest its not a problem at my end?

Best regards

@cbartondock
Copy link
Collaborator

Oh wow interesting, that is almost certainly a localization issue of some kind. I guess based on the code that a dependency of srm (os-name) uses PowerShell but fails to account for the name/path being different on a non English machine. I will make an issue with them and in the mean time add a try catch block around the system info code.

@cbartondock
Copy link
Collaborator

Actually it seems like the issue is this one: ethereum/remix-desktop#147

And you need to add powershell to your path: ethereum/remix-desktop#147 (comment)

In the meantime though, SRM definitely shouldn't error out if it can't get the system information, so I will add a try-catch block there.

@cbartondock
Copy link
Collaborator

Oh here is another person who had an issue with a German machine, so potentially localization. I would bet your powershell executable is differently named: sindresorhus/windows-release#27

@cbartondock
Copy link
Collaborator

Okay this is fixed in master, SRM handles the error now and you just get a slightly less pretty os name. Will be in 2.4.8.

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

No branches or pull requests

2 participants