Page 1 of 2

no module named 'webrepl'

Posted: Mon Jul 18, 2016 6:07 am
by jszsj
sorry, my English is not very well, but I'm working on it.
I built the firmware myself used the lasest source(v1.8.2-19-gc3f519a-dirty on 2016-07-18), but I can't start webrepl, when I import webrepl model, there's an error:no module named 'webrepl', I don't know how to fix this, and need some help,thanks.

Re: no module named 'webrepl'

Posted: Mon Jul 18, 2016 8:42 am
by shaoziyang
What's board do you using? Webrepl only for ESP8266.

Re: no module named 'webrepl'

Posted: Sat Aug 27, 2016 7:51 am
by emi
Same error 'no module named 'webrepl''
ESP8266/ v1.8.3
Would appreciate any help.

Re: no module named 'webrepl'

Posted: Sat Aug 27, 2016 8:05 am
by deshipu
Can you try this code and tell us what it said?

Code: Select all

import esp
esp.check_fw()

Re: no module named 'webrepl'

Posted: Sat Aug 27, 2016 10:19 pm
by emi
Thanks for your reply.

The output is:
size: 527768
md5: 9a0217a21d84db9654933e5c045fb5d3
True

Re: no module named 'webrepl'

Posted: Sun Aug 28, 2016 6:45 am
by deshipu
This is just a shot in the dark, but did you forget to compile mpy-cross before compiling the rest of micropython?

Re: no module named 'webrepl'

Posted: Sun Aug 28, 2016 9:02 am
by emi
No, I used ( make -C mpy-cross) before building micropython.

Re: no module named 'webrepl'

Posted: Sun Aug 28, 2016 11:08 am
by deshipu
Can you confirm there is webrepl.py in your esp8266/modules directory?

Re: no module named 'webrepl'

Posted: Sun Aug 28, 2016 10:29 pm
by emi
Yes, it's there.

Re: no module named 'webrepl'

Posted: Mon Aug 29, 2016 7:14 am
by deshipu
I have no further suggestions, it should work. I can't see anything else that could be wrong with it.