Skip to content

main.py not executed, but can be imported. #2026

@dmarkey

Description

@dmarkey

Hi,
cat scripts/main.py
import webrepl
webrepl.start()

But on boot:
could not open file 'main.py' for reading
#5 ets_task(401002d8, 3, 3fff5180, 4)

MicroPython v1.7-257-g26fd0ac-dirty on 2016-05-02; ESP module with ESP8266
Type "help()" for more information.

However I can import main...

import main
WebREPL daemon started on ws://192.168.4.1:8266
Started webrepl in setup mode

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions