You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have Chromedriver & Python 3.10 already installed, still within the exception an attempt is made to download the latest browser for the platform (macOS 14.2.1 (23C71)) fails
INFO:discogs_alert.loop:Exception: this might be a real exception, but we're continuing anyway
Traceback (most recent call last):
File "/Users/USERNAME/Desktop/code projects/discogs_alert/discogs_alert/discogs_alert/client.py", line 133, in get_driver_path
return subprocess.check_output(["which", "chromedriver"]).decode().strip()
File "/Users/USERNAME/.pyenv/versions/3.10.13/lib/python3.10/subprocess.py", line 421, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/Users/USERNAME/.pyenv/versions/3.10.13/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['which', 'chromedriver']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/USERNAME/Desktop/code projects/discogs_alert/discogs_alert/discogs_alert/loop.py", line 63, in loop
client_anon = da_client.AnonClient(user_agent)
File "/Users/USERNAME/Desktop/code projects/discogs_alert/discogs_alert/discogs_alert/client.py", line 111, in __init__
service = ChromiumService(self.get_driver_path(), log_path=log_path)
File "/Users/USERNAME/Desktop/code projects/discogs_alert/discogs_alert/discogs_alert/client.py", line 136, in get_driver_path
return ChromeDriverManager().install()
File "/Users/USERNAME/Desktop/code projects/discogs_alert/discogs_alert/.venv/lib/python3.10/site-packages/webdriver_manager/chrome.py", line 39, in install
driver_path = self._get_driver_binary_path(self.driver)
File "/Users/USERNAME/Desktop/code projects/discogs_alert/discogs_alert/.venv/lib/python3.10/site-packages/webdriver_manager/core/manager.py", line 33, in _get_driver_binary_path
file = self._download_manager.download_file(driver.get_driver_download_url())
File "/Users/USERNAME/Desktop/code projects/discogs_alert/discogs_alert/.venv/lib/python3.10/site-packages/webdriver_manager/drivers/chrome.py", line 59, in get_driver_download_url
modern_version_url = self.get_url_for_version_and_platform(driver_version_to_download, os_type)
File "/Users/USERNAME/Desktop/code projects/discogs_alert/discogs_alert/.venv/lib/python3.10/site-packages/webdriver_manager/drivers/chrome.py", line 94, in get_url_for_version_and_platform
raise Exception(f"No such driver version {browser_version} for {platform}")
Exception: No such driver version 120.0.6099.216 for mac-arm64
The text was updated successfully, but these errors were encountered:
jankiethe
changed the title
Error when client is trying to download latest browser driver_version_to_download, also when installed already
Error when client is trying to download latest driver_version_to_download, also when installed already
Jan 16, 2024
Hey @jankiethe, sorry for the very slow reply 😬. I recall seeing this error a while ago as well, but I don't see it anymore... I think that I hadn't created a new version since the various bugs were fixed... Do you mind testing with the latest version of dicsogs_alert (0.0.20) (i.e. after running "pip install --upgrade discogs_alert"). I'll wait to hear from you before resolving the issue.
The text was updated successfully, but these errors were encountered: