Jagadeepkosuri opened a new issue #22130:
URL: https://github.com/apache/airflow/issues/22130


   ### Apache Airflow version
   
   2.1.2
   
   ### What happened
   
   I'm trying to view XComs in Airflow web UI. Facing an error
   
   ### What you expected to happen
   
   See the XComs used in DAGs
   
   ### How to reproduce
   
   _No response_
   
   ### Operating System
   
   Debian GNU/Linux 10 (buster)
   
   ### Versions of Apache Airflow Providers
   
   apache-airflow-providers-amazon==2.0.0
   apache-airflow-providers-apache-cassandra==2.0.0
   apache-airflow-providers-apache-druid==2.0.0
   apache-airflow-providers-apache-hdfs==2.0.0
   apache-airflow-providers-apache-hive==2.0.0
   apache-airflow-providers-apache-pinot==2.0.0
   apache-airflow-providers-celery==2.0.0
   apache-airflow-providers-cloudant==2.0.0
   apache-airflow-providers-cncf-kubernetes==2.0.0
   apache-airflow-providers-docker==2.0.0
   apache-airflow-providers-elasticsearch==2.0.2
   apache-airflow-providers-exasol==2.0.0
   apache-airflow-providers-ftp==2.0.0
   apache-airflow-providers-google==4.0.0
   apache-airflow-providers-grpc==2.0.0
   apache-airflow-providers-hashicorp==2.0.0
   apache-airflow-providers-http==2.0.0
   apache-airflow-providers-imap==2.0.0
   apache-airflow-providers-microsoft-azure==3.2.0
   apache-airflow-providers-microsoft-mssql==2.0.0
   apache-airflow-providers-mongo==2.0.0
   apache-airflow-providers-mysql==2.0.0
   apache-airflow-providers-neo4j==2.0.0
   apache-airflow-providers-odbc==2.0.1
   apache-airflow-providers-postgres==2.0.0
   apache-airflow-providers-presto==2.0.0
   apache-airflow-providers-redis==2.0.0
   apache-airflow-providers-sendgrid==2.0.0
   apache-airflow-providers-sftp==2.0.0
   apache-airflow-providers-slack==4.0.0
   apache-airflow-providers-snowflake==1.0.0
   apache-airflow-providers-sqlite==2.0.0
   apache-airflow-providers-ssh==2.0.0
   apache-airflow-providers-trino==2.0.0
   apache-airflow-providers-vertica==2.0.0
   
   ### Deployment
   
   Other 3rd-party Helm chart
   
   ### Deployment details
   
   Bitnami Airflow Helm chart
   
   ### Anything else
   
   `Something bad has happened.
   Please consider letting us know by creating a [bug report using 
GitHub](https://github.com/apache/airflow/issues/new/choose).
   
   Python version: 3.8.11
   Airflow version: 2.1.2
   Node: airflow-release-web-775f8f9c68-bd2zr
   
-------------------------------------------------------------------------------
   Traceback (most recent call last):
     File "/opt/bitnami/airflow/venv/lib/python3.8/site-packages/flask/app.py", 
line 2447, in wsgi_app
       response = self.full_dispatch_request()
     File "/opt/bitnami/airflow/venv/lib/python3.8/site-packages/flask/app.py", 
line 1952, in full_dispatch_request
       rv = self.handle_user_exception(e)
     File "/opt/bitnami/airflow/venv/lib/python3.8/site-packages/flask/app.py", 
line 1821, in handle_user_exception
       reraise(exc_type, exc_value, tb)
     File 
"/opt/bitnami/airflow/venv/lib/python3.8/site-packages/flask/_compat.py", line 
39, in reraise
       raise value
     File "/opt/bitnami/airflow/venv/lib/python3.8/site-packages/flask/app.py", 
line 1950, in full_dispatch_request
       rv = self.dispatch_request()
     File "/opt/bitnami/airflow/venv/lib/python3.8/site-packages/flask/app.py", 
line 1936, in dispatch_request
       return self.view_functions[rule.endpoint](**req.view_args)
     File 
"/opt/bitnami/airflow/venv/lib/python3.8/site-packages/flask_appbuilder/security/decorators.py",
 line 109, in wraps
       return f(self, *args, **kwargs)
     File 
"/opt/bitnami/airflow/venv/lib/python3.8/site-packages/flask_appbuilder/views.py",
 line 552, in list
       return self.render_template(
     File 
"/opt/bitnami/airflow/venv/lib/python3.8/site-packages/flask_appbuilder/baseviews.py",
 line 287, in render_template
       return render_template(
     File 
"/opt/bitnami/airflow/venv/lib/python3.8/site-packages/flask/templating.py", 
line 137, in render_template
       return _render(
     File 
"/opt/bitnami/airflow/venv/lib/python3.8/site-packages/flask/templating.py", 
line 120, in _render
       rv = template.render(context)
     File 
"/opt/bitnami/airflow/venv/lib/python3.8/site-packages/jinja2/environment.py", 
line 1090, in render
       self.environment.handle_exception()
     File 
"/opt/bitnami/airflow/venv/lib/python3.8/site-packages/jinja2/environment.py", 
line 832, in handle_exception
       reraise(*rewrite_traceback_stack(source=source))
     File 
"/opt/bitnami/airflow/venv/lib/python3.8/site-packages/jinja2/_compat.py", line 
28, in reraise
       raise value.with_traceback(tb)
     File 
"/opt/bitnami/airflow/venv/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/bitnami/airflow/venv/lib/python3.8/site-packages/flask_appbuilder/templates/appbuilder/base.html",
 line 1, in top-level template code
       {% extends base_template %}
     File 
"/opt/bitnami/airflow/venv/lib/python3.8/site-packages/airflow/www/templates/airflow/main.html",
 line 20, in top-level template code
       {% extends 'appbuilder/baselayout.html' %}
     File 
"/opt/bitnami/airflow/venv/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/bitnami/airflow/venv/lib/python3.8/site-packages/flask_appbuilder/templates/appbuilder/init.html",
 line 37, in top-level template code
       {% block body %}
     File 
"/opt/bitnami/airflow/venv/lib/python3.8/site-packages/flask_appbuilder/templates/appbuilder/baselayout.html",
 line 19, in block "body"
       {% block content %}
     File 
"/opt/bitnami/airflow/venv/lib/python3.8/site-packages/flask_appbuilder/templates/appbuilder/general/model/list.html",
 line 13, in block "content"
       {% block list_list scoped %}
     File 
"/opt/bitnami/airflow/venv/lib/python3.8/site-packages/flask_appbuilder/templates/appbuilder/general/model/list.html",
 line 15, in block "list_list"
       {{ widgets.get('list')()|safe }}
     File 
"/opt/bitnami/airflow/venv/lib/python3.8/site-packages/flask_appbuilder/widgets.py",
 line 37, in __call__
       return template.render(args)
     File 
"/opt/bitnami/airflow/venv/lib/python3.8/site-packages/jinja2/environment.py", 
line 1090, in render
       self.environment.handle_exception()
     File 
"/opt/bitnami/airflow/venv/lib/python3.8/site-packages/jinja2/environment.py", 
line 832, in handle_exception
       reraise(*rewrite_traceback_stack(source=source))
     File 
"/opt/bitnami/airflow/venv/lib/python3.8/site-packages/jinja2/_compat.py", line 
28, in reraise
       raise value.with_traceback(tb)
     File 
"/opt/bitnami/airflow/venv/lib/python3.8/site-packages/airflow/www/templates/airflow/model_list.html",
 line 21, in top-level template code
       {% extends 'appbuilder/general/widgets/base_list.html' %}
     File 
"/opt/bitnami/airflow/venv/lib/python3.8/site-packages/flask_appbuilder/templates/appbuilder/general/widgets/base_list.html",
 line 23, in top-level template code
       {% block begin_loop_values %}
     File 
"/opt/bitnami/airflow/venv/lib/python3.8/site-packages/airflow/www/templates/airflow/model_list.html",
 line 80, in block "begin_loop_values"
       {% elif item[value] != None %}
     File 
"/opt/bitnami/airflow/venv/lib/python3.8/site-packages/pandas/core/generic.py", 
line 1534, in __nonzero__
       raise ValueError(
   ValueError: The truth value of a DataFrame is ambiguous. Use a.empty, 
a.bool(), a.item(), a.any() or a.all().`
   
   ### 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]


Reply via email to