dosubot[bot] commented on issue #34849: URL: https://github.com/apache/superset/issues/34849#issuecomment-3222622451
<!-- Answer --> Superset v5 fails to generate screenshots for reports on ARM64 because the Docker image no longer includes geckodriver, and Selenium Manager (used by Selenium 4.6+) does not support ARM64 for Firefox/geckodriver detection, resulting in the "Unsupported platform/architecture combination: linux/aarch64" error. This is not handled by Superset itself but is an upstream issue with Selenium and packaging [source](https://github.com/apache/superset/issues/34025). To restore screenshot/report functionality, you have two main options: 1. **Extend your Docker image to manually install geckodriver for ARM64**, as you did in Superset v4. This workaround is still valid for v5, since Superset relies on the driver being present in the container [source](https://github.com/apache/superset/issues/34025). 2. **Switch to the Playwright backend for screenshots**, which is more robust in containerized environments and supports ARM64. Enable the `PLAYWRIGHT_REPORTS_AND_THUMBNAILS` feature flag and install the `playwright` Python package. This uses Chromium instead of Firefox and avoids the Selenium/geckodriver issue [source](https://github.com/apache/superset/issues/34774). There is no ARM64-specific fallback or configuration in Superset v5 for Selenium/geckodriver, so compatibility depends on the underlying driver binaries and Selenium's detection logic [source](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset/utils/webdriver.py). Let me know if you need details on configuring Playwright or patching your Dockerfile for geckodriver! <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/82377fcd-a6bf-483d-8222-4acdfbb17bb9?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/82377fcd-a6bf-483d-8222-4acdfbb17bb9?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/82377fcd-a6bf-483d-8222-4acdfbb17bb9?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/82377fcd-a6bf-483d-8222-4acdfbb17bb9?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/82377fcd-a6bf-483d-8222-4acdfbb17bb9?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/82377fcd-a6bf-483d-8222-4acdfbb17bb9?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/82377fcd-a6bf-483d-8222-4acdfbb17bb9?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=githu b) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/34849) -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
