-
Notifications
You must be signed in to change notification settings - Fork 26
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
Running file deletes all other files from the board #46
Comments
I have same issue. For me only works if everything is in one file. If I had any import (on same folder) it crashes. Ampy workis fine. I only use this extension (for the moment) to enjoy the stubs.. |
I have the same problem. But for me everything is working when I flash my pico w with the old MicroPython Version:
So perhaps the problem is caused by newer MicroPython versions |
On readme it is said:
Maybe we have to wait to this libs get adapted to last version |
Nope... just tested it with that old Version. Same Problem here. |
I'm having the same issue. I'd like to install the old firmware, but I'm unable to find it. Do you have a link for this version that worked? |
No Sorry, I have the binary just in my download folder. But here is the upload: |
Thanks a lot! That makes the development process a lot simpler for me. |
I've run in to the same issue and am working around it by uploading all project files then executing the following from the REPL prompt ... exec(open('filename.py').read()) Where filename.py is the file you want to run. Hope that helps! |
Same issue here, it took a while before I realised what was happening as I was adding a package using Thonny, but after running a file that package was suddenly gone. @alaub81 thanks for the old firmware tip, that solved it! |
Can you confirm that this experimental build pico-w-go-2.1.7.zip fixes this issue for you even when running the latest micropython firmware? |
Yes, I can confirm that build fixes the issue with the latest micropython firmware. |
Tested it, too! It is working for me! |
Glad to here that it's working for you |
What are the steps to reproduce this issue?
What happens?
File runs, but all other files and folders are deleted from the board
What were you expecting to happen?
File runs and the rest of the files and folders stays intact.
Any logs, error output, etc?
(To get extension logs see Terminal > Output > Protcoll (Extensionhost) and copy output concerning picowgo)
(If it’s long, please paste to https://gist.github.com and insert the link here)
Any other comments?
Support info
Copy this from the
Help -> Info/About -> Copy
option in Visual Studio Code:The text was updated successfully, but these errors were encountered: