airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Barker (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AIRFLOW-1949) Unable to Import Variables, always get "Missing file or syntax error"
Date Fri, 22 Dec 2017 05:34:00 GMT

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

John Barker updated AIRFLOW-1949:
---------------------------------
    Summary: Unable to Import Variables, always get "Missing file or syntax error"  (was:
Unable to Import Variables "")

> Unable to Import Variables, always get "Missing file or syntax error"
> ---------------------------------------------------------------------
>
>                 Key: AIRFLOW-1949
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1949
>             Project: Apache Airflow
>          Issue Type: Bug
>    Affects Versions: Airflow 1.8
>            Reporter: John Barker
>            Assignee: John Barker
>
> I'm unable to upload a configuration file. Looking at the code it appears to support
JSON.
> I've tried uploading an empty file, a file containing "{}" and several simple variations
of files created by downloading a set of variables. I always get the same error: "Missing
file or syntax error"
> I took out the `except Exception` in the request handler and got: {{json.decoder.JSONDecodeError:
Expecting value: line 1 column 1 (char 0)}}



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

Mime
View raw message