I recently installed the Google Maps presence detection, but today It would work anymore and after a Restart I got the following error
2018-05-27 23:38:42 ERROR (SyncWorker_16) [locationsharinglib.Service] Could not open pickle file, either file does not exist or no read access.
2018-05-27 23:38:46 ERROR (MainThread) [homeassistant.components.device_tracker] Error setting up platform google_maps
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/homeassistant/components/device_tracker/__init__.py", line 184, in async_setup_platform
disc_info)
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/device_tracker/google_maps.py", line 36, in setup_scanner
scanner = GoogleMapsScanner(hass, config, see)
File "/usr/lib/python3.6/site-packages/homeassistant/components/device_tracker/google_maps.py", line 55, in __init__
self._update_info()
File "/usr/lib/python3.6/site-packages/homeassistant/components/device_tracker/google_maps.py", line 67, in _update_info
for person in self.service.get_all_people():
File "/usr/lib/python3.6/site-packages/locationsharinglib/locationsharinglib.py", line 393, in get_all_people
people = self.get_shared_people() + [self.get_authenticated_person()]
File "/usr/lib/python3.6/site-packages/locationsharinglib/locationsharinglib.py", line 360, in get_shared_people
output = self._get_data()
File "/usr/lib/python3.6/site-packages/cachetools/__init__.py", line 46, in wrapper
v = func(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/locationsharinglib/locationsharinglib.py", line 354, in _get_data
return data
UnboundLocalError: local variable 'data' referenced before assignment