USPS Sensor not working after installation reset on HASSIO

I have been having issues loading USPS back up after a recent hardware failure had me setting everything back up from scratch. I also tried creating another pickle file after removing it in an attempt to reset as in previous instances.

I am currently running 0.60 but have had this issue since 0.53. Also i am on HASSIO so any suggestions on how to reset the component would be appreciated.

2017-12-20 21:22:03 ERROR (MainThread) [homeassistant.setup] Error during setup of component usps
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/homeassistant/setup.py", line 193, in _async_setup_component
    component.setup, hass, processed_config)
  File "/usr/lib/python3.6/asyncio/futures.py", line 332, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.6/asyncio/tasks.py", line 250, in _wakeup
    future.result()
  File "/usr/lib/python3.6/asyncio/futures.py", line 245, in result
    raise self._exception
  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/usps.py", line 51, in setup
    cookie_path=cookie, cache_path=cache)
  File "/usr/lib/python3.6/site-packages/myusps/__init__.py", line 294, in get_session
    session.cookies = _load_cookies(cookie_path)
  File "/usr/lib/python3.6/site-packages/myusps/__init__.py", line 50, in _load_cookies
    return pickle.load(handle)
EOFError: Ran out of input
2017-12-20 21:22:03 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of camera.usps. Setup failed for dependencies: usps
2017-12-20 21:22:03 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform camera.usps: Could not setup all dependencies.
1 Like

For most people, including me, the USPS Sensor has not been working for weeks:

1 Like