Skip to content

Configuration file issue, plugin folder key name not specified in configuration file. #37

Closed

Description

@vi3k6i5

System details:

Description: Ubuntu 15.04
Linux my-pc 3.19.0-21-generic #21-Ubuntu SMP Sun Jun 14 18:31:11 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Steps to reproduce:

I cloned the repo and tried the quick start steps : http://pythonhosted.org/airflow/start.html

got error at the following step:

$ airflow initdb
Traceback (most recent call last):
File "/usr/local/bin/airflow", line 3, in
from airflow.bin.cli import get_parser
File "/usr/local/lib/python2.7/dist-packages/airflow/init.py", line 10, in
from airflow.configuration import conf
File "/usr/local/lib/python2.7/dist-packages/airflow/configuration.py", line 276, in
conf.read(AIRFLOW_CONFIG)
File "/usr/lib/python2.7/ConfigParser.py", line 305, in read
self._read(fp, filename)
File "/usr/lib/python2.7/ConfigParser.py", line 546, in _read
raise e
ConfigParser.ParsingError: File contains parsing errors: /home/viki/airflow/airflow.cfg
[line 32]: '/home/viki/airflow/plugins\n'

The error seems to be because the configuration file is like this

Where your Airflow plugins are stored

/home/viki/airflow/plugins

i changed it to

Where your Airflow plugins are stored

plugins_folder = /home/viki/airflow/plugins

and it worked.

Activity

  1. mistercrunch commented on Jun 17, 2015

    @mistercrunch
    Member

    good catch, v1.1.1 is coming to fix this

  2. mistercrunch commented on Jun 17, 2015

    @mistercrunch
    Member

    v1.1.1 is out here and addresses this bug:
    https://pypi.python.org/pypi/airflow/1.1.1

    I'll need to add a unit test to parse the default cfg ...

  3. added a commit that references this issue on Apr 10, 2020
  4. added a commit that references this issue on Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions