Skip to content

Can't add additional board URL in settings #1511

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
3 tasks done
thewh1teagle opened this issue Oct 1, 2022 · 1 comment
Closed
3 tasks done

Can't add additional board URL in settings #1511

thewh1teagle opened this issue Oct 1, 2022 · 1 comment
Assignees
Labels
conclusion: duplicate Has already been submitted conclusion: invalid Issue/PR not valid type: imperfection Perceived defect in any part of project

Comments

@thewh1teagle
Copy link

thewh1teagle commented Oct 1, 2022

Describe the problem

When using arduion IDE 2.0 on Windows, when trying to add additional board URL through the settings, I can't apply it with OK button, it says Invalid sketchbook location: c:\Users\User\Documents\Arduino.
It happened because the folder does not exists. If I create the folder it solves it, but the application itself should create the folder automatically in case it's not exists.

It happens here:
arduino/arduino-ide/arduino-ide-extension/src/browser/dialogs/settings/settings.ts
I would add additional check before of that:
pseudo code:

IF {default sketch folder does not exists}
THEN create it
...

Let me know if it's something you would interested in I can make new PR.

To reproduce

Delete C:\Users\User\Documents\Arduino folder, then try to add additional board URL in settings.

Expected behavior

Add board URL without ERROR.

Arduino IDE version

2.0.0

Operating system

Windows

Operating system version

11

Additional context

.

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details
@thewh1teagle thewh1teagle added the type: imperfection Perceived defect in any part of project label Oct 1, 2022
@per1234
Copy link
Contributor

per1234 commented Oct 1, 2022

Hi @thewh1teagle. This bug has already been fixed: #1448

Please use the nightly build of the Arduino IDE. The download links are listed here:

https://github.com/arduino/arduino-ide#nightly-builds

@per1234 per1234 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 1, 2022
@per1234 per1234 self-assigned this Oct 1, 2022
@per1234 per1234 added conclusion: duplicate Has already been submitted conclusion: invalid Issue/PR not valid labels Oct 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: duplicate Has already been submitted conclusion: invalid Issue/PR not valid type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants