Skip to content
This repository was archived by the owner on Oct 22, 2021. It is now read-only.

Sketch folder name not recognised #318

Closed
jdmack-uk opened this issue Aug 26, 2020 · 4 comments
Closed

Sketch folder name not recognised #318

jdmack-uk opened this issue Aug 26, 2020 · 4 comments
Assignees
Labels
type: imperfection Something isn't working

Comments

@jdmack-uk
Copy link

Describe the bug
When I open an existing sketch, say Blink.ino, I get the message:
The_file "Blink.ino" needs to be inside a sketch folder named as "Blink".
Create this folder, move the file, and continue?

My Blink.ino is in C:\Users\name\Documents\Arduino\Blink
If I click OK, it creates a new folder there, so the sketch is now in C:\Users\name\Documents\Arduino\Blink\Blink - but at least it opens it. If I then close the IDE and start it again, I get the same message! So the Blink.ino gets one \Blink level deeper each time!
For some reason it's not recognising that the file is already in a Blink folder.

To Reproduce

  1. I installed the 0.1.0 standard zip, then removed it and tried the 20200825 nightly build. Same thing on both.
  2. Click on 'Open' button
  3. See error

Expected behavior
It needs to accept the fact that the folder name is OK

Desktop (please complete the following information):

  • OS: Windows 7 PRO 64bit
  • Version: Arduino PRO IDE 0.1.0-nightly.20200825

arduino-cli.exe is on my PATH.
I tried running the IDE as Administrator and nothing changed.
My arduino-cli.yaml has the following line:
user: C:\Users\name\Documents\Arduino
... as well as other stuff which I haven't touched.
The IDE executable is E:\name\Downloads\arduinoPRO\Arduino Pro IDE.exe (not on PATH).

Many thanks for your help.

@jdmack-uk jdmack-uk added the type: imperfection Something isn't working label Aug 26, 2020
@ubidefeo
Copy link

hi @jdmack-uk
we used to have this bug in a pre-release but it was fixed.
I cannot reproduce it on my system but I'll ask the team to investigate.
Thank you for reporting 👍

@kittaakos
Copy link
Contributor

Thank you for reporting the problem, @jdmack-uk. I could reproduce it with 0.1.0 and I can confirm; this issue is the same as #311. We have fixed it yesterday and it is available as the 0.1.0-nightly.20200826 nightly. Could you please get the latest nigthly and try it once more? Thank you!

@LumitoLuma
Copy link
Contributor

@jdmack-uk The error seems to be fixed with version 0.1.1.

@jdmack-uk
Copy link
Author

@kittaakos I have installed Windows 64 v 0.1.1 and can confirm the issue is fixed!
Thank you so much for your prompt reply and help!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: imperfection Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants