LucasRoesler opened a new issue, #56761:
URL: https://github.com/apache/airflow/issues/56761
### Apache Airflow version
3.1.0
### If "Other Airflow 2/3 version" selected, which one?
_No response_
### What happened?
I just recently looked into upgrading from 3.0.6 to 3.1.0.
When I start airflow using `airflow standalone`, everything starts as
expected and the login screen worked, but after login the screen is blank and
the browser console contains this error
```
Uncaught TypeError: invalid element in locales argument
mrr http://localhost:8080/static/assets/index-DCQjDg3C.js:25
lcr http://localhost:8080/static/assets/index-DCQjDg3C.js:40
Put http://localhost:8080/static/assets/index-DCQjDg3C.js:70
Srt http://localhost:8080/static/assets/index-DCQjDg3C.js:70
Egn http://localhost:8080/static/assets/index-DCQjDg3C.js:70
Wgn http://localhost:8080/static/assets/index-DCQjDg3C.js:70
Lwr http://localhost:8080/static/assets/index-DCQjDg3C.js:70
wZe http://localhost:8080/static/assets/index-DCQjDg3C.js:70
Hgn http://localhost:8080/static/assets/index-DCQjDg3C.js:70
rbn http://localhost:8080/static/assets/index-DCQjDg3C.js:70
jn http://localhost:8080/static/assets/index-DCQjDg3C.js:55
EventHandlerNonNull*
http://localhost:8080/static/assets/index-DCQjDg3C.js:55
<anonymous> http://localhost:8080/static/assets/index-DCQjDg3C.js:55
```
### What you think should happen instead?
The UI should load without errors.
### How to reproduce
1. First create and start a fresh Airflow environment
```bash
uv init --no-package --python 3.12 --name airflow-bug --no-readme
airflow-bug
cd airflow-bug
uv add "apache-airflow==3.1.0"uv
mkdir local
echo '{"admin": "admin"}' >
local/simple_auth_manager_passwords.json.generated
AIRFLOW_HOME=$(pwd)/local uv run airflow standalone
```
2. open http://localhost:8080
3. login with `admin:admin`
4. See a blank screen
5. open the browser console to see the error message about locales
### Operating System
Linux, Fedora 42
### Versions of Apache Airflow Providers
```
$ uv pip freeze | grep apache-airflow
apache-airflow==3.1.0
apache-airflow-core==3.1.0
apache-airflow-providers-common-compat==1.7.4
apache-airflow-providers-common-io==1.6.3
apache-airflow-providers-common-sql==1.28.1
apache-airflow-providers-smtp==2.3.1
apache-airflow-providers-standard==1.9.0
apache-airflow-task-sdk==1.1.0
```
### Deployment
Virtualenv installation
### Deployment details
_No response_
### Anything else?
_No response_
### Are you willing to submit PR?
- [x] 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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]