Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sanatho opened this issue Nov 19, 2022 · 0 comments
Open

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

sanatho opened this issue Nov 19, 2022 · 0 comments

Comments

@sanatho
Copy link

sanatho commented Nov 19, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant