-
-
Notifications
You must be signed in to change notification settings - Fork 382
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
arduino-cli board details crashes with external FQBNs #759
Comments
Hi Extract of the log:
Here the full Raw log: |
Latest release 0.11.0 has a bug which prevent to build properly. When arduino/arduino-cli#759 will be fixed then this commit could be revert. Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Latest release 0.11.0 has a bug which prevent to build properly. When arduino/arduino-cli#759 will be fixed then this commit could be revert. Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
I also ran into this issue, getting exactly the same backtrace with the Adafruit SAMD platform, installed through the board manager and running The problem seems to be that arduino-cli/commands/board/details.go Line 65 in 48383da
I looked around a little bit for how this value is set, but couldn't quickly find my way, so I'm just leaving this here instead. |
Hi @matthijskooijman |
Current git master, just pulled and built it. |
Ok thanks. Sorry mireading your first comment. I've tested with the latest release 0.12 and same issue:
|
Looking at stacktrace, the Anyway I'm wondering how a package installed from a package_index (even from a 3rd party index) may end up in this situation.
and I always get the correct output without any issue, the procedure I followed is:
Hopefully the patch will fix the issue in general but, in any case, if someone may provide a step-by-step procedure to reproduce the original issue, starting from a clean install, it may help to see if there are other bugs to fix. |
Yeah, that was also my first thought, but it also happened for other platforms.
Ah, that's probably the problem. I installed this platform using the Java IDE, so I have no URLs configured for it in arduino-cli.yaml. |
The NPI is triggered if Platform.Resource is nil (this may happen for platforms installed manually in the sketchbook/hardware directory for example). Related to arduino#759
In fact,
Then it fails on the |
I've tested to add the |
* Fix NPE for 'board install' command The NPI is triggered if Platform.Resource is nil (this may happen for platforms installed manually in the sketchbook/hardware directory for example). Related to #759 * Update translations
The reason is that we changed the This is totally our oversight, BTW this is now fixed after merging #924 and will be available in the next release. |
Bug Report
Current behavior
Expected behavior
I would like for the command to show me all the available options for the board I am specifying.
Environment
arduino-cli version
):arduino-cli Version: HEAD-7541c80 Commit: 7541c80d180106f4370731de45a3ff4cc6709657
macOS 10.15.5
Additional Info
The text was updated successfully, but these errors were encountered: