Skybell error

Previously working skybell component stopped working after a reboot.
Before that specific reboot it worked fine.

Restarting hass had no effect and the error remains

the following shows up in the log file:

2017-12-01 19:58:44 ERROR (MainThread) [homeassistant.setup] Error during setup of component skybell
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/setup.py”, line 193, in _async_setup_component
component.setup, hass, processed_config)
File “/usr/lib/python3.5/asyncio/futures.py”, line 380, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.5/asyncio/tasks.py”, line 304, in _wakeup
future.result()
File “/usr/lib/python3.5/asyncio/futures.py”, line 293, in result
raise self._exception
File “/usr/lib/python3.5/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/skybell.py”, line 49, in setup
get_devices=True, cache_path=cache)
File “/srv/homeassistant/lib/python3.5/site-packages/skybellpy/init.py”, line 58, in init
self._load_cache()
File “/srv/homeassistant/lib/python3.5/site-packages/skybellpy/init.py”, line 229, in _load_cache
loaded_cache = UTILS.load_cache(self._cache_path)
File “/srv/homeassistant/lib/python3.5/site-packages/skybellpy/utils.py”, line 17, in load_cache
return pickle.load(handle)
EOFError: Ran out of input
2017-12-01 19:58:44 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of binary_sensor.skybell. Setup failed for dependencies: skybell
2017-12-01 19:58:44 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform binary_sensor.skybell: Could not setup all dependencies.
2017-12-01 19:58:44 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of switch.skybell. Setup failed for dependencies: skybell
2017-12-01 19:58:44 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform switch.skybell: Could not setup all dependencies.

Any suggestions on how to fix this?

There should be a “skybell.pickle” file in your home-assistant config directory. Delete that and try restarting. :slight_smile:

2 Likes

I’ve been having the same issue as OP for several days and this resolved it. Thanks!

:+1::+1: thanks! Fixed mine as well!

Thanks @MisterWil that fixed mine too! It looks like i accidentally added my .pickle to a git repo.

Can someone help with this error?

I just have this is my config:

skybell:
username: [email protected]
password: !secret skybell_password

I tried the method of deleting the “skybell.pickle” file, that didn’t help.

Error during setup of component skybell

Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/setup.py”, line 148, in _async_setup_component
component.setup, hass, processed_config) # type: ignore
File “/usr/lib/python3.5/asyncio/futures.py”, line 380, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.5/asyncio/tasks.py”, line 304, in _wakeup
future.result()
File “/usr/lib/python3.5/asyncio/futures.py”, line 293, in result
raise self._exception
File “/usr/lib/python3.5/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/skybell.py”, line 49, in setup
get_devices=True, cache_path=cache)
File “/srv/homeassistant/lib/python3.5/site-packages/skybellpy/init.py”, line 66, in init
self.get_devices()
File “/srv/homeassistant/lib/python3.5/site-packages/skybellpy/init.py”, line 143, in get_devices
device = SkybellDevice(device_json, self)
File “/srv/homeassistant/lib/python3.5/site-packages/skybellpy/device.py”, line 26, in init
self._settings_json = self._settings_request()
File “/srv/homeassistant/lib/python3.5/site-packages/skybellpy/device.py”, line 65, in _settings_request
json_data=json_data)
File “/srv/homeassistant/lib/python3.5/site-packages/skybellpy/init.py”, line 194, in send_request
return self.send_request(method, url, headers, json_data, False)
File “/srv/homeassistant/lib/python3.5/site-packages/skybellpy/init.py”, line 196, in send_request
raise SkybellException(ERROR.REQUEST, “Retry failed”)
skybellpy.exceptions.SkybellException: Request failed: Retry failed

Have been looking for a solution for a while… this just helped me!! thanks!