-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Closed
Labels
area:corekind:bugThis is a clearly a bugThis is a clearly a bugneeds-triagelabel for new issues that we didn't triage yetlabel for new issues that we didn't triage yet
Description
Apache Airflow version
3.1.2
If "Other Airflow 2/3 version" selected, which one?
No response
What happened?
The format string "% name=%s version=%s lock_file=%s" is missing a format specifier after the first % (should be %s), causing a mismatch between the format string and the number of parameters. Four parameters are provided (msg, bundle_name, version, lock_file_path), but the first % in the format string has no corresponding format specifier.
airflow/airflow-core/src/airflow/dag_processing/bundles/base.py
Lines 414 to 421 in daf3dee
| def _log_exc(self, msg): | |
| log.exception( | |
| "% name=%s version=%s lock_file=%s", | |
| msg, | |
| self.bundle_name, | |
| self.version, | |
| self.lock_file_path, | |
| ) |
What you think should happen instead?
No response
How to reproduce
airflow/airflow-core/src/airflow/dag_processing/bundles/base.py
Lines 414 to 421 in daf3dee
| def _log_exc(self, msg): | |
| log.exception( | |
| "% name=%s version=%s lock_file=%s", | |
| msg, | |
| self.bundle_name, | |
| self.version, | |
| self.lock_file_path, | |
| ) |
Operating System
macOS
Versions of Apache Airflow Providers
No response
Deployment
Official Apache Airflow Helm Chart
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
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
area:corekind:bugThis is a clearly a bugThis is a clearly a bugneeds-triagelabel for new issues that we didn't triage yetlabel for new issues that we didn't triage yet