BetaRavener / uPyLoader

File transfer and communication tool for MicroPython boards
MIT License
355 stars 76 forks source link

Test Editor cannot locate a file that's on the MCU #69

Closed laurentopia closed 5 years ago

laurentopia commented 5 years ago

image

BetaRavener commented 5 years ago

It's actually telling you that the local file path is wrong, which is true because it's empty. But maybe the check is in wrong place in the code. You were trying to edit the MCU boot.py file, correct? Can you tell me which actions you took - which buttons you clicked etc.?

laurentopia commented 5 years ago

So the text editor only edits text that's on the computer?

BetaRavener commented 5 years ago

No, it should be also able to do it for MCU files, that's why I was asking what actions you took so I can reproduce the problem. I'll try to check it tomorrow..

laurentopia commented 5 years ago

I selected the .py file from the MCU (a maix bit) the clicked on editor in the menu, then nothing happened so I entered the name of the py file in the field as you see and pressed enter. nothing I think, so I pressed save and that's when the error message appeared.

BetaRavener commented 5 years ago

Try double-clicking the file in the list.. The editing happens on the PC so the file needs to be transferred first. Just writing name into the field won't do anything and pressing save would save empty file with that name to MCU.

laurentopia commented 5 years ago

Yes! that works. Thanks.