webrepl won't load or run
Posted: Wed Feb 19, 2020 7:59 pm
I am trying the WebREPL for the first time. I loaded the firmware esp8266-20191220-v1.12.bin using esptool.py v2.0. I ran "import webrepl_setup" and got:
I connected to the ESP8266 MicroPython-087154 hotspot from my Win10 PC and pinged 192.168.4.1. I opened the WebREPL html page from a local directory using the Edge browser and everything seemed correct used the default websocket address. When I click Connect button the only response is "Disconnected". I also tried the WebREPL page at MicroPython website, same result. The ESP8266 is a "Generic" ESP-01 module that I have run many Arduino programs on, with 1MB flash.
Subsequent attempts to run "import webrepl_setup" result in:
Could you suggest a solution?
Code: Select all
14:02:03.479 -> >>> import webrepl_setup
14:03:38.066 -> WebREPL daemon auto-start status: disabled
14:03:38.066 ->
14:03:38.066 -> Would you like to (E)nable or (D)isable it running on boot?
14:03:38.066 -> (Empty line to quit)
14:03:38.066 -> > E
14:03:59.930 -> To enable WebREPL, you must set password for it
14:03:59.930 -> New password (4-9 chars): python
14:04:15.044 -> Confirm password: python
14:04:26.973 ->
14:04:26.973 -> ets Jan 8 2013,rst cause:4, boot mode:(3,6)
14:04:26.973 ->
14:04:26.973 -> wdt reset
14:04:26.973 -> load 0x40100000, len 31088, room 16
14:04:27.006 -> tail 0
14:04:27.006 -> chksum 0xc4
14:04:27.006 -> load 0x3ffe8000, len 1028, room 8
14:04:27.006 -> tail 12
14:04:27.006 -> chksum 0x9e
14:04:27.006 -> ho 0 tail 12 room 4
14:04:27.006 -> load 0x3ffe8410, len 824, room 12
14:04:27.006 -> tail 12
14:04:27.006 -> chksum 0x89
14:04:27.006 -> csum 0x89
14:06:00.710 -> r
Subsequent attempts to run "import webrepl_setup" result in:
Code: Select all
14:09:59.858 -> >>> import webrepl_setup
14:10:07.399 -> Traceback (most recent call last):
14:10:07.399 -> File "<stdin>", line 1, in <module>
14:10:07.399 -> File "webrepl_setup.py", line 102, in <module>
14:10:07.399 -> File "webrepl_setup.py", line 71, in main
14:10:07.399 -> File "webrepl_setup.py", line 40, in get_daemon_status
14:10:07.399 -> OSError: [Errno 2] ENOENT