Your message dated Thu, 5 Mar 2026 18:51:21 +0200
with message-id <[email protected]>
and subject line Re: Bug#1110721: Hints to solve the problem
has caused the Debian Bug report #1110721,
regarding python3-selenium: {sys.platform}/{arch}")
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1110721: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1110721
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-selenium
Version: 4.24.4+dfsg-1
Severity: normal
X-Debbugs-Cc: selenium.common.exceptions.WebDriverException: Message: 
Unsupported platform/architecture combination: linux/aarch64

I installed the newest geckodriver for ARM64 (0.36) and the
python3-selenium.

There seems to be a problem with Firefox

raceback (most recent call last):
  File 
"/usr/lib/python3/dist-packages/selenium/webdriver/common/driver_finder.py", 
line 67, in _binary_paths
    output = SeleniumManager().binary_paths(self._to_args())
  File 
"/usr/lib/python3/dist-packages/selenium/webdriver/common/selenium_manager.py", 
line 47, in binary_paths
    args = [str(self._get_binary())] + args
                ~~~~~~~~~~~~~~~~^^
  File 
"/usr/lib/python3/dist-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 "/home/tkoeck/bin/millionenklick_web.de.py", line 33, in <module>
    driver = webdriver.Firefox(options = firefox_options)
  File 
"/usr/lib/python3/dist-packages/selenium/webdriver/firefox/webdriver.py", line 
57, in __init__
    if finder.get_browser_path():
       ~~~~~~~~~~~~~~~~~~~~~~~^^
  File 
"/usr/lib/python3/dist-packages/selenium/webdriver/common/driver_finder.py", 
line 47, in get_browser_path
    return self._binary_paths()["browser_path"]
           ~~~~~~~~~~~~~~~~~~^^
  File 
"/usr/lib/python3/dist-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 firefox; For documentation on this error, please visit: 
https://www.selenium.dev/documentation/webdriver/troubleshooting/errors/driver_location

Greetings
Tobias



-- System Information:
Debian Release: 13.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'proposed-updates'), (500, 'stable')
Architecture: arm64 (aarch64)

Kernel: Linux 6.12.38+deb13-arm64 (SMP w/4 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python3-selenium depends on:
ii  python3                    3.13.5-1
ii  python3-certifi            2025.1.31+ds-1
ii  python3-trio               0.29.0-1
ii  python3-trio-websocket     0.12.2-1
ii  python3-typing-extensions  4.13.2-1
ii  python3-urllib3            2.3.0-3
ii  python3-websocket          1.8.0-2

Versions of packages python3-selenium recommends:
pn  chromium-driver  <none>

Versions of packages python3-selenium suggests:
pn  python-selenium-doc  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Hello Tobias,

Debian isn't providing the needed selenium-manager in any package.

I've put some related information about the reason and a poetnetial hint
about to be able to use paython3-selenium anyway in the also included
README file.

$ less /usr/share/doc/python3-selenium/README.Debian | tail -n 40

python3-selenium >= 4.11.2+dfsg1 and Selenium Manager
-----------------------------------------------------

Upstream restructured the source code so the Selenium Manager is now needed
to act as a middle layer which will search for available driver interfaces.

Selenium Manager is a binary tool generated using Rust that provides
automated driver management for Google Chrome, Chromium, Mozilla Firefox,
and Microsoft Edge.

At the time of writing it's not packaged for Debian. In order to make
python3-selenium usable with this new circumstance you will need to adjust your
source in a way to choose the used driver directly and skip the calling of the
manager code in Selenium. Please have a look at the following example how to
archieve this.

  -----%<----

  # other includes
  from selenium.webdriver.chrome.service import Service as ChromeService

  # potential other existing python code in your application
  # to prepare your setup

  # set the to used driver, here as example for the chrome-driver
  service = ChromeService(executable_path="/usr/bin/chromedriver")
  # give the chosen driver as option to the intatioation of Chrome()
  driver = webdriver.Chrome(options = chrome_options, service = service)

  # more code potentially comes here

  ----->%----

You might want to look at the autopkgtest for python-selenium to see the
adaption of the manually setup for the driver to use.

https://sources.debian.org/src/python-selenium/4.11.2%2Bdfsg-1/debian/tests/test-chromium/

 -- Carsten Schoenert <[email protected]>  Fri, 1 Sep 2023 21:33:09 +0530


The adaption of this into an arm64 system is straightforward.

More details about the current situation can be found also on
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1052460

Regards
Carsten


Am Sun, Aug 10, 2025 at 06:00:58PM +0200 schrieb Tobias Köck:
> The check can be overwritten/ignored with these lines.
> 
> ---
> from selenium.webdriver.firefox.service import Service
> from selenium.webdriver.firefox.options import Options
> 
> geckodriver_path = "/usr/local/bin/geckodriver"  # Adjust to your path
> service = Service(geckodriver_path)
> driver = webdriver.Firefox(service=service, options=firefox_options)
> ---
> 
> The right ARM64 geckodriver is in the $PATH
> 
> /usr/local/bin/geckodriver
> 
> so it should work. In Debian 12 ARM64 it worked without these additional
> adjustments.
> 
> So there appears to be an error or a change in the python3-selenium package
> in relation to Debian 13. Just to let you know.
> 
> Greetings
> Tobias

--- End Message ---

Reply via email to