achaosss opened a new issue, #49175:
URL: https://github.com/apache/airflow/issues/49175

   ### Apache Airflow version
   
   3.0.0
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   I used the WSL2 environment and installed the Airflow environment using uv 
sync, but encountered this issue.
   
   api-server | File 
"/home/clik/airflow/.venv/lib/python3.10/site-packages/starlette/routing.py", 
line 76, in app
   api-server | await wrap_app_handling_exceptions(app, request)(scope, 
receive, send)
   api-server | File 
"/home/clik/airflow/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py",
 line 53, in wrapped_app
   api-server | raise exc
   api-server | File 
"/home/clik/airflow/.venv/lib/python3.10/site-packages/starlette/_exception_handler.py",
 line 42, in wrapped_app
   api-server | await app(scope, receive, sender)
   api-server | File 
"/home/clik/airflow/.venv/lib/python3.10/site-packages/starlette/routing.py", 
line 73, in app
   api-server | response = await f(request)
   api-server | File 
"/home/clik/airflow/.venv/lib/python3.10/site-packages/fastapi/routing.py", 
line 301, in app
   api-server | raw_response = await run_endpoint_function(
   api-server | File 
"/home/clik/airflow/.venv/lib/python3.10/site-packages/fastapi/routing.py", 
line 214, in run_endpoint_function
   api-server | return await run_in_threadpool(dependant.call, **values)
   api-server | File 
"/home/clik/airflow/.venv/lib/python3.10/site-packages/starlette/concurrency.py",
 line 37, in run_in_threadpool
   api-server | return await anyio.to_thread.run_sync(func)
   api-server | File 
"/home/clik/airflow/.venv/lib/python3.10/site-packages/anyio/to_thread.py", 
line 56, in run_sync
   api-server | return await get_async_backend().run_sync_in_worker_thread(
   api-server | File 
"/home/clik/airflow/.venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py",
 line 2470, in run_sync_in_worker_thread
   api-server | return await future
   api-server | File 
"/home/clik/airflow/.venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py",
 line 967, in run
   api-server | result = context.run(func, *args)
   api-server | File 
"/home/clik/airflow/airflow-core/src/airflow/api_fastapi/core_api/app.py", line 
69, in webapp
   api-server | return templates.TemplateResponse(
   api-server | File 
"/home/clik/airflow/.venv/lib/python3.10/site-packages/starlette/templating.py",
 line 208, in TemplateResponse
   api-server | template = self.get_template(name)
   api-server | File 
"/home/clik/airflow/.venv/lib/python3.10/site-packages/starlette/templating.py",
 line 131, in get_template
   api-server | return self.env.get_template(name)
   api-server | File 
"/home/clik/airflow/.venv/lib/python3.10/site-packages/jinja2/environment.py", 
line 1016, in get_template
   api-server | return self._load_template(name, globals)
   api-server | File 
"/home/clik/airflow/.venv/lib/python3.10/site-packages/jinja2/environment.py", 
line 975, in _load_template
   api-server | template = self.loader.load(self, name, 
self.make_globals(globals))
   api-server | File 
"/home/clik/airflow/.venv/lib/python3.10/site-packages/jinja2/loaders.py", line 
126, in load
   api-server | source, filename, uptodate = self.get_source(environment, name)
   api-server | File 
"/home/clik/airflow/.venv/lib/python3.10/site-packages/jinja2/loaders.py", line 
209, in get_source
   api-server | raise TemplateNotFound(
   api-server | jinja2.exceptions.TemplateNotFound: '/index.html' not found in 
search path: '/home/clik/airflow/airflow-core/src/airflow/ui/dist'
   dag-processor | [2025-04-13T16:15:56.654+0800] {manager.py:522} INFO - Not 
time to refresh bundle dags-folder
   dag-processor | [2025-04-13T16:15:56.656+0800] {manager.py:522} INFO - Not 
time to refresh bundle example_dags
   
   ### What you think should happen instead?
   
   _No response_
   
   ### How to reproduce
   
   wsl2
   git clone https://github.com/apache/airflow.git --depth 1
   uv sync
   airflow standalone
   
   ### Operating System
   
   PRETTY_NAME="Ubuntu 22.04.5 LTS" NAME="Ubuntu" VERSION_ID="22.04" 
VERSION="22.04.5 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu 
ID_LIKE=debian HOME_URL="https://www.ubuntu.com/"; 
SUPPORT_URL="https://help.ubuntu.com/"; 
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"; 
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy";
 UBUNTU_CODENAME=jammy
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Virtualenv installation
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to