webrepl_setup error

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
Aunullah Qaiser
Posts: 3
Joined: Tue Mar 21, 2017 4:42 am

webrepl_setup error

Post by Aunullah Qaiser » Tue Mar 21, 2017 4:54 am

I am having problem with webrepl_setup command. From the reference document I read that we have to enable it but whenever I write webrepl_setup command it shows the following error -:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "webrepl_setup.py", line 111, in <module>
File "webrepl_setup.py", line 80, in main
File "webrepl_setup.py", line 49, in get_daemon_status

I am using an Esp8266 01 with 1MB flash and flashed my module properly without any errors with the latest sdk.
Moreover , I don't know whether it is related to it or not but when I type os.listdir() I get a lot of garbage something like ['\x00\x00\x00\x00\x00\x00\x00\x00.\x00\x00\x00'].
I tried using previous builds but no use. I don't know what have I done wrong.

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

Re: webrepl_setup error

Post by deshipu » Tue Mar 21, 2017 7:59 am

This is related. Please erase_flash before flashing your micropython firmware -- that should help.

Post Reply