Skip to content

Catch MemoryException in editor #6

@vasekch

Description

@vasekch

https://github.com/octopusengine/octopuslab/blob/d435c16323f2a0250108b9d2a150bf3277d0f2d0/esp32-micropython/util/shell/editor.py#L175

uPyShell:~/$ edit util/octopus.py
Traceback (most recent call last):
File "util/shell/init.py", line 527, in shell
File "util/shell/init.py", line 145, in edit
File "util/shell/editor.py", line 175, in edit
MemoryError: memory allocation failed, allocating 2048 bytes

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions