atessier6 commented on issue #34970:
URL: https://github.com/apache/airflow/issues/34970#issuecomment-1765241787
I've got the same issue, here's the traceback:
```
[2023-10-16T16:37:54.854-0400] {app.py:1744} ERROR - Exception on
/users/list/ [GET]
Traceback (most recent call last):
File "/opt/conda/lib/python3.8/site-packages/flask/app.py", line 2529, in
wsgi_app
response = self.full_dispatch_request()
File "/opt/conda/lib/python3.8/site-packages/flask/app.py", line 1825, in
full_dispatch_request
rv = self.handle_user_exception(e)
File "/opt/conda/lib/python3.8/site-packages/flask/app.py", line 1823, in
full_dispatch_request
rv = self.dispatch_request()
File "/opt/conda/lib/python3.8/site-packages/flask/app.py", line 1799, in
dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File
"/opt/conda/lib/python3.8/site-packages/flask_appbuilder/security/decorators.py",
line 137, in wraps
return f(self, *args, **kwargs)
File "/opt/conda/lib/python3.8/site-packages/flask_appbuilder/views.py",
line 555, in list
return self.render_template(
File
"/opt/conda/lib/python3.8/site-packages/flask_appbuilder/baseviews.py", line
343, in render_template
return render_template(
File "/opt/conda/lib/python3.8/site-packages/flask/templating.py", line
147, in render_template
return _render(app, template, context)
File "/opt/conda/lib/python3.8/site-packages/flask/templating.py", line
130, in _render
rv = template.render(context)
File "/opt/conda/lib/python3.8/site-packages/jinja2/environment.py", line
1301, in render
self.environment.handle_exception()
File "/opt/conda/lib/python3.8/site-packages/jinja2/environment.py", line
936, in handle_exception
raise rewrite_traceback_stack(source=source)
File
"/opt/conda/lib/python3.8/site-packages/flask_appbuilder/templates/appbuilder/general/model/list.html",
line 2, in top-level template code
{% import 'appbuilder/general/lib.html' as lib %}
File
"/opt/conda/lib/python3.8/site-packages/flask_appbuilder/templates/appbuilder/base.html",
line 1, in top-level template code
{% extends base_template %}
File
"/opt/conda/lib/python3.8/site-packages/airflow/www/templates/airflow/main.html",
line 21, in top-level template code
{% from 'airflow/_messages.html' import show_message %}
File
"/opt/conda/lib/python3.8/site-packages/flask_appbuilder/templates/appbuilder/baselayout.html",
line 2, in top-level template code
{% import 'appbuilder/baselib.html' as baselib %}
File
"/opt/conda/lib/python3.8/site-packages/flask_appbuilder/templates/appbuilder/init.html",
line 42, in top-level template code
{% block body %}
File
"/opt/conda/lib/python3.8/site-packages/flask_appbuilder/templates/appbuilder/baselayout.html",
line 19, in block 'body'
{% block content %}
File
"/opt/conda/lib/python3.8/site-packages/flask_appbuilder/templates/appbuilder/general/model/list.html",
line 7, in block 'content'
{% block list_search scoped %}
File
"/opt/conda/lib/python3.8/site-packages/flask_appbuilder/templates/appbuilder/general/model/list.html",
line 8, in block 'list_search'
{% call lib.accordion_tag("accordion1",_("Search"), False) %}
File "/opt/conda/lib/python3.8/site-packages/jinja2/runtime.py", line 777,
in _invoke
rv = self._func(*arguments)
File
"/opt/conda/lib/python3.8/site-packages/flask_appbuilder/templates/appbuilder/general/lib.html",
line 304, in template
{{ caller() }}
File "/opt/conda/lib/python3.8/site-packages/jinja2/runtime.py", line 777,
in _invoke
rv = self._func(*arguments)
File
"/opt/conda/lib/python3.8/site-packages/flask_appbuilder/templates/appbuilder/general/model/list.html",
line 9, in template
{{ widgets.get('search')()|safe }}
File "/opt/conda/lib/python3.8/site-packages/flask_appbuilder/widgets.py",
line 115, in __call__
form_fields[col] = self.template_args["form"][col]()
File "/opt/conda/lib/python3.8/site-packages/wtforms/fields/core.py", line
176, in __call__
return self.meta.render_field(self, kwargs)
File "/opt/conda/lib/python3.8/site-packages/wtforms/meta.py", line 64, in
render_field
return field.widget(field, **render_kw)
File
"/opt/conda/lib/python3.8/site-packages/flask_appbuilder/fieldwidgets.py", line
181, in __call__
return super(Select2ManyWidget, self).__call__(field, **kwargs)
File "/opt/conda/lib/python3.8/site-packages/wtforms/widgets/core.py",
line 365, in __call__
for val, label, selected, render_kw in field.iter_choices():
ValueError: not enough values to unpack (expected 4, got 3)
```
--
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]