Skip to content

can't chose variant and upload-method #245

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

Closed
mrbbp opened this issue Mar 19, 2021 · 11 comments
Closed

can't chose variant and upload-method #245

mrbbp opened this issue Mar 19, 2021 · 11 comments
Assignees
Labels
conclusion: resolved Issue was resolved criticality: high Of high impact topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@mrbbp
Copy link

mrbbp commented Mar 19, 2021

Describe the bug
in beta4,with stm32 distrib from STM32duino, i cant chose my variant or upload method, all the sub menus are not here

To Reproduce

  1. install dan Drown stm32 version (not official -> https://dan.drown.org/stm32duino/package_STM32duino_index.json)
  2. Go to 'Tools"
  3. chose an STM Board
    3 there no item in the menu to chose variant or upload method, etc etc...

Expected behavior
A complete menu. it was working on beta3

Screenshots

Desktop (please complete the following information):

  • OS: Macos
  • Version: 10.14.6
@mrbbp
Copy link
Author

mrbbp commented Mar 19, 2021

how it was looking on Beta3

variant on Beta3

@ubidefeo
Copy link

hi @mrbbp

thank you for reporting this.
It looks like as we redefined out we gather platform information we introduced a regression.
Could also be part of the cleaned up gRPC protocol

@silvanocerza @kittaakos this one is for the two of you to figure out :)

@ubidefeo ubidefeo added the priority: high Resolution is a high priority label Mar 19, 2021
@mrbbp
Copy link
Author

mrbbp commented Mar 20, 2021

#244 (comment)

when i use b3 to chose my board , in b4 the submenu come back, but if change the board in b4, menu disappear
#244

@ubidefeo
Copy link

@mrbbp
in b4 we have changed a few things in how the IDE gets platform's information from the CLI,
and also the gRPC interface has gone through some changes.

I think this has introduced some edge cases like this one, but we have enough information to know where to dig and fix it soon

The thing you encounter when switching from 4 to 3 and back to 4 is because the 3 has a different CLI version and I think it restores some information, but can't be sure because I do not write that code :)

@ubidefeo
Copy link

@mrbbp
the fix has been merged, you'll find it in tomorrow's nightly build.
Thank you for helping us solve a bug 🙏🏼

@kittaakos
Copy link
Contributor

you'll find it in tomorrow's nightly build.

It won't work. That build will still contain the 0.17.0 CLI. The IDE does not pick up the most recent nightly.

@ubidefeo
Copy link

@kittaakos
you are right...
I'm burned today, can't think straight.

@mrbbp the fix has been applied to the CLI, but the Nightly Build has of course a pinned release of the CLI, so it won't drag in the CLI Nightly.

Thank you, Akos

@kittaakos
Copy link
Contributor

I will take care of the CLI version update soon and notify this issue once the fix is available.

@kittaakos kittaakos self-assigned this Mar 23, 2021
kittaakos pushed a commit that referenced this issue Mar 24, 2021
 - New CLI version: `20210324`.
 - The CLI has the fix for the missing core settings.

Ref: arduino/arduino-cli#1230

Closes #245.

Signed-off-by: Akos Kitta <[email protected]>
@mrbbp
Copy link
Author

mrbbp commented Mar 24, 2021 via email

@kittaakos kittaakos removed their assignment Jul 18, 2021
@cmaglie cmaglie removed the type: bug label Sep 16, 2021
@rsora rsora added the type: imperfection Perceived defect in any part of project label Sep 22, 2021
@per1234
Copy link
Contributor

per1234 commented Oct 28, 2021

Hi @mrbbp. Are you still able to reproduce this issue when using the latest version of Arduino IDE 2.x?

The custom board options menus of the STM32 boards platform discussed here are showing up as expected for me in Arduino IDE 2.0.0-beta.12 and the current nightly build, so I take that as a good sign. However, I was not able to reproduce the bug even when using 2.0.0-beta.4, so I'm not confident in my conclusion that it was fixed..

@per1234 per1234 added status: waiting for information More information must be provided before work can proceed topic: code Related to content of the project itself labels Oct 28, 2021
@per1234
Copy link
Contributor

per1234 commented Oct 28, 2021

I finally managed to find the required conditions to reproduce this:

  • Using Arduino IDE 2.0.0-beta.4
  • The package index URL of the boards platform is not present in File > Preferences > Additional Boards Manager URLs

Since I am able to reproduce this with Arduino IDE 2.0.0-beta.4, but not with any newer version, I'll close this as fixed.

If anyone is still experiencing this bug with the latest version of the IDE, feel free to comment here and I'll investigate. But do note that there is a separate unsolved bug with the same symptoms except only for manually installed platforms, which is already being tracked in a dedicated issue: #565

@per1234 per1234 closed this as completed Oct 28, 2021
@per1234 per1234 added conclusion: resolved Issue was resolved and removed status: waiting for information More information must be provided before work can proceed labels Oct 28, 2021
@rsora rsora added criticality: high Of high impact and removed priority: high Resolution is a high priority labels Nov 2, 2021
@per1234 per1234 self-assigned this Nov 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved criticality: high Of high impact topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants