flask-desktop icon indicating copy to clipboard operation
flask-desktop copied to clipboard

required positional argument 'environ' and 'start_response'

Open sanatho opened this issue 3 years ago • 0 comments

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

sanatho avatar Nov 19 '22 09:11 sanatho