-
-
Notifications
You must be signed in to change notification settings - Fork 442
The IDE should handle invalid CLI configuration gracefully #100
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
Comments
this has been addressed by @kittaakos and @silvanocerza in one of the latest iterations of command/config binding between IDE and CLI |
@ubidefeo what results do you get if you put invalid YAML like this in your Arduino Pro IDE board_manager:
additional_urls:
https://files.seeedstudio.com/arduino/package_seeeduino_boards_index.json
https://adafruit.github.io/arduino-board-index/package_adafruit_index.json When I do that, starting Arduino Pro IDE hangs at the splash screen, as reported by Akos. So it seems to me that this issue has not yet been resolved. Even though it's not so likely to happen now that the Pro IDE's CLI configuration is not so exposed to the user, I still like the idea of making it handle that eventuality gracefully, either by recovering or else communicating about the problem to the user. |
@per1234 |
CLI settings are hidden since 2.0.0-beta.1 so I'll close this, users are not supposed to enter the CLI config using the settings files anymore. |
Originally from here: arduino/arduino-pro-ide#310
Start your app with such an invalid config and it hangs:
The text was updated successfully, but these errors were encountered: