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
02:27:29 INFO app::do_google_login: Sleeping 2 seconds.
02:27:29 DEBUG app::sleep: Sleeping 2.85
02:27:42 ERROR app::main: Message: Unable to locate element: [name="password"]
Traceback (most recent call last):
File "/app/app.py", line 344, in download_images
self.load_cookies()
File "/app/app.py", line 112, in load_cookies
with open(self.COOKIE_FILE, "rb") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'state/cookies.pkl'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/app/app.py", line 381, in main
client.download_images()
File "/app/app.py", line 353, in download_images
self.do_google_login()
File "/app/app.py", line 207, in do_google_login
password = self.br.find_element_by_name("password")
File "/usr/local/lib/python3.4/dist-packages/selenium/webdriver/remote/webdriver.py", line 487, in find_element_by_name
return self.find_element(by=By.NAME, value=name)
File "/usr/local/lib/python3.4/dist-packages/selenium/webdriver/remote/webdriver.py", line 955, in find_element
'value': value})['value']
File "/usr/local/lib/python3.4/dist-packages/selenium/webdriver/remote/webdriver.py", line 312, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python3.4/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [name="password"]
02:27:42 INFO app::__exit__: Shutting down browser
02:27:42 INFO app::__exit__: Shutting down xfvb display
The text was updated successfully, but these errors were encountered:
I fixed this in my branch for anyone who runs into this: BenV@526e4c0
I took some shortcuts to just use 2FA via push notifications instead of entering the 2FA code since that is the flow used on my phone, so your mileage may vary.
The text was updated successfully, but these errors were encountered: