Error handling request
Traceback (most recent call last):
File “/usr/lib/python3.6/site-packages/myusps/init.py”, line 207, in wrapped
return function(*args)
File “/usr/lib/python3.6/site-packages/myusps/init.py”, line 237, in get_packages
response = _get_dashboard(session)
File “/usr/lib/python3.6/site-packages/myusps/init.py”, line 198, in _get_dashboard
raise USPSError(‘expired session’)
myusps.USPSError: expired session
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/lib/python3.6/site-packages/selenium/webdriver/common/service.py”, line 76, in start
stdin=PIPE)
File “/usr/lib/python3.6/subprocess.py”, line 709, in init
restore_signals, start_new_session)
File “/usr/lib/python3.6/subprocess.py”, line 1344, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: ‘chromedriver’: ‘chromedriver’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/lib/python3.6/site-packages/myusps/init.py”, line 170, in _login
driver = _get_driver(session.auth.driver)
File “/usr/lib/python3.6/site-packages/myusps/init.py”, line 149, in _get_driver
return webdriver.Chrome(chrome_options=chrome_options)
File “/usr/lib/python3.6/site-packages/selenium/webdriver/chrome/webdriver.py”, line 68, in init
self.service.start()
File “/usr/lib/python3.6/site-packages/selenium/webdriver/common/service.py”, line 83, in start
os.path.basename(self.path), self.start_error_message)
selenium.common.exceptions.WebDriverException: Message: ‘chromedriver’ executable needs to be in PATH. Please see Sign in - Google Accounts
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/lib/python3.6/site-packages/aiohttp/web_protocol.py”, line 381, in start
resp = await self._request_handler(request)
File “/usr/lib/python3.6/site-packages/aiohttp/web_app.py”, line 322, in _handle
resp = await handler(request)
File “/usr/lib/python3.6/site-packages/aiohttp/web_middlewares.py”, line 88, in impl
return await handler(request)
File “/usr/lib/python3.6/site-packages/homeassistant/components/http/static.py”, line 68, in staticresource_middleware
return await handler(request)
File “/usr/lib/python3.6/site-packages/homeassistant/components/http/real_ip.py”, line 27, in real_ip_middleware
return await handler(request)
File “/usr/lib/python3.6/site-packages/homeassistant/components/http/ban.py”, line 68, in ban_middleware
return await handler(request)
File “/usr/lib/python3.6/site-packages/homeassistant/components/http/auth.py”, line 52, in auth_middleware
return await handler(request)
File “/usr/lib/python3.6/site-packages/homeassistant/components/http/view.py”, line 104, in handle
result = await result
File “/usr/lib/python3.6/site-packages/homeassistant/components/camera/init.py”, line 379, in get
response = yield from self.handle(request, camera)
File “/usr/lib/python3.6/site-packages/homeassistant/components/camera/init.py”, line 399, in handle
image = yield from camera.async_camera_image()
File “/usr/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/lib/python3.6/site-packages/homeassistant/components/camera/usps.py”, line 49, in camera_image
self._usps.update()
File “/usr/lib/python3.6/site-packages/homeassistant/util/init.py”, line 319, in wrapper
result = method(*args, **kwargs)
File “/usr/lib/python3.6/site-packages/homeassistant/components/usps.py”, line 87, in update
self.packages = myusps.get_packages(self.session)
File “/usr/lib/python3.6/site-packages/myusps/init.py”, line 210, in wrapped
_login(args[0])
File “/usr/lib/python3.6/site-packages/myusps/init.py”, line 172, in _login
raise USPSError(str(exception))
myusps.USPSError: Message: ‘chromedriver’ executable needs to be in PATH. Please see Sign in - Google Accounts