potiuk commented on pull request #13057:
URL: https://github.com/apache/airflow/pull/13057#issuecomment-744455560
The latest fixup works for Local Executor :+1:
Still when I set `RFLOW__CORE__EXECUTE_TASKS_NEW_PYTHON_INTERPRETER=True` I
got:
```
ERROR - Could not write logs to
s3://test-amazon-logging/airflowlogs/example_bash_operator/run_after_loop/2020-12-14T13:45:22.539172+00:00/1.log
Traceback (most recent call last):
File
"/usr/local/lib/python3.8/site-packages/airflow/providers/amazon/aws/log/s3_task_handler.py",
line 201, in s3_write
self.hook.load_string(
File
"/usr/local/lib/python3.8/site-packages/airflow/providers/amazon/aws/hooks/s3.py",
line 57, in wrapper
connection = self.get_connection(self.aws_conn_id)
File "/usr/local/lib/python3.8/site-packages/airflow/hooks/base.py", line
63, in get_connection
conn = Connection.get_connection_from_secrets(conn_id)
File
"/usr/local/lib/python3.8/site-packages/airflow/models/connection.py", line
351, in get_connection_from_secrets
conn = secrets_backend.get_connection(conn_id=conn_id)
File "/usr/local/lib/python3.8/site-packages/airflow/utils/session.py",
line 64, in wrapper
with create_session() as session:
File "/usr/local/lib/python3.8/contextlib.py", line 113, in __enter__
return next(self.gen)
File "/usr/local/lib/python3.8/site-packages/airflow/utils/session.py",
line 29, in create_session
session = settings.Session()
TypeError: 'NoneType' object is not callable
```
----------------------------------------------------------------
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:
[email protected]