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 2020/05/07 02:16:51 UTC

[GitHub] [airflow] RyanSiu1995 opened a new issue #8755: dags.html returns template error if the DAG is missing.

RyanSiu1995 opened a new issue #8755:
URL: https://github.com/apache/airflow/issues/8755


   **Apache Airflow version**: 1.10.10
   
   
   **Kubernetes version (if you are using kubernetes)** (use `kubectl version`):
   
   **Environment**:
   Debian with pip install airflow
   
   **What happened**:
   I have some missing DAGs from the source code and it has the record in the database. 
   When I upgrade to v1.10.10, those DAGs don't have the description field, which is None by default, so the change on this PR, #7457, will return an error about applying `len` function to None type.
   
   **What you expected to happen**:
   It should not have any error during the rendering.
   
   **How to reproduce it**:
   Remove a registered DAG from the source code. And the error will pop up
   
   
   **Anything else we need to know**:
   Nope
   


----------------------------------------------------------------
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] zhongjiajie commented on issue #8755: dags.html returns template error if the DAG is missing.

Posted by GitBox <gi...@apache.org>.
zhongjiajie commented on issue #8755:
URL: https://github.com/apache/airflow/issues/8755#issuecomment-626206422


   @RyanSiu1995 Hi, in https://github.com/apache/airflow/issues/8752 we could know that the issue fix in master branch and will release in 1.10.11, and https://github.com/apache/airflow/issues/8752#issue-613713226 also give the solution before 1.10.11 release, hope could you


----------------------------------------------------------------
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] mik-laj commented on issue #8755: dags.html returns template error if the DAG is missing.

Posted by GitBox <gi...@apache.org>.
mik-laj commented on issue #8755:
URL: https://github.com/apache/airflow/issues/8755#issuecomment-624989647


   Duplicate: https://github.com/apache/airflow/issues/8752


----------------------------------------------------------------
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] zhongjiajie commented on issue #8755: dags.html returns template error if the DAG is missing.

Posted by GitBox <gi...@apache.org>.
zhongjiajie commented on issue #8755:
URL: https://github.com/apache/airflow/issues/8755#issuecomment-625010699


   @RyanSiu1995 Hi, you said
   
   > those DAGs don't have the description field, which is None by default
   
   But I find out the default value of description is `''`(empty string), see https://github.com/apache/airflow/issues/8752#issuecomment-625006878, which version before you upgrade to 1.10.10?


----------------------------------------------------------------
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] RyanSiu1995 commented on issue #8755: dags.html returns template error if the DAG is missing.

Posted by GitBox <gi...@apache.org>.
RyanSiu1995 commented on issue #8755:
URL: https://github.com/apache/airflow/issues/8755#issuecomment-625685709


   @zhongjiajie I was using 1.10.3. 


----------------------------------------------------------------
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 #8755: dags.html returns template error if the DAG is missing.

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


   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