GitHub user dosubot[bot] added a comment to the discussion: Can't diplay 
Thumbnail dashboard and chart?

<!-- Answer -->
To resolve the "ExecutorNotFoundError: Scheduled task executor not found" 
error, ensure that the `THUMBNAIL_EXECUTORS` configuration in your 
`superset_config.py` is correctly set up. This error typically occurs due to a 
misconfiguration of the executors used for thumbnail caching tasks.

1. **Verify `THUMBNAIL_EXECUTORS` Configuration**: Check that the 
`THUMBNAIL_EXECUTORS` setting is correctly defined in your configuration file. 
The default configuration is `[ExecutorType.CURRENT_USER]` 
<sup>[[1]](https://github.com/apache/superset/blob/master/superset/config.py)</sup>.

2. **Check Executor Availability**: Ensure that the executors you have defined 
are available and correctly implemented. The `get_executor` function should be 
able to fetch the executor based on your configuration.

If the configuration is correct and the error persists, review the 
implementation of the `get_executor` function to ensure it aligns with your 
setup 
<sup>[[2]](https://github.com/apache/superset/blob/master/superset/tasks/cache.py)</sup><sup>[[3]](https://github.com/apache/superset/blob/master/superset/tasks/thumbnails.py)</sup>.


<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*

---
<sup>Help Dosu learn! Give it feedback: [Great 
Response](https://app.dosu.dev/response-feedback/c2139309-3ae0-405e-afb9-cc144c563ed0?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/c2139309-3ae0-405e-afb9-cc144c563ed0?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/c2139309-3ae0-405e-afb9-cc144c563ed0?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/c2139309-3ae0-405e-afb9-cc144c563ed0?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/c2139309-3ae0-405e-afb9-cc144c563ed0?feedback_type=hallucination)
 | [Bug 
Report](https://app.dosu.dev/response-feedback/c2139309-3ae0-405e-afb9-cc144c563ed0?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/c2139309-3ae0-405e-afb9-cc144c563ed0?feedback_type=other)</sup>


GitHub link: 
https://github.com/apache/superset/discussions/32812#discussioncomment-12601820

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to