Skip to content
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

Convert to sloeber projects fails in a brand new empty workspace #1426

Closed
jantje opened this issue Dec 22, 2021 · 0 comments
Closed

Convert to sloeber projects fails in a brand new empty workspace #1426

jantje opened this issue Dec 22, 2021 · 0 comments
Assignees
Labels
domain: configuration Configuring Sloeber does not work as docummented OS: all status: fixed in 4.4.1 status: workaround documented A workaround has been confirmed to solve this issue.

Comments

@jantje
Copy link
Member

jantje commented Dec 22, 2021

During investigation of #1425 I found that converting a project to sloeber project for a project that does not contain a .sproject file nor a sloeber.cfg file in a workspace that has never seen a sloeber project will fail.
This is because to convert a project to a sloeber project when no platform/board is known the default platform/board is used.
The default platform/board is the last one used.
As no last one has been used it is null
causing a problem

Work around
Create a sloeber project using the sloeber project creation wizard with the platform/board of your choice.
Convert the project to a sloeber project
No need to close the projet nor the workplace

@jantje jantje added OS: all status: workaround documented A workaround has been confirmed to solve this issue. domain: configuration Configuring Sloeber does not work as docummented labels Dec 22, 2021
@jantje jantje self-assigned this Dec 22, 2021
jantje pushed a commit that referenced this issue Dec 24, 2021
This also makes that the first time you create a project a board is
selected
@jantje jantje closed this as completed Dec 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain: configuration Configuring Sloeber does not work as docummented OS: all status: fixed in 4.4.1 status: workaround documented A workaround has been confirmed to solve this issue.
Projects
None yet
Development

No branches or pull requests

1 participant