-
Apache Airflow version2.6.1 What happenedScheduler endlessly prints:
It is deployed without zipped DAGS as descibed in #31039 What you think should happen insteadNo response How to reproduceI can not provide minimal code to reproduce. Operating Systemlinux/amd64 Versions of Apache Airflow ProvidersNo response DeploymentDocker-Compose Deployment detailssource docker image: apache/airflow:2.6.1-python3.10 Anything elseNo response Are you willing to submit PR?
Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
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. |
Beta Was this translation helpful? Give feedback.
-
Yes. Your DAG code contains null bytes. Probably you have a file that is not ignored with .airflowignore in DAG folder - most likely a binary file (zip?) with .py extension. remove those. You can also try to remove all files, and add them one-by-one (or better bisect and add half files see if fail, when do, remove them and add half of those etc. This will allow you to pin-point the culprit quickly. |
Beta Was this translation helpful? Give feedback.
-
@potiuk Thanks for the tip, but I still struggled to find the offending file. Should I submit this as a pull request |
Beta Was this translation helpful? Give feedback.
Yes. Your DAG code contains null bytes. Probably you have a file that is not ignored with .airflowignore in DAG folder - most likely a binary file (zip?) with .py extension. remove those. You can also try to remove all files, and add them one-by-one (or better bisect and add half files see if fail, when do, remove them and add half of those etc. This will allow you to pin-point the culprit quickly.