Hassbian and fritz connection error

Hello,
Sorry but I’m new and I was searching similiar error but I didn’t find it.
I updated lxml, but I got this error:

I have configuration like this

device_tracker:

  • platform: fritz

And I got this error:

2018-04-30 22:34:48 WARNING (MainThread) [homeassistant.setup] Setup of frontend is taking over 10 seconds.
2018-04-30 22:34:54 ERROR (MainThread) [homeassistant.components.device_tracker] Unable to load /home/homeassistant/.homeassistant/known_devices.yaml: Config file not found: /home/homeassistant/.homeassistant/known_devices.yaml
2018-04-30 22:35:01 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/usr/lib/python3.5/asyncio/tasks.py”, line 239, in _step
result = coro.send(None)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py”, line 195, in async_update_ha_state
raise RuntimeError(“Attribute hass is None for {}”.format(self))
RuntimeError: Attribute hass is None for <Entity yr Symbol: 1>
2018-04-30 22:35:03 WARNING (MainThread) [homeassistant.setup] Setup of config is taking over 10 seconds.
2018-04-30 22:35:05 ERROR (MainThread) [homeassistant.components.device_tracker] Error setting up platform fritz
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/device_tracker/init.py”, line 177, in async_setup_platform
platform.get_scanner, hass, {DOMAIN: p_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/device_tracker/fritz.py”, line 31, in get_scanner
scanner = FritzBoxScanner(config[DOMAIN])
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/device_tracker/fritz.py”, line 47, in init
import fritzconnection as fc
File “/srv/homeassistant/lib/python3.5/site-packages/fritzconnection/init.py”, line 6, in
from .fritzconnection import (
File “/srv/homeassistant/lib/python3.5/site-packages/fritzconnection/fritzconnection.py”, line 39, in
from lxml import etree
ImportError: libxslt.so.1: cannot open shared object file: No such file or directory
2018-04-30 22:35:19 WARNING (Thread-5) [netdisco.ssdp] Error fetching description at http://192.168.178.39:35548/devdesc.xml
2018-04-30 22:35:32 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting

Any ideas ?? Thanks!

Anyone? I losed my hope now with it :frowning:

Did you install : libxslt-dev libxml2-dev python3-lxml as described here:

I solved the problem.
I installed libxslt-dev libxml2-dev python3-lxml, but it was incompleted - my repository on hassbian wasn’t updated, so my installation was trying to get libs from inactive links.
Making sudo apt-get update and once more libxslt-dev libxml2-dev python3-lxml worked well!
Thanks.
Topic can be closed.