danxian-baiheng commented on issue #43441:
URL: https://github.com/apache/airflow/issues/43441#issuecomment-2456439296
Im facing the same error as @raphaelauv but with 2.10.2.
```
Python version: 3.11.6
Airflow version: 2.10.2
-------------------------------------------------------------------------------
Traceback (most recent call last):
File
"/opt/nucolumnaradmin/.venv/lib/python3.11/site-packages/flask/app.py", line
2529, in wsgi_app
response = self.full_dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/opt/nucolumnaradmin/.venv/lib/python3.11/site-packages/flask/app.py", line
1825, in full_dispatch_request
rv = self.handle_user_exception(e)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/opt/nucolumnaradmin/.venv/lib/python3.11/site-packages/flask/app.py", line
1823, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File
"/opt/nucolumnaradmin/.venv/lib/python3.11/site-packages/flask/app.py", line
1799, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/opt/nucolumnaradmin/.venv/lib/python3.11/site-packages/flask_appbuilder/security/decorators.py",
line 137, in wraps
return f(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File
"/opt/nucolumnaradmin/.venv/lib/python3.11/site-packages/flask_appbuilder/views.py",
line 550, in list
widgets = self._list()
^^^^^^^^^^^^
File
"/opt/nucolumnaradmin/.venv/lib/python3.11/site-packages/flask_appbuilder/baseviews.py",
line 1186, in _list
form = self.search_form.refresh()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/opt/nucolumnaradmin/.venv/lib/python3.11/site-packages/flask_appbuilder/forms.py",
line 327, in refresh
form = self(obj=obj)
^^^^^^^^^^^^^
File
"/opt/nucolumnaradmin/.venv/lib/python3.11/site-packages/wtforms/form.py", line
209, in __call__
return type.__call__(cls, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/opt/nucolumnaradmin/.venv/lib/python3.11/site-packages/flask_wtf/form.py",
line 73, in __init__
super().__init__(formdata=formdata, **kwargs)
File
"/opt/nucolumnaradmin/.venv/lib/python3.11/site-packages/wtforms/form.py", line
281, in __init__
super().__init__(self._unbound_fields, meta=meta_obj, prefix=prefix)
File
"/opt/nucolumnaradmin/.venv/lib/python3.11/site-packages/wtforms/form.py", line
49, in __init__
field = meta.bind_field(self, unbound_field, options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/opt/nucolumnaradmin/.venv/lib/python3.11/site-packages/wtforms/meta.py", line
28, in bind_field
return unbound_field.bind(form=form, **options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/opt/nucolumnaradmin/.venv/lib/python3.11/site-packages/wtforms/fields/core.py",
line 387, in bind
return self.field_class(*self.args, **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/opt/nucolumnaradmin/.venv/lib/python3.11/site-packages/wtforms/fields/core.py",
line 133, in __init__
for k, v in flags.items():
^^^^^^^^^^^
AttributeError: 'tuple' object has no attribute 'items'
```
Is this resolved in the latest version, or it's caused by my fault?
Currently we are using 2.6.3 in prod now, and we want to upgrade to a newer
version(must >= 2.9.0).
Which version will be recommended?
--
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]