Open AbdouSadou opened 4 months ago
I had similar error in a web deployment test on Windows 11:
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "uvicorn\protocols\http\httptools_impl.py", line 401, in run_asgi
...
...
File "flet\fastapi\flet_static_files.py", line 120, in __config
Exception: Web root path not found: W:\Python\CaptureUI\dist\Capture\_internal\flet\web
What is the output of running the below command:
printenv | grep FLET
What is the output of running the below command:
What is the output of running the below command:
@ndonkoHenri Empty output. Should I set an env variable for flet ?
Duplicate Check
Describe the bug
Running simple Flet app with parameter
view=ft.AppView.WEB_BROWSER
throws an error. The webpage opens on localhost (1270.0.0.1:58009) with anInternal Server Error
.Running the app as normal (desktop) without the parameter works fine.
Code
To reproduce
Just run provided sample code
Expected behavior
Opens a webpage on default browser, displaying "Hello flet".
Screenshots
Error thrown on run:
The webpage opens on localhost (1270.0.0.1:58009) with an
Internal Server Error
Operating System
Linux
Operating system details
EndeavourOS (on kernel 6.9.6-arch1-1)
Flet version
python-flet 0.23.1-1
Regression
I'm not sure / I don't know
Suggestions
No response
Additional details
No response