ASF subversion and git services commented on AIRFLOW-252:

Commit 79d3be5b10d72538a605c7e24da31ccdd711013c in incubator-airflow's branch 
refs/heads/master from [~sekikn]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=79d3be5 ]

[AIRFLOW-252] Raise Sqlite exceptions when deleting tasks instance in WebUI

If users who use SQLite as backend try to delete a task via browser, it fails 
with an exception.
Though this is a bug on Flask-Admin's side basically, this patch provides a 
workaround for it.

> Raise Sqlite exceptions when deleting tasks instance in WebUI
> -------------------------------------------------------------
>                 Key: AIRFLOW-252
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-252
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: ui
>    Affects Versions:
>         Environment: Linux 0f857c51a5ce 4.0.9-boot2docker #1 SMP Thu Sep 10 
> 20:39:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
>            Reporter: ryanchou
>            Assignee: Kengo Seki
> When I try to delete a task instances on browse -> tasks instances page 
> through WebUI. It raise a Sqlite exception
> The airflow version is v1.7.1.3 I haven't seen the version choice in jira 
> issue.
> ```
>  File 
> "/usr/local/lib/python2.7/dist-packages/sqlalchemy/dialects/sqlite/base.py", 
> line 607, in process
>     raise TypeError("SQLite DateTime type only accepts Python "
> StatementError: (exceptions.TypeError) SQLite DateTime type only accepts 
> Python datetime and date objects as input. [SQL: u'SELECT 
> task_instance.task_id AS task_instance_task_id, task_in
> ```

This message was sent by Atlassian JIRA

Reply via email to