9b / google-alerts

Python library for automating the administration of Google Alerts.

Home Page:https://pypi.org/project/google-alerts/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OSX - Unable to seed / login

gregkuhnert opened this issue · comments

Traceback during attempt to seed
New install on an OSX High Sierra computer, running latest Chrome. This generates a traceback during the SEED step.

To Reproduce
Steps to reproduce the behavior:

  1. pip install google-alerts
  2. pip install selenium
  3. pip install chromedriver
  4. google-alerts setup --email 'REDACTED' --password 'REDACTED'
  5. google-alerts seed --driver /Library/Frameworks/Python.framework/Versions/3.6/chromedriver-Darwin --timeout 60
  6. See error

Expected behavior
No traceback error

Screenshots

google-alerts seed --driver /Library/Frameworks/Python.framework/Versions/3.6/chromedriver-Darwin --timeout 60
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.6/bin/google-alerts", line 11, in <module>
    load_entry_point('google-alerts==0.2.1', 'console_scripts', 'google-alerts')()
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/google_alerts/cli/manage.py", line 121, in main
    driver.get(ga.LOGIN_URL)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/selenium/webdriver/remote/webdriver.py", line 333, in get
    self.execute(Command.GET, {'url': url})
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
    self.error_handler.check_response(response)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: cannot determine loading status
from unknown error: missing or invalid 'entry.level'
  (Session info: chrome=75.0.3770.100)
  (Driver info: chromedriver=2.24.417412,platform=Mac OS X 10.13.6 x86_64)

Desktop (please complete the following information):

  • OS: [OSX High Sierra 10.13.6]
  • Browser [chrome]
  • Version [75.0.3770.100]

Additional context
Add any other context about the problem here.

Does not work on Windows either... Same result

Solving my own issue - The challenge is that pip install of chrome driver installs it alright, but old out of date version. Some clear instructions would be useful for someone trying to play with this for the first time :)