Open per1234 opened 2 years ago
Some nice advancements have been made toward resolving this.
https://github.com/arduino/arduino-ide/pull/1169 introduces two important advancements:
Unfortunately, there was also a regression that causes the IDE to hang at the splash screen on first run without Internet connection (https://github.com/arduino/arduino-ide/issues/2042), which prevents the IDE from reaching the state where the notification can be shown to the user.
Describe the problem
On the first run, Arduino IDE must download some files from the Internet:
builtin:serial-discovery
builtin:mdns-discovery
builtin:ctags
If the IDE does not have Internet access at that time, it can not reach a functional state. There is currently no communication to the user in this situation.
This is a change from Arduino IDE 1.x, which is in a fully functional state from the start with no hard dependency on an Internet connection (though obviously Library/Boards Manager can't be used).
To reproduce
After you connect to the Internet and restart the IDE, the discoveries will be installed, so the missing ports issue will resolve itself at that time 🙂. However, the missing "Arduino AVR Boards" platform and libraries condition is persistent :bug: because this is only attempted on the first run, whether or not it fails.
Expected behavior
arduino:avr
and "Arduino_BuiltIn" installations were successful, and if not then retry on subsequent startups.Arduino IDE version
Original report
2.0.0-rc3-snapshot.1d88263
Last verified with
9a6a457bc44fb16f646b9e61a9e8b336b3666412
Operating system
Windows
Operating system version
10
Additional context
At one time, the IDE showed a notification when there was no Internet connection (https://github.com/arduino/arduino-ide/pull/266), which was cryptic but at least gave some feedback:
But that notification is no longer shown (probably because the system has been made more tolerant of error conditions).
Additional reports:
Issue checklist