Call for testing finalized WebREPL setup (before 1.8 release)

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
pfalcon
Posts: 1155
Joined: Fri Feb 28, 2014 2:05 pm

Re: Call for testing finalized WebREPL setup

Post by pfalcon » Mon May 02, 2016 6:25 pm

webrepl_cli.py was updated for password support.
Awesome MicroPython list
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/

pfalcon
Posts: 1155
Joined: Fri Feb 28, 2014 2:05 pm

Re: Call for testing finalized WebREPL setup

Post by pfalcon » Mon May 02, 2016 6:38 pm

When setting password to empty on first setup (means just pressing enter 2x), the board seams to crash.
That was fixed in https://github.com/micropython/micropython/issues/2024 . And that's nice example of how other people can help to get bugs fixed in less time (or more features implemented). I'm really happy with how it's going. It started slow and awkward, with people submitting pull requests which stepped on our feet with what we're doing, but as we did more of our homework, and people followed the development process, there started to be more and more useful pull requests/issues reports/forum posts. And now, by the time of the release, it really starts to feel like a community project. Hopefully, this will go on - with us working on complex issues and stretch goals, and smaller fixes/improvements/tweaks contributed by the community. Well, everyone can dream!
Awesome MicroPython list
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/

slzatz
Posts: 92
Joined: Mon Feb 09, 2015 1:09 am

Re: Call for testing finalized WebREPL setup

Post by slzatz » Tue May 03, 2016 2:40 am

for webrepl_cli.py at least under python3, I think you need to change

Code: Select all

ws.write(passwd + b"\r")
to

Code: Select all

ws.write(passwd.encode('utf-8') + b"\r")
Also, under python3, I am getting the password prompt printed both vertically (as bytes) and horizontally as a string following that but most importantly it works well transferring files to esp flash.

pfalcon
Posts: 1155
Joined: Fri Feb 28, 2014 2:05 pm

Re: Call for testing finalized WebREPL setup

Post by pfalcon » Tue May 03, 2016 7:26 am

LOL, tell that there's a release rush in progress ;-). Thanks slzatz for testing and reporting, both issues fixed.
Awesome MicroPython list
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/

User avatar
deshipu
Posts: 1388
Joined: Thu May 28, 2015 5:54 pm

Re: Call for testing finalized WebREPL setup

Post by deshipu » Mon May 16, 2016 6:51 pm

After the recent update (commit https://github.com/micropython/micropyt ... ab045784f8) and updating the SDK, I seem to no longer be able to connect to the webrepl (after importing and starting it, of course). There is no error, just the client and server hang, waiting for connection that never gets established.

pfalcon
Posts: 1155
Joined: Fri Feb 28, 2014 2:05 pm

Re: Call for testing finalized WebREPL setup

Post by pfalcon » Mon May 16, 2016 8:58 pm

Weird, and I cannot reproduce. Please follow https://github.com/micropython/micropython/issues/2054 and add your case there, with as much background info as possible, e.g. whether you tested after erase_flash, what browser you use, and additionally the output of the build with the latest "import port_diag" which was just committed.
Awesome MicroPython list
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/

User avatar
deshipu
Posts: 1388
Joined: Thu May 28, 2015 5:54 pm

Re: Call for testing finalized WebREPL setup

Post by deshipu » Mon May 16, 2016 10:10 pm

My issue with webrepl turned out to be because of stale esp-open-lwip, because I didn't do the "git submodule update" in the esp-open-sdk directory (I only did it in the micropython's).

pfalcon
Posts: 1155
Joined: Fri Feb 28, 2014 2:05 pm

Re: Call for testing finalized WebREPL setup

Post by pfalcon » Wed May 25, 2016 11:06 am

This thread was started before 1.8 release, seeking additional testing prior to release it. To avoid confusion, this thread is now closed, please post post-1.8 experiences and issues to this thread: http://forum.micropython.org/viewtopic.php?f=16&t=1939
Awesome MicroPython list
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/

Locked