Open sanatho opened 1 year ago
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
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'
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