Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ChromeDriver - any advice on how to debug? #60

Open
dapper-mapper opened this issue Nov 23, 2019 · 2 comments
Open

ChromeDriver - any advice on how to debug? #60

dapper-mapper opened this issue Nov 23, 2019 · 2 comments

Comments

@dapper-mapper
Copy link

DevTools listening on ws://127.0.0.1:62883/devtools/browser/831ea98e-4d78-41f2-bf1f-11140f937c3e
Traceback (most recent call last):
  File "C:\Users\jonat\Anaconda3\envs\gee\Scripts\geebam-script.py", line 11, in <module>
    load_entry_point('geebam', 'console_scripts', 'geebam')()
  File "c:\users\jonat\gee_asset_manager\geebam.py", line 150, in main
    args.func(args)
  File "c:\users\jonat\gee_asset_manager\geebam.py", line 70, in upload_from_parser
    tolerate_assets_already_exist=args.tolerate_assets_already_exist)
  File "c:\users\jonat\gee_asset_manager\gee_asset_manager\batch_uploader.py", line 83, in upload
    headless=headless)
  File "c:\users\jonat\gee_asset_manager\gee_asset_manager\session.py", line 48, in get_google_session
    driver = webdriver.Chrome(options=options)
  File "C:\Users\jonat\Anaconda3\envs\gee\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 81, in __init__
    desired_capabilities=desired_capabilities)
  File "C:\Users\jonat\Anaconda3\envs\gee\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 157, in __init__
    self.start_session(capabilities, browser_profile)
  File "C:\Users\jonat\Anaconda3\envs\gee\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 252, in start_session
    response = self.execute(Command.NEW_SESSION, parameters)
  File "C:\Users\jonat\Anaconda3\envs\gee\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
    self.error_handler.check_response(response)
  File "C:\Users\jonat\Anaconda3\envs\gee\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 79
@dapper-mapper
Copy link
Author

Downloaded geebam today but am running into the above error message after entering my password. Any advice on how to debug this?

@kkraoj
Copy link

kkraoj commented Mar 22, 2020

Your chromedriver is incompatible with your current Chrome browser.
Download the correct chromedriver (in your case version 79) from https://chromedriver.chromium.org/downloads and save the chromedriver.exe file to your
"chromedriver_binary" directory (that directory is usually found in "Lib/site_packages" in your python environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants