You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "BevisDev (via GitHub)" <gi...@apache.org> on 2026/06/10 10:51:48 UTC

Re: [I] [3.1.8] TypeError super(type, obj) on /users/list and /roles/list in Flask AppBuilder UI [airflow]

BevisDev commented on issue #63982:
URL: https://github.com/apache/airflow/issues/63982#issuecomment-4669342065

   Hi team,
   
   We're hitting the same `TypeError` on FAB admin pages in production (Airflow **3.2.2**, Helm chart, K8s).
   
   **Symptoms**
   - `GET /auth/roles/list/` → **500**
   - Traceback ends with:
   
   airflow@airflow3-api-server-579768c4f7-bwvng:/opt/airflow$ python -c "import airflow; print(\"version:\", airflow.__version__)"
   echo "---"
   CONN=$(python -c "import airflow.api_fastapi.core_api.services.ui.connections as m; print(m.__file__)")
   echo "file: $CONN"
   grep -n "MockAnyWidget\|mock.patch.*BS3TextFieldWidget" "$CONN" || echo "NO mock patch found (good)"
   '
   version: 3.2.2
   ---
   file: /home/airflow/.local/lib/python3.13/site-packages/airflow/api_fastapi/core_api/services/ui/connections.py
   119:    class MockAnyWidget:
   178:                mock.patch("flask_appbuilder.fieldwidgets.BS3TextFieldWidget", HookMetaService.MockAnyWidget),
   180:                    "flask_appbuilder.fieldwidgets.BS3TextAreaFieldWidget", HookMetaService.MockAnyWidget
   183:                    "flask_appbuilder.fieldwidgets.BS3PasswordFieldWidget", HookMetaService.MockAnyWidget
   > ^C
   airflow@airflow3-api-server-579768c4f7-bwvng:/opt/airflow$
   
   


-- 
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-unsubscribe@airflow.apache.org

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