MicroWebSrv2, new asynchronous Web server for MicroPython (+Routes +WebSockets +Template engine).

Discussion about programs, libraries and tools that work with MicroPython. Mostly these are provided by a third party.
Target audience: All users and developers of MicroPython.
uxhamby
Posts: 32
Joined: Thu Nov 14, 2019 9:47 pm

Re: MicroWebSrv2, new asynchronous Web server for MicroPython (+Routes +WebSockets +Template engine).

Post by uxhamby » Wed Jul 29, 2020 3:28 am

Hi,

I am having a similar error.

Does this:
MicroWebSrv2Exception: Cannot load module "WebSockets".
imply that space to load the "WebSockets" module is not available ?

FWIW, I am attempting to run MicroWebSrv2 on one of those 38 pin ESP32 WROOM modules from eBay.

Code: Select all

Connection successful
('192.168.55.140', '255.255.255.0', '192.168.55.1', '192.168.55.3')
Host Name:  ESP32_5
GMT time:    (2020, 7, 29, 3, 6, 54, 2, 211)
Local time:  (2020, 7, 28, 23, 6, 54, 1, 210)

       ---------------------------
       - Python pkg MicroWebSrv2 -
       -      version 2.0.6      -
       -     by JC`zic & HC2     -
       ---------------------------

 + [@WebRoute] GET /test-redir
 + [@WebRoute] GET /test-post (TestPost1/2)
 + [@WebRoute] POST /test-post (TestPost2/2)

Traceback (most recent call last):
  File "main.py", line 153, in <module>
  File "MicroWebSrv2/microWebSrv2.py", line 136, in LoadModule
MicroWebSrv2Exception: Cannot load module "WebSockets".
Thanks,

Brian H.

Post Reply