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

webREPL sends old file data: unexpected UI behaviour #8

Closed
peterhinch opened this issue Jul 17, 2016 · 5 comments
Closed

webREPL sends old file data: unexpected UI behaviour #8

peterhinch opened this issue Jul 17, 2016 · 5 comments

Comments

@peterhinch
Copy link

Usage: send a program to the esp8266, run it then modify the source. Use webREPL to re-send the updated source. The UI still shows the name of the file, and pressing 'Send to device' apparently works. However it behaves as if the old file were buffered re-sending the old data. It seems to be necessary to browse for the file again to force it to load the new version.

While not a major issue it is likely to confuse newcomers.

@dpgeorge
Copy link
Member

dpgeorge commented Sep 6, 2016

This should be fixed by #14.

@dpgeorge dpgeorge closed this as completed Sep 6, 2016
@osresearch
Copy link

OSX still has problems with this in Safari and Chrome - the old file contents are sent unless a different file is selected in the requestor and then the original file is reselected. Firefox and Chrome on Linux do the right thing and will update the device with the new file length and contents.

@osresearch
Copy link

Correction: this works with a local checkout, but not with the hosted version at http://micropython.org/webrepl. This appears to have the same problem as #15 (comment) -- the hosted version hasn't been updated in a while.

@dpgeorge
Copy link
Member

the hosted version hasn't been updated in a while.

Thanks for the report, it's now updated to the latest version.

@bulletmark
Copy link

I've been experimenting with Micropython on an ESP32 using Linux and experience this webrepl bug with current version esp32-20210418-v1.15.bin. If I just press the "send to device" button then the send appears to work but the old file is sent. I have to open the file dialog and select the file (again) so that the new file contents are sent, which really hampers the debug loop cycle. Happens in Chrome, Firefox, and GNOME Web so it not browser dependent.

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

No branches or pull requests

4 participants