You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DAG Processing Processor attempts to parse PPTX (and other non-code based ZIP archives) based on zipfile.is_zipfile design #45718
Dags Processing Manager attempts to parse PPTX files causing it to place corrupted data in the metadata database.
What you think should happen instead?
Ideally it should not be parsing any none-Python files from the /usr/local/airflow/dags directory.
How to reproduce
Copy text from an Airflow DAG code and place it inside a PPTX slide. Upload the PPTX to /usr/local/airflow/dags, wait for errors to appear in dags processing manager logs (may take little bit of time), for reference I have attached what I used and screenshot:
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.
No. The issue is badly diagnosed. Seems like the issue is that spaces are not allowed in preparing the metrics, it has nothing to do with parsing .pptx as zipfile. Can you please create a new issue with better description of this issue, please?
Closing that one as invalid. Ideally also sunmiting a fix with sanitizing the stat name could be done even without raising an issue, so you are most welcome to submit such a fix.
Activity
boring-cyborg commentedon Jan 16, 2025
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.
potiuk commentedon Jan 16, 2025
No. The issue is badly diagnosed. Seems like the issue is that spaces are not allowed in preparing the metrics, it has nothing to do with parsing .pptx as zipfile. Can you please create a new issue with better description of this issue, please?
Closing that one as invalid. Ideally also sunmiting a fix with sanitizing the stat name could be done even without raising an issue, so you are most welcome to submit such a fix.