Skip to content

required positional argument 'environ' and 'start_response' #38

@sanatho

Description

@sanatho

when I execute app.py i get

Exception in thread Thread-1: Traceback (most recent call last): Command: C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe --user-data-dir=C:\Users\Thomas\AppData\Local\Temp\flaskwebgui --new-window --no-first-run --start-maximized --app=http://127.0.0.1:50321 File "C:\Program Files\Python310\lib\threading.py", line 1009, in _bootstrap_inner self.run() File "C:\Program Files\Python310\lib\threading.py", line 946, in run self._target(*self._args, **self._kwargs) TypeError: Flask.__call__() missing 2 required positional arguments: 'environ' and 'start_response'
The original flask app works correctly
image

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