Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Airflow Scheduler Error with LocalExecutor: 'QueuedLocalWorker' object has no attribute 'wrapper' #45235

Open
1 of 2 tasks
xggz opened this issue Dec 27, 2024 · 1 comment
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

Comments

@xggz
Copy link

xggz commented Dec 27, 2024

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?

  • Yes I am willing to submit a PR!

Code of Conduct

@xggz xggz added area:core kind:bug This is a clearly a bug needs-triage label for new issues that we didn't triage yet labels Dec 27, 2024
Copy link

boring-cyborg bot commented Dec 27, 2024

Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.

@dosubot dosubot bot added the area:Executors-core LocalExecutor & SequentialExecutor label Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

1 participant