GitHub user shalom-t added a comment to the discussion: Alerts & Reports fail 
on ARM64: Selenium cannot obtain Chrome/Firefox driver (“Unsupported 
platform/architecture linux/aarch64”)

Hi i did tried by adding to values.yaml the following:
```
configOverrides:
  superset_config: |
    # Enable Playwright for screenshots (must be set in config, not as env var)
    SUPERSET_FEATURE_PLAYWRIGHT_REPORTS_AND_THUMBNAILS = True
    
    # Base URL for screenshots (used by both Selenium and Playwright)
    WEBDRIVER_BASEURL = env("WEBDRIVER_BASEURL", "http://localhost:8088";)
    WEBDRIVER_TYPE = "chrome"
```

I still get the following issue:
```
[2025-12-14 11:11:01,087: ERROR/ForkPoolWorker-1] A downstream exception 
occurred while generating a report: e74f3def-78cf-4fd8-83da-368109a166c5. 
Failed taking a screenshot Message: Unable to obtain driver for chrome; For 
documentation on this error, please visit: 
https://www.selenium.dev/documentation/webdriver/troubleshooting/errors/driver_location
Traceback (most recent call last):
  File 
"/app/.venv/lib/python3.10/site-packages/selenium/webdriver/common/driver_finder.py",
 line 67, in _binary_paths
    output = SeleniumManager().binary_paths(self._to_args())
  File 
"/app/.venv/lib/python3.10/site-packages/selenium/webdriver/common/selenium_manager.py",
 line 47, in binary_paths
    args = [str(self._get_binary())] + args
  File 
"/app/.venv/lib/python3.10/site-packages/selenium/webdriver/common/selenium_manager.py",
 line 94, in _get_binary
    raise WebDriverException(f"Unsupported platform/architecture combination: 
{sys.platform}/{arch}")
selenium.common.exceptions.WebDriverException: Message: Unsupported 
platform/architecture combination: linux/aarch64


The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/app/superset/commands/report/execute.py", line 375, in _get_screenshots
    if imge := screenshot.get_screenshot(user=user):
  File "/app/superset/utils/screenshots.py", line 179, in get_screenshot
    self.screenshot = driver.get_screenshot(self.url, self.element, user)
  File "/app/superset/utils/webdriver.py", line 463, in get_screenshot
    driver = self.auth(user)
  File "/app/superset/utils/webdriver.py", line 387, in auth
    driver = self.create()
  File "/app/superset/utils/webdriver.py", line 384, in create
    return driver_class(**kwargs)
  File 
"/app/.venv/lib/python3.10/site-packages/selenium/webdriver/chrome/webdriver.py",
 line 45, in __init__
    super().__init__(
  File 
"/app/.venv/lib/python3.10/site-packages/selenium/webdriver/chromium/webdriver.py",
 line 51, in __init__
    if finder.get_browser_path():
  File 
"/app/.venv/lib/python3.10/site-packages/selenium/webdriver/common/driver_finder.py",
 line 47, in get_browser_path
    return self._binary_paths()["browser_path"]
  File 
"/app/.venv/lib/python3.10/site-packages/selenium/webdriver/common/driver_finder.py",
 line 78, in _binary_paths
    raise NoSuchDriverException(msg) from err
selenium.common.exceptions.NoSuchDriverException: Message: Unable to obtain 
driver for chrome; For documentation on this error, please visit: 
https://www.selenium.dev/documentation/webdriver/troubleshooting/errors/driver_location


The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/app/superset/tasks/scheduler.py", line 125, in execute
    ).run()
  File "/app/superset/utils/decorators.py", line 267, in wrapped
    return on_error(ex)
  File "/app/superset/utils/decorators.py", line 232, in on_error
    raise ex
  File "/app/superset/utils/decorators.py", line 260, in wrapped
    result = func(*args, **kwargs)
  File "/app/superset/commands/report/execute.py", line 956, in run
    ).run()
  File "/app/superset/utils/decorators.py", line 256, in wrapped
    return func(*args, **kwargs)
  File "/app/superset/commands/report/execute.py", line 917, in run
    ).next()
  File "/app/superset/commands/report/execute.py", line 746, in next
    self.send()
  File "/app/superset/commands/report/execute.py", line 644, in send
    notification_content = self._get_notification_content()
  File "/app/superset/commands/report/execute.py", line 529, in 
_get_notification_content
    pdf_data = self._get_pdf()
  File "/app/superset/commands/report/execute.py", line 393, in _get_pdf
    screenshots = self._get_screenshots()
  File "/app/superset/commands/report/execute.py", line 381, in _get_screenshots
    raise ReportScheduleScreenshotFailedError(
superset.commands.report.exceptions.ReportScheduleScreenshotFailedError: Failed 
taking a screenshot Message: Unable to obtain driver for chrome; For 
documentation on this error, please visit: 
https://www.selenium.dev/documentation/webdriver/troubleshooting/errors/driver_location

[2025-12-14 11:12:00,995: ERROR/ForkPoolWorker-3] A downstream exception 
occurred while generating a report: 2f37b6c6-0ee6-49c9-9b93-20c460d57a81. 
Failed taking a screenshot Message: Unable to obtain driver for chrome; For 
documentation on this error, please visit: 
https://www.selenium.dev/documentation/webdriver/troubleshooting/errors/driver_location
Traceback (most recent call last):
  File 
"/app/.venv/lib/python3.10/site-packages/selenium/webdriver/common/driver_finder.py",
 line 67, in _binary_paths
    output = SeleniumManager().binary_paths(self._to_args())
  File 
"/app/.venv/lib/python3.10/site-packages/selenium/webdriver/common/selenium_manager.py",
 line 47, in binary_paths
    args = [str(self._get_binary())] + args
  File 
"/app/.venv/lib/python3.10/site-packages/selenium/webdriver/common/selenium_manager.py",
 line 94, in _get_binary
    raise WebDriverException(f"Unsupported platform/architecture combination: 
{sys.platform}/{arch}")
selenium.common.exceptions.WebDriverException: Message: Unsupported 
platform/architecture combination: linux/aarch64


The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/app/superset/commands/report/execute.py", line 375, in _get_screenshots
    if imge := screenshot.get_screenshot(user=user):
  File "/app/superset/utils/screenshots.py", line 179, in get_screenshot
    self.screenshot = driver.get_screenshot(self.url, self.element, user)
  File "/app/superset/utils/webdriver.py", line 463, in get_screenshot
    driver = self.auth(user)
  File "/app/superset/utils/webdriver.py", line 387, in auth
    driver = self.create()
  File "/app/superset/utils/webdriver.py", line 384, in create
    return driver_class(**kwargs)
  File 
"/app/.venv/lib/python3.10/site-packages/selenium/webdriver/chrome/webdriver.py",
 line 45, in __init__
    super().__init__(
  File 
"/app/.venv/lib/python3.10/site-packages/selenium/webdriver/chromium/webdriver.py",
 line 51, in __init__
    if finder.get_browser_path():
  File 
"/app/.venv/lib/python3.10/site-packages/selenium/webdriver/common/driver_finder.py",
 line 47, in get_browser_path
    return self._binary_paths()["browser_path"]
  File 
"/app/.venv/lib/python3.10/site-packages/selenium/webdriver/common/driver_finder.py",
 line 78, in _binary_paths
    raise NoSuchDriverException(msg) from err
selenium.common.exceptions.NoSuchDriverException: Message: Unable to obtain 
driver for chrome; For documentation on this error, please visit: 
https://www.selenium.dev/documentation/webdriver/troubleshooting/errors/driver_location


The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/app/superset/tasks/scheduler.py", line 125, in execute
    ).run()
  File "/app/superset/utils/decorators.py", line 267, in wrapped
    return on_error(ex)
  File "/app/superset/utils/decorators.py", line 232, in on_error
    raise ex
  File "/app/superset/utils/decorators.py", line 260, in wrapped
    result = func(*args, **kwargs)
  File "/app/superset/commands/report/execute.py", line 956, in run
    ).run()
  File "/app/superset/utils/decorators.py", line 256, in wrapped
    return func(*args, **kwargs)
  File "/app/superset/commands/report/execute.py", line 917, in run
    ).next()
  File "/app/superset/commands/report/execute.py", line 746, in next
    self.send()
  File "/app/superset/commands/report/execute.py", line 644, in send
    notification_content = self._get_notification_content()
  File "/app/superset/commands/report/execute.py", line 529, in 
_get_notification_content
    pdf_data = self._get_pdf()
  File "/app/superset/commands/report/execute.py", line 393, in _get_pdf
    screenshots = self._get_screenshots()
  File "/app/superset/commands/report/execute.py", line 381, in _get_screenshots
    raise ReportScheduleScreenshotFailedError(
superset.commands.report.exceptions.ReportScheduleScreenshotFailedError: Failed 
taking a screenshot Message: Unable to obtain driver for chrome; For 
documentation on this error, please visit: 
https://www.selenium.dev/documentation/webdriver/troubleshooting/errors/driver_location
```

Im doing something wrong ?
Can someone help with this?

GitHub link: 
https://github.com/apache/superset/discussions/36457#discussioncomment-15250855

----
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