Traceback (most recent call last):


 "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 199, in async_update_ha_state

yield from self.async_device_update()


 "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 306, in async_device_update

yield from self.hass.async_add_job(self.update)


 "/usr/lib/python3.6/asyncio/futures.py", line 332, in __iter__

yield self
# This tells Task to wait for completion.


 "/usr/lib/python3.6/asyncio/tasks.py", line 250, in _wakeup

future.result()


 "/usr/lib/python3.6/asyncio/futures.py", line 245, in result

raise self._exception


 "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run

result = self.fn(*self.args, **self.kwargs)


 "/usr/lib/python3.6/site-packages/homeassistant/components/media_player/soundtouch.py", line 186, in update

self._status = self._device.status()


 "/usr/lib/python3.6/site-packages/libsoundtouch/device.py", line 446, in status

self.refresh_status()


 "/usr/lib/python3.6/site-packages/libsoundtouch/device.py", line 243, in refresh_status

self._status = Status(dom)


 "/usr/lib/python3.6/site-packages/libsoundtouch/device.py", line 716, in __init__

_get_dom_element(xml_dom, "ContentItem"))


 "/usr/lib/python3.6/site-packages/libsoundtouch/device.py", line 831, in __init__

self._name = _get_dom_element_value(xml_dom, "itemName")


 "/usr/lib/python3.6/site-packages/libsoundtouch/device.py", line 51, in _get_dom_element_value

element = _get_dom_element(xml_dom, element)


 "/usr/lib/python3.6/site-packages/libsoundtouch/device.py", line 44, in _get_dom_element

elements = _get_dom_elements(xml_dom, element)


 "/usr/lib/python3.6/site-packages/libsoundtouch/device.py", line 40, in _get_dom_elements

return xml_dom.getElementsByTagName(element)
AttributeError: 'NoneType' object has no attribute 'getElementsByTagName'

Traceback (most recent call last):


 "/usr/bin/server-info", line 8, in <module>

ServerInfo()


 "/usr/lib/python2.6/site-packages/netutils_linux_hardware/cli.py", line 20, in __init__

self.main()


 "/usr/lib/python2.6/site-packages/netutils_linux_hardware/cli.py", line 57, in main

reader = Reader(directory)


 "/usr/lib/python2.6/site-packages/netutils_linux_hardware/reader.py", line 17, in __init__

self.gather_info()


 "/usr/lib/python2.6/site-packages/netutils_linux_hardware/reader.py", line 40, in gather_info

if self.info.get('cpu', {}).get('info', {}).get(key):
AttributeError: 'NoneType' object has no attribute 'get'
