Skip to content

stack overflow serving small pyhtml page #79

@nicciniamh

Description

@nicciniamh

This is on esp32 v2 wroom devit, micropython version 1.19.1

---- crash report ---

from microWebSrv import MicroWebSrv
import microWebTemplate

mws = None
mws = MicroWebSrv(
... [],
... 80,
... '0.0.0.0',
... '/www')
mws.Start(threaded=True)

ERROR A stack overflow in task mp_thread has been detected.

Backtrace:0x40093b5e:0x3ffd8ba0 0x400942d5:0x3ffd8bc0 0x400944a6:0x3ffd8be0 0x400952f8:0x3ffd8c50 0x
4009459c:0x3ffd8c80 0x40094552:0x3f41b184 |<-CORRUPTED

ELF file SHA256: 00495403985fb7e0

--- pyhtml file ---

e32::temperature
{{ py }} import temptask {{ end }} Temperature is {{ '{.2f}.format(temptask.temp) }}° Humidity is {{ '{:.2f}'.format(temptask.hum) }}% ---- end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions