-
-
Notifications
You must be signed in to change notification settings - Fork 397
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
IDE not compiling if Board manager URL is 404 #2575
Comments
i have exactly same problem on win10 |
Thanks for your report @CWCarlson123. I am not able to reproduce the fault. However, your description:
matches exactly with a known bug in Arduino IDE 2.3.3: #2562. This is caused by having Serial Monitor or Serial Plotter open while the IDE performs an index downloaded. It occurs regardless of the success or failure of the index download. #2562 has already been fixed. The fix was made after the time of the 2.3.3 release, so it is currently only available when using the latest nightly build of Arduino IDE. @CWCarlson123 and @metehoca please try again using the nightly build of Arduino IDE and then add a comment here to tell us whether the problem of the hanging compilation still occurs. You can download the nightly build from the links listed here: https://www.arduino.cc/en/software#nightly-builds You can have Arduino IDE 2.3.3 and the nightly build installed on your computer at the same time without any problems, so you don't need to uninstall Arduino IDE 2.3.3 before installing the nightly. |
#2562 seems to match this description, but it’s incomplete. The issue persists even without the Serial Monitor being open and also occurs immediately when the IDE is launched. During this time, the "Downloading" balloon gets stuck, and the IDE cannot compile. As a temporary workaround, I open a new sketch and close the old window. From what I understand, the issue seems to freeze after the last link in the board list is processed. |
Thanks for the information @metehoca. Please try again using the nightly build of Arduino IDE and then add a comment here to tell us whether the problem of the hanging compilation still occurs. You can download the nightly build from the links listed here: https://www.arduino.cc/en/software#nightly-builds You can have Arduino IDE 2.3.3 and the nightly build installed on your computer at the same time without any problems, so you don't need to uninstall Arduino IDE 2.3.3 before installing the nightly. |
Thanks for clarification on the issue, I haven't download the nightly build, but decided if I could replicate the issue based on @metehoca's comments:
So I think the serial monitor tab is holding things up? Closing it seems to fix the issue. |
Thanks for the update. Based on the new information, I see this is a duplicate of #2562 / arduino/arduino-cli#2719. The bug was fixed by #2571, which was released in Arduino IDE 2.3.4. So just update your IDE to 2.3.4 and you will be set. |
Describe the problem
If the URL (or any path of the URL) in preferences menu for additional boards returns a 404 causes the IDE to not compile. This is indicated by a notification of downloading the package that does not progress.
To reproduce
IDE will not compile, it will just sit there with the notification that it is compiling, but never completes.
Expected behavior
Index download process completes even when an index URL returns an error HTTP response status code.
Compilation does not hang even if irrelevant index download fails.
Arduino IDE version
2.3.3
Operating system
Windows
Operating system version
Windows 11
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: