Deleted it, then deleted pycache too for a fresh start.
Now I get this error:
Could not open pickle file, either file does not exist or no read access.
12:59 custom_components/device_tracker/google_maps.py (ERROR)
The file is there, everyone has the right to read/write/execute also I did the same for folder. It says it can’t find it, but it makes a new pycache folder inside it.
edit.:
Google blocked the authentication, then I allowed it manually (now it says it will show it for 2 weeks for my safety), how can I see what is going on?
edit2.:
Old account still can login and can make new cookie file. How can I prevent google blocking my attempt to log in?
edit3.:
Tried to log in with a 3rd account, It does not login there too same error. I can only login with the absolute first account.
Erorr:
Error setting up platform google_maps
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/device_tracker/init.py”, line 169, in async_setup_platform
disc_info)
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 “/home/homeassistant/.homeassistant/custom_components/device_tracker/google_maps.py”, line 33, in setup_scanner
scanner = GoogleMapsScanner(hass, config, see)
File “/home/homeassistant/.homeassistant/custom_components/device_tracker/google_maps.py”, line 52, in init
hass.config.path(CREDENTIALS_FILE))
File “/srv/homeassistant/lib/python3.5/site-packages/locationsharinglib/locationsharinglib.py”, line 179, in init
if cookies_file and self._validate_cookie(cookies_file):
File “/srv/homeassistant/lib/python3.5/site-packages/locationsharinglib/locationsharinglib.py”, line 204, in _validate_cookie
raise InvalidCookies(message)
locationsharinglib.locationsharinglibexceptions.InvalidCookies: The cookies provided do not provide a valid session.Please authenticate normally and save a valid session againConnection lost. Reconnecting…