You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Jacob Biesinger (JIRA)" <ji...@apache.org> on 2018/08/14 15:48:00 UTC
[jira] [Created] (AIRFLOW-2900) Code not visible for Packaged DAGs
Jacob Biesinger created AIRFLOW-2900:
----------------------------------------
Summary: Code not visible for Packaged DAGs
Key: AIRFLOW-2900
URL: https://issues.apache.org/jira/browse/AIRFLOW-2900
Project: Apache Airflow
Issue Type: Bug
Components: webapp, webserver
Affects Versions: Airflow 1.9.0
Reporter: Jacob Biesinger
Assignee: Jacob Biesinger
Packaged DAGs are present on the server as ZIP files. The [rendering code|https://github.com/apache/incubator-airflow/blob/a29fe350164937b28f525b46f7aecbc309665e5a/airflow/www/views.py#L668] is not aware of zip files and fails to show code for packaged apps.
Easy fix: If .zip appears as a suffix in the path components, attempt to open the file using ZipFile.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)