You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/01/07 09:22:36 UTC

[GitHub] [airflow] AlessioM opened a new issue #13535: DockerOperator / XCOM : `TypeError: Object of type bytes is not JSON serializable`

AlessioM opened a new issue #13535:
URL: https://github.com/apache/airflow/issues/13535


   **Apache Airflow version**: 2.0.0
   
   **Kubernetes version (if you are using kubernetes)** (use `kubectl version`): NA
   
   **Environment**: 
   * local Ubuntu 18.04 LTS / 
   * docker-compose version 1.25.3, build d4d1b42b
   * docker  20.10.1, build 831ebea
   
   **What happened**:
   
   when enabling xcom push for a docker operator the following error is thrown after the task finishes succesfully:
   `TypeError: Object of type bytes is not JSON serializable`
   
   
   **What you expected to happen**:
   
   * error is not thrown
   * if xcom_all is True: xcom contains all log lines
   * if xcom_all is False: xcom contains last log line
   
   
   **How to reproduce it**:
   
   see docker compose and readme here:
   https://github.com/AlessioM/airflow-xcom-issue
   


----------------------------------------------------------------
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.

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



[GitHub] [airflow] AlessioM closed issue #13535: DockerOperator / XCOM : `TypeError: Object of type bytes is not JSON serializable`

Posted by GitBox <gi...@apache.org>.
AlessioM closed issue #13535:
URL: https://github.com/apache/airflow/issues/13535


   


----------------------------------------------------------------
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.

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



[GitHub] [airflow] boring-cyborg[bot] commented on issue #13535: DockerOperator / XCOM : `TypeError: Object of type bytes is not JSON serializable`

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #13535:
URL: https://github.com/apache/airflow/issues/13535#issuecomment-755993156


   Thanks for opening your first issue here! Be sure to follow the issue template!
   


----------------------------------------------------------------
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.

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