Skip to content
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

Cannot open remote file for write #22

Closed
curioussavage opened this issue Dec 10, 2016 · 7 comments
Closed

Cannot open remote file for write #22

curioussavage opened this issue Dec 10, 2016 · 7 comments

Comments

@curioussavage
Copy link

Hi thanks a million for this tool. I use it exclusively for uploading files to my wemos d1 minis.

I just flashed new firmware on my device with esptool and then use nodemcu-tool mkfs

I suspect this might be a symptom of an issue with that, either way it might be nice to add more detail/ suggestions to the error message if relevant.

and of course if you have any idea how I can fix this much a appreciated
espfail

here is the output.

@curioussavage
Copy link
Author

As you should be able to see in the screen shot it creates the files on the device but writes nothing to them.

@curioussavage
Copy link
Author

I tested in the terminal and was able to open and write to the empty file created by nodemcu-tool upload so it looks like it might be an issue with the lib and maybe the newest firmware?

@AndiDittrich
Copy link
Owner

Strange... i didn't test v1.5.4 yet
did you tried an earlier firmware version ? e.g. 1.5.1 ?

generally, there are no more details available... the fs.write function will only return false..

@AndiDittrich
Copy link
Owner

i can confirm the issue with NodeMCU Firmware v1.5.4 - i will investigate the issue asap

AndiDittrich added a commit that referenced this issue Dec 10, 2016
@AndiDittrich
Copy link
Owner

should be fixed within the current master branch of NodeMCU-Tool
The team of NodeMCU LUA has changed the footprint of file.open within the last minor release...

Thank you very much for your report @curioussavage

@curioussavage
Copy link
Author

That was fast! thanks for all your work on this.

@curioussavage
Copy link
Author

I just successfully tested it on my machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants