-
-
Notifications
You must be signed in to change notification settings - Fork 435
No boards available #1036
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
Hi @ChirpyMisha. Thanks so much for your report. I'm going to ask you to provide some additional information that might help us to identify the problem. Please do this:
Please let me know if you have any questions or problems while following those instructions. |
|
ProblemThe problem is indicated by this line of the output:
Older versions of the ESP8266 Arduino boards platform had a configuration for the "ESPDuino" board which is not compatible with Arduino IDE 2.x. Recent versions of the IDE were resilient to this problem, but unfortunately that resiliency was lost in the 2.0.0-rc7 release (by #1018 to be more precise). Fortunately, the configuration of the ESP8266 boards platform was updated last year to a configuration which is fully supported by Arduino IDE 2.x (esp8266/Arduino#8153). However, you are using an old version that still has the unsupported configuration. WorkaroundI think the easiest workaround for you to get back up and running with 2.0.0-rc7 will be to temporarily use an older version of the Arduino IDE to update your ESP8266 boards platform. I'll provide instructions:
Hopefully 2.0.0-rc7 will now be working. As a bonus, you will have the latest and greatest version of the ESP8266 boards platform installed. You are now welcome to delete the 2.0.0-rc6 ZIP file and the unzipped folder. It was only needed for the sake of updating the ESP8266 boards platform. Arduino IDE defectI bisected the introduction to 4c55807 (it does not occur at cb50d3a). Since 4c55807 bumped the Arduino IDE's Arduino CLI dependency from 0.21.0 to 0.23.0, my hunch was that the defect was actually a regression in Arduino CLI, which had problems with handling these configurations (introduced by arduino/arduino-cli#1274 I believe) before it was made more resilient via arduino/arduino-cli#1326. However, that is only a guess. It might have also been caused by one of the extensive changes made to the Arduino IDE code base via 4c55807. |
If somebody helps me reproduce the issue with RC-7, I am more than happy to narrow down the scope of the problem. |
Here are the instructions @kittaakos:
🐛 The IDE exhibits the symptoms reported by ChirpyMisha. |
This has solved the issue for me. Thank you very much! |
Quick note: I ran into this problem a couple times in the last few days, on two different machines. One my main dev machine, and it probably was the esp8266 stuff mentioned. But I also run into it this morning on Fresh install, (RPI4 Ubuntu 22.04) using install from: https://github.com/koendv/arduino-ide-raspberrypi I installed it and ran it first time. and it showed up the boards manager and did the downloads of libraries. I Then tried to install the Teensy install by adding it to the additional boards Manager URLS I meant to type: https://www.pjrc.com/teensy/td_156/package_teensy_index.json But typed instead: https://www.pjrc.com/td_156/package_teensy_index.json I exited IDE restarted it and the boards list was empty. I fixed the additional URLS to be correct, restarted the IDE and the boards list worked. |
Thanks for the report @KurtE. I can reproduce that (any URL that doesn't return a valid package index e.g., I do suspect it has the same cause as the problem reported by ChirpyMisha (failure on non-fatal error while initializing Arduino CLI via the gRPC interface). |
For example, `malformed custom board options` was incorrectly detected as loading JSON index file error. Closes #1036 Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
For example, `malformed custom board options` was incorrectly detected as loading JSON index file error. Closes #1036 Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
For example, `malformed custom board options` was incorrectly detected as loading JSON index file error. Closes #1036 Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
Describe the problem
After updating to the latest release (Arduino IDE 2.0.0-rc7) there is no board available in the boards manager or when selecting a port. Neither the default Arduino boards nor the boards from the Additional boards manager URLs are available.
This image shows that both lists are empty.

To reproduce
Or:
Expected behavior
A list of available boards should appear in the designated fields.
Arduino IDE version
Version: 2.0.0-rc7-nightly-20220610
Operating system
Windows
Operating system version
21H1
Additional context
Restarting the IDE did not solve the issue. Installing the nightly build also didn't solve the issue.
Additional boards manager URLs: http://arduino.esp8266.com/stable/package_esp8266com_index.json,https://dl.espressif.com/dl/package_esp32_index.json
(removing these and restarting the IDE also didn't solve the issue)
Issue checklist
The text was updated successfully, but these errors were encountered: