You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "dstandish (via GitHub)" <gi...@apache.org> on 2025/04/03 19:47:08 UTC

[I] Configuring SequentialExecutor results in very non-obvious error [airflow]

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: commits-unsubscribe@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Configuring SequentialExecutor results in very non-obvious error [airflow]

Posted by "ashb (via GitHub)" <gi...@apache.org>.
ashb commented on issue #48765:
URL: https://github.com/apache/airflow/issues/48765#issuecomment-2776792474

   Oh this is made worse by the fact that the default config file from 2.x has "SequentialExecutor" stamped in it


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Configuring SequentialExecutor results in very non-obvious error [airflow]

Posted by "sunank200 (via GitHub)" <gi...@apache.org>.
sunank200 commented on issue #48765:
URL: https://github.com/apache/airflow/issues/48765#issuecomment-2779114898

   @vikramkoka I think the mapping for the `SequentialExecutor` was missed. I have added the change in this [PR 48800](https://github.com/apache/airflow/pull/48800)


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Configuring SequentialExecutor results in very non-obvious error [airflow]

Posted by "phanikumv (via GitHub)" <gi...@apache.org>.
phanikumv closed issue #48765: Configuring SequentialExecutor results in very non-obvious error
URL: https://github.com/apache/airflow/issues/48765


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Configuring SequentialExecutor results in very non-obvious error [airflow]

Posted by "vikramkoka (via GitHub)" <gi...@apache.org>.
vikramkoka commented on issue #48765:
URL: https://github.com/apache/airflow/issues/48765#issuecomment-2777391895

   I ran into this as part of beta4 and expected "config update" to take care of this. 
   cc: @sunank200 


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Configuring SequentialExecutor results in very non-obvious error [airflow]

Posted by "dstandish (via GitHub)" <gi...@apache.org>.
dstandish commented on issue #48765:
URL: https://github.com/apache/airflow/issues/48765#issuecomment-2776771288

   attn @phanikumv @vatsrahul1001 


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org