First run hangs if IDE fails to download assets #2042
Labels
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the problem
On the first run after a fresh installation, Arduino IDE downloads some files from the Internet:
builtin:serial-discovery
pluggable discovery toolbuiltin:mdns-discovery
pluggable discovery tool🐛 If the download of these files is not possible due to lack of Internet access, or some other problem (e.g., #2606), the startup hangs.
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
<username>
is your Windows username)🐛 Startup hangs at the startup animation.
🐛 The cause of the hang is not communicated to the user.
Expected behavior
Complete startup even when the essential resources could not be installed.
This is important because, once it has started up, Arduino IDE shows notifications that communicate the Internet access dependency to the user.
arduino:avr
and "Arduino_BuiltIn" installations were successful, and if not then retry on subsequent startups.Arduino IDE version
097c92d
Operating system
Windows
Operating system version
11
Additional context
The regression was introduced at a36524e
The logs include this:
Related
Additional reports:
Issue checklist
The text was updated successfully, but these errors were encountered: