Airflow Scheduler Error with LocalExecutor: 'QueuedLocalWorker' object has no attribute 'wrapper' #45235
Open
1 of 2 tasks
Labels
area:core
area:Executors-core
LocalExecutor & SequentialExecutor
kind:bug
This is a clearly a bug
needs-triage
label for new issues that we didn't triage yet
Apache Airflow version
2.10.4
If "Other Airflow 2 version" selected, which one?
No response
What happened?
Description:
While using Airflow with LocalExecutor, the scheduler fails to run and raises the following error:
Error Traceback:
scheduler | AttributeError: 'QueuedLocalWorker' object has no attribute 'wrapper'
scheduler | Traceback (most recent call last):
scheduler | File "", line 1, in
scheduler | File "/Users/xggz/anaconda3/envs/airflow-project/lib/python3.9/multiprocessing/spawn.py", line 116, in spawn_main
scheduler | exitcode = _main(fd, parent_sentinel)
scheduler | File "/Users/xggz/anaconda3/envs/airflow-project/lib/python3.9/multiprocessing/spawn.py", line 126, in _main
What you think should happen instead?
No response
How to reproduce
Set up Airflow with LocalExecutor in the configuration.
Start the scheduler using the airflow scheduler command.
Observe the scheduler failing to run and the above error being thrown.
Operating System
macos intel
Versions of Apache Airflow Providers
No response
Deployment
Virtualenv installation
Deployment details
No response
Anything else?
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: