You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Jiening Wen (JIRA)" <ji...@apache.org> on 2017/07/26 11:54:00 UTC

[jira] [Updated] (AIRFLOW-1465) charts don't work when X is Date is checked

     [ https://issues.apache.org/jira/browse/AIRFLOW-1465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jiening Wen updated AIRFLOW-1465:
---------------------------------
    Description: 
The example on https://airflow.incubator.apache.org/profiling.html#chart-screenshot fails with error message like {{1496268000000 is not JSON serializable}}.

!chart error.PNG|thumbnail!

It seems to be related to an upstream issue in pandas that Index.tolist doesn't convert values to python native types.
https://github.com/pandas-dev/pandas/issues/12715



  was:
The example on https://airflow.incubator.apache.org/profiling.html#chart-screenshot fails with error message like {{1496268000000 is not JSON serializable}}.

It seems to be related to an upstream issue in pandas that Index.tolist doesn't convert values to python native types.
https://github.com/pandas-dev/pandas/issues/12715




> charts don't work when X is Date is checked
> -------------------------------------------
>
>                 Key: AIRFLOW-1465
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1465
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: webapp
>    Affects Versions: Airflow 1.8
>            Reporter: Jiening Wen
>         Attachments: chart error.PNG
>
>
> The example on https://airflow.incubator.apache.org/profiling.html#chart-screenshot fails with error message like {{1496268000000 is not JSON serializable}}.
> !chart error.PNG|thumbnail!
> It seems to be related to an upstream issue in pandas that Index.tolist doesn't convert values to python native types.
> https://github.com/pandas-dev/pandas/issues/12715



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)