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

Save as > overwrite does not work. #336

Closed
kittaakos opened this issue Sep 4, 2020 · 7 comments
Closed

Save as > overwrite does not work. #336

kittaakos opened this issue Sep 4, 2020 · 7 comments
Assignees
Labels
type: imperfection Something isn't working

Comments

@kittaakos
Copy link
Contributor

  • Create a new sketch,
  • Save it as Foo,
  • Create a new sketch,
  • Save it as Foo,
  • IDE askes whether to overwrite (good ✅),
  • Hit yes (error ❌ ):
root ERROR Failed to execute command: Error: Request 'copy' failed
    at Proxy.<anonymous> (file:///Applications/Arduino%20Pro%20IDE.app/Contents/Resources/app/lib/bundle.js:60377:33)
    at SaveAsSketch.<anonymous> (file:///Applications/Arduino%20Pro%20IDE.app/Contents/Resources/app/lib/56.bundle.js:6956:65)
    at step (file:///Applications/Arduino%20Pro%20IDE.app/Contents/Resources/app/lib/56.bundle.js:6873:23)
    at Object.next (file:///Applications/Arduino%20Pro%20IDE.app/Contents/Resources/app/lib/56.bundle.js:6854:53)
    at fulfilled (file:///Applications/Arduino%20Pro%20IDE.app/Contents/Resources/app/lib/56.bundle.js:6845:58)
@kittaakos kittaakos added the type: imperfection Something isn't working label Sep 4, 2020
@kittaakos kittaakos self-assigned this Sep 4, 2020
@ubidefeo
Copy link

ubidefeo commented Sep 5, 2020

this works for me on Mac

@kittaakos
Copy link
Contributor Author

this works for me on Mac

Thank you for trying. The trick is that you have to have a sketch named Foo and you have to save as Foo; it would rename itself. That was the bug.

@ubidefeo
Copy link

ubidefeo commented Sep 5, 2020

@kittaakos
this is exactly what I did
I saved as my LocationSender.ino file over itself and it works
tried again just now

@kittaakos
Copy link
Contributor Author

tried again just now

Which version of IDE2 are you using?

@ubidefeo
Copy link

ubidefeo commented Sep 6, 2020

oops... @kittaakos testing the internal build
is it fixed there?

@kittaakos
Copy link
Contributor Author

is it fixed there?

Yes. Thank you for the verification 👍

@kittaakos
Copy link
Contributor Author

Fixed. Will be available from the next nightly.

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

2 participants