[
https://issues.apache.org/jira/browse/AIRFLOW-3852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16764990#comment-16764990
]
Ash Berlin-Taylor commented on AIRFLOW-3852:
--------------------------------------------
That's probably a new Jira of type "Test" (the reason to reuse the same Jira
last time was that the code change hadn't been released yet. Since we're adding
tests for something released a long time ago we want a new Jira so we know what
place to put it in the Changelog when we release)
> `airflow worker` fails
> ----------------------
>
> Key: AIRFLOW-3852
> URL: https://issues.apache.org/jira/browse/AIRFLOW-3852
> Project: Apache Airflow
> Issue Type: Bug
> Components: cli
> Affects Versions: 2.0.0
> Environment: Python 3.6
> Reporter: Tanay Tummalapalli
> Assignee: Tanay Tummalapalli
> Priority: Major
>
> When running `airflow worker`, I get the following exception:
>
> {code:java}
> [2019-02-09 00:12:25,983] {__init__.py:51} INFO - Using executor
> SequentialExecutor
> Traceback (most recent call last):
> File "/home/tanay/Coding/airflow/.env/bin/airflow", line 6, in <module>
> exec(compile(open(__file__).read(), __file__, 'exec'))
> File "/home/tanay/Coding/airflow/airflow/bin/airflow", line 32, in <module>
> args.func(args)
> File "/home/tanay/Coding/airflow/airflow/utils/cli.py", line 74, in wrapper
> return f(*args, **kwargs)
> File "/home/tanay/Coding/airflow/airflow/bin/cli.py", line 1058, in worker
> if not settings.validate_session():
> File "/home/tanay/Coding/airflow/airflow/settings.py", line 226, in
> validate_session
> worker_precheck = conf.getboolean('core', 'worker_precheck', fallback=False)
> TypeError: getboolean() got an unexpected keyword argument 'fallback'
> {code}
>
> Caused by:
> [https://github.com/apache/airflow/commit/0d64fd8aac7b93f4143d8f1d3baa4a0e239aba55]
> Related Jira issue:
> https://issues.apache.org/jira/projects/AIRFLOW/issues/AIRFLOW-3742?filter=allissues
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)