dstandish opened a new issue, #48765:
URL: https://github.com/apache/airflow/issues/48765
### Body
If sequential executor is configured, an unhelpful error is emitted
It should make it clear that SequentialExecutor is disabled.
Maybe it should even "upgrade" to local executor?
[2025-04-03T12:43:19.920-0700] {cli_parser.py:68} ERROR - Failed to load CLI
commands from executor: ::SequentialExecutor
Traceback (most recent call last):
File
"/Users/dstandish/code/airflow/airflow-core/src/airflow/utils/module_loading.py",
line 35, in import_string
module_path, class_name = dotted_path.rsplit(".", 1)
ValueError: not enough values to unpack (expected 2, got 1)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File
"/Users/dstandish/code/airflow/airflow-core/src/airflow/cli/cli_parser.py",
line 65, in <module>
executor, _ = ExecutorLoader.import_executor_cls(executor_name)
File
"/Users/dstandish/code/airflow/airflow-core/src/airflow/executors/executor_loader.py",
line 291, in import_executor_cls
return import_string(executor_name.module_path),
executor_name.connector_source
File
"/Users/dstandish/code/airflow/airflow-core/src/airflow/utils/module_loading.py",
line 37, in import_string
raise ImportError(f"{dotted_path} doesn't look like a module path")
ImportError: SequentialExecutor doesn't look like a module path
[2025-04-03T12:43:19.926-0700] {cli_parser.py:69} ERROR - Ensure all
dependencies are met and try again. If using a Celery based executor install a
3.3.0+ version of the Celery provider. If using a Kubernetes executor, install
a 7.4.0+ version of the CNCF provider
[2025-04-03T12:43:21.132-0700] {db.py:1282} INFO - Connection successful.
<img width="1348" alt="Image"
src="https://github.com/user-attachments/assets/a684dcfc-c3bc-4da0-b4df-288a653bba0b"
/>
To repro, set `AIRFLOW__CORE__EXECUTOR=SequentialExecutor` and run `airflow
db check`
### Committer
- [x] I acknowledge that I am a maintainer/committer of the Apache Airflow
project.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]