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
If the user pref points to a URI that can't be resolved hab launcher exits before the user can choose a different URI. In this case there is a missing distro.
Expected Behavior
The launcher should still show the interface and allow the user to choose a different URI.
Steps to Reproduce Behavior
Use hab set-uri ... to update the user pref to point to a URI.
Make sure the URI can't be resolved by removing access to a distro .hab.json file.
Run hab gui launcher and the error should be reported. I'm using the MessageBoxInit so a message box is shown, once I hit Ok the application exits.
Alternatively you can choose the bad URI in the launcher gui, it will error out but remember the bad URI when you close it.
Solution
A possible solution is to clear the saved URI in this case, then the user can choose a valid URI.
Summary
If the user pref points to a URI that can't be resolved hab launcher exits before the user can choose a different URI. In this case there is a missing distro.
Expected Behavior
The launcher should still show the interface and allow the user to choose a different URI.
Steps to Reproduce Behavior
hab set-uri ...
to update the user pref to point to a URI.hab gui launcher
and the error should be reported. I'm using theMessageBoxInit
so a message box is shown, once I hit Ok the application exits.Alternatively you can choose the bad URI in the launcher gui, it will error out but remember the bad URI when you close it.
Solution
A possible solution is to clear the saved URI in this case, then the user can choose a valid URI.
Environment
hab==0.27.0
hab-gui==0.9.0
Windows 10
Additional Context
The text was updated successfully, but these errors were encountered: