Hey guys,
I cant figure out why hass wont install any dependencies. I installed hass in an virtual env (like described here: https://home-assistant.io/docs/installation/virtualenv/ ). Maybe somebody can help me with the attached log files?
I tried installing the dependencies manually without success. (Same happens with the chromecast dependency… “PyChromecast”.)
tail -n 40 -F /var/log/syslog | grep hass
May 29 17:00:03 raspberrypi hass[21352]: https://home-assistant.io/help/
May 29 17:00:03 raspberrypi hass[21352]: This message is generated by the introduction component. You can
May 29 17:00:03 raspberrypi hass[21352]: disable it in configuration.yaml.
May 29 17:00:03 raspberrypi hass[21352]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
May 29 17:00:03 raspberrypi hass[21352]: #033[0m
May 29 17:00:03 raspberrypi hass[21352]: #033[32m17-05-29 17:00:03 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=introduction>#033[0m
May 29 17:00:03 raspberrypi hass[21352]: #033[32m17-05-29 17:00:03 INFO (MainThread) [homeassistant.bootstrap] Setting up recorder#033[0m
May 29 17:00:03 raspberrypi hass[21352]: #033[32m17-05-29 17:00:03 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=recorder>#033[0m
May 29 17:00:03 raspberrypi hass[21352]: #033[32m17-05-29 17:00:03 INFO (MainThread) [homeassistant.bootstrap] Setting up logger#033[0m
May 29 17:00:16 raspberrypi hass[21352]: #033[33m17-05-29 17:00:16 WARNING (Thread-10) [homeassistant.components.emulated_hue] Listen IP address not specified, auto-detected address is 192.168.1.4#033[0m
May 29 17:00:19 raspberrypi hass[21352]: Exception:
May 29 17:00:19 raspberrypi hass[21352]: Traceback (most recent call last):
May 29 17:00:19 raspberrypi hass[21352]: File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/pip/basecommand.py", line 215, in main
May 29 17:00:19 raspberrypi hass[21352]: status = self.run(options, args)
May 29 17:00:19 raspberrypi hass[21352]: File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/pip/commands/install.py", line 423, in run
May 29 17:00:19 raspberrypi hass[21352]: shutil.rmtree(target_item_dir)
May 29 17:00:19 raspberrypi hass[21352]: File "/usr/lib/python3.4/shutil.py", line 463, in rmtree
May 29 17:00:19 raspberrypi hass[21352]: _rmtree_safe_fd(fd, path, onerror)
May 29 17:00:19 raspberrypi hass[21352]: File "/usr/lib/python3.4/shutil.py", line 421, in _rmtree_safe_fd
May 29 17:00:19 raspberrypi hass[21352]: onerror(os.unlink, fullname, sys.exc_info())
May 29 17:00:19 raspberrypi hass[21352]: File "/usr/lib/python3.4/shutil.py", line 419, in _rmtree_safe_fd
May 29 17:00:19 raspberrypi hass[21352]: os.unlink(name, dir_fd=topfd)
May 29 17:00:19 raspberrypi hass[21352]: PermissionError: [Errno 13] Permission denied: 'OleFileIO_PL.cpython-34.pyc'
May 29 17:00:19 raspberrypi hass[21352]: #033[31m17-05-29 17:00:19 ERROR (Thread-8) [homeassistant.bootstrap] Not initializing media_player.mpd because could not install dependency python-mpd2==0.5.5#033[0m
May 29 17:00:21 raspberrypi hass[21352]: Exception:
May 29 17:00:21 raspberrypi hass[21352]: Traceback (most recent call last):
May 29 17:00:21 raspberrypi hass[21352]: File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/pip/basecommand.py", line 215, in main
May 29 17:00:21 raspberrypi hass[21352]: status = self.run(options, args)
May 29 17:00:21 raspberrypi hass[21352]: File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/pip/commands/install.py", line 423, in run
May 29 17:00:21 raspberrypi hass[21352]: shutil.rmtree(target_item_dir)
May 29 17:00:21 raspberrypi hass[21352]: File "/usr/lib/python3.4/shutil.py", line 463, in rmtree
May 29 17:00:21 raspberrypi hass[21352]: _rmtree_safe_fd(fd, path, onerror)
May 29 17:00:21 raspberrypi hass[21352]: File "/usr/lib/python3.4/shutil.py", line 421, in _rmtree_safe_fd
May 29 17:00:21 raspberrypi hass[21352]: onerror(os.unlink, fullname, sys.exc_info())
May 29 17:00:21 raspberrypi hass[21352]: File "/usr/lib/python3.4/shutil.py", line 419, in _rmtree_safe_fd
May 29 17:00:21 raspberrypi hass[21352]: os.unlink(name, dir_fd=topfd)
May 29 17:00:21 raspberrypi hass[21352]: PermissionError: [Errno 13] Permission denied: 'OleFileIO_PL.cpython-34.pyc'
May 29 17:00:22 raspberrypi hass[21352]: #033[31m17-05-29 17:00:22 ERROR (Thread-5) [homeassistant.bootstrap] Not initializing media_player.mpd because could not install dependency python-mpd2==0.5.5#033[0m
May 29 17:00:22 raspberrypi hass[21352]: #033[31m17-05-29 17:00:22 ERROR (MainThread) [homeassistant.components.media_player] Error while setting up platform snapcast#033[0m
May 29 17:00:22 raspberrypi hass[21352]: Traceback (most recent call last):
May 29 17:00:22 raspberrypi hass[21352]: File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 151, in _async_setup_platform
May 29 17:00:22 raspberrypi hass[21352]: entity_platform.add_entities, discovery_info
May 29 17:00:22 raspberrypi hass[21352]: File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
May 29 17:00:22 raspberrypi hass[21352]: yield self # This tells Task to wait for completion.
May 29 17:00:22 raspberrypi hass[21352]: File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
May 29 17:00:22 raspberrypi hass[21352]: value = future.result()
May 29 17:00:22 raspberrypi hass[21352]: File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
May 29 17:00:22 raspberrypi hass[21352]: raise self._exception
May 29 17:00:22 raspberrypi hass[21352]: File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
May 29 17:00:22 raspberrypi hass[21352]: result = self.fn(*self.args, **self.kwargs)
May 29 17:00:22 raspberrypi hass[21352]: File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/media_player/snapcast.py", line 43, in setup_platform
May 29 17:00:22 raspberrypi hass[21352]: server = snapcast.control.Snapserver(host, port)
May 29 17:00:22 raspberrypi hass[21352]: File "/home/homeassistant/.homeassistant/deps/snapcast/control.py", line 156, in __init__
May 29 17:00:22 raspberrypi hass[21352]: self._conn = telnetlib.Telnet(host, port)
May 29 17:00:22 raspberrypi hass[21352]: File "/usr/lib/python3.4/telnetlib.py", line 221, in __init__
May 29 17:00:22 raspberrypi hass[21352]: self.open(host, port, timeout)
May 29 17:00:22 raspberrypi hass[21352]: File "/usr/lib/python3.4/telnetlib.py", line 237, in open
May 29 17:00:22 raspberrypi hass[21352]: self.sock = socket.create_connection((host, port), timeout)
May 29 17:00:22 raspberrypi hass[21352]: File "/usr/lib/python3.4/socket.py", line 509, in create_connection
May 29 17:00:22 raspberrypi hass[21352]: raise err
May 29 17:00:22 raspberrypi hass[21352]: File "/usr/lib/python3.4/socket.py", line 500, in create_connection
May 29 17:00:22 raspberrypi hass[21352]: sock.connect(sa)
May 29 17:00:22 raspberrypi hass[21352]: ConnectionRefusedError: [Errno 111] Connection refused#033[0m
May 29 17:00:22 raspberrypi hass[21352]: #033[36m17-05-29 17:00:22 DEBUG (Thread-9) [mysensors.mysensors] Subscribing to: mysensors-out/1/0/1/+/+#033[0m
May 29 17:00:22 raspberrypi hass[21352]: #033[36m17-05-29 17:00:22 DEBUG (Thread-9) [mysensors.mysensors] Subscribing to: mysensors-out/1/0/2/+/+#033[0m
May 29 17:00:22 raspberrypi hass[21352]: #033[36m17-05-29 17:00:22 DEBUG (Thread-9) [mysensors.mysensors] Subscribing to: mysensors-out/1/1/1/+/+#033[0m
May 29 17:00:22 raspberrypi hass[21352]: #033[36m17-05-29 17:00:22 DEBUG (Thread-9) [mysensors.mysensors] Subscribing to: mysensors-out/1/1/2/+/+#033[0m
May 29 17:00:22 raspberrypi hass[21352]: #033[36m17-05-29 17:00:22 DEBUG (Thread-9) [mysensors.mysensors] Subscribing to: mysensors-out/2/0/1/+/+#033[0m
May 29 17:00:22 raspberrypi hass[21352]: #033[36m17-05-29 17:00:22 DEBUG (Thread-9) [mysensors.mysensors] Subscribing to: mysensors-out/2/0/2/+/+#033[0m
May 29 17:00:22 raspberrypi hass[21352]: #033[36m17-05-29 17:00:22 DEBUG (Thread-9) [mysensors.mysensors] Subscribing to: mysensors-out/2/1/1/+/+#033[0m
May 29 17:00:22 raspberrypi hass[21352]: #033[36m17-05-29 17:00:22 DEBUG (Thread-9) [mysensors.mysensors] Subscribing to: mysensors-out/2/1/2/+/+#033[0m
May 29 17:00:22 raspberrypi hass[21352]: #033[36m17-05-29 17:00:22 DEBUG (Thread-9) [mysensors.mysensors] Subscribing to: mysensors-out/3/0/1/+/+#033[0m
May 29 17:00:22 raspberrypi hass[21352]: #033[36m17-05-29 17:00:22 DEBUG (Thread-9) [mysensors.mysensors] Subscribing to: mysensors-out/3/0/2/+/+#033[0m
May 29 17:00:22 raspberrypi hass[21352]: #033[36m17-05-29 17:00:22 DEBUG (Thread-9) [mysensors.mysensors] Subscribing to: mysensors-out/1/+/4/+/+#033[0m
May 29 17:00:22 raspberrypi hass[21352]: #033[36m17-05-29 17:00:22 DEBUG (Thread-9) [mysensors.mysensors] Subscribing to: mysensors-out/2/+/4/+/+#033[0m
May 29 17:00:22 raspberrypi hass[21352]: #033[36m17-05-29 17:00:22 DEBUG (Thread-9) [mysensors.mysensors] Subscribing to: mysensors-out/3/+/4/+/+#033[0m
May 29 17:00:23 raspberrypi hass[21352]: #033[32m17-05-29 17:00:23 INFO (Thread-14) [mysensors.mysensors] Setting up initial MQTT topic subscription#033[0m
May 29 17:00:23 raspberrypi hass[21352]: #033[36m17-05-29 17:00:23 DEBUG (Thread-14) [mysensors.mysensors] Subscribing to: mysensors-out/+/+/0/+/+#033[0m
May 29 17:00:23 raspberrypi hass[21352]: #033[36m17-05-29 17:00:23 DEBUG (Thread-9) [homeassistant.components.mysensors] Update persistence: node 1#033[0m
May 29 17:00:23 raspberrypi hass[21352]: #033[32m17-05-29 17:00:23 INFO (Thread-9) [homeassistant.components.mysensors] Adding new devices: <Entity TemperatureAndHumidity 1 0: None>#033[0m
May 29 17:00:23 raspberrypi hass[21352]: #033[36m17-05-29 17:00:23 DEBUG (Thread-14) [mysensors.mysensors] Subscribing to: mysensors-out/+/+/3/+/+#033[0m
May 29 17:00:23 raspberrypi hass[21352]: #033[36m17-05-29 17:00:23 DEBUG (Thread-9) [homeassistant.components.mysensors] TemperatureAndHumidity 1 0: value_type 1, value = 55.0#033[0m
May 29 17:00:23 raspberrypi hass[21352]: #033[32m17-05-29 17:00:23 INFO (Thread-9) [homeassistant.components.mysensors] Adding new devices: <Entity TemperatureAndHumidity 1 1: None>#033[0m
May 29 17:00:23 raspberrypi hass[21352]: #033[36m17-05-29 17:00:23 DEBUG (Thread-9) [homeassistant.components.mysensors] TemperatureAndHumidity 1 1: value_type 0, value = 23.0#033[0m
May 29 17:00:23 raspberrypi hass[21352]: #033[36m17-05-29 17:00:23 DEBUG (Thread-9) [homeassistant.components.mysensors] Update persistence: node 2#033[0m
May 29 17:00:23 raspberrypi hass[21352]: #033[32m17-05-29 17:00:23 INFO (Thread-9) [homeassistant.components.mysensors] Adding new devices: <Entity TemperatureAndHumidity 2 0: None>#033[0m
May 29 17:00:23 raspberrypi hass[21352]: #033[36m17-05-29 17:00:23 DEBUG (Thread-9) [homeassistant.components.mysensors] TemperatureAndHumidity 2 0: value_type 1, value = 59.0#033[0m
May 29 17:00:23 raspberrypi hass[21352]: #033[32m17-05-29 17:00:23 INFO (Thread-9) [homeassistant.components.mysensors] Adding new devices: <Entity TemperatureAndHumidity 2 1: None>#033[0m
May 29 17:00:23 raspberrypi hass[21352]: #033[36m17-05-29 17:00:23 DEBUG (Thread-9) [homeassistant.components.mysensors] TemperatureAndHumidity 2 1: value_type 0, value = 23.0#033[0m
May 29 17:00:23 raspberrypi hass[21352]: #033[36m17-05-29 17:00:23 DEBUG (Thread-9) [homeassistant.components.mysensors] Update persistence: node 3#033[0m
May 29 17:00:23 raspberrypi hass[21352]: #033[32m17-05-29 17:00:23 INFO (Thread-9) [homeassistant.components.mysensors] Adding new devices: <Entity Motion Sensor 3 0: off>#033[0m
May 29 17:00:23 raspberrypi hass[21352]: #033[36m17-05-29 17:00:23 DEBUG (Thread-9) [homeassistant.components.mysensors] Motion Sensor 3 0: value_type 16, value = 0#033[0m
May 29 17:00:24 raspberrypi hass[21352]: #033[36m17-05-29 17:00:24 DEBUG (Thread-1) [mysensors.mysensors] Receiving 2;1;1;0;0;23.0#033[0m
May 29 17:00:24 raspberrypi hass[21352]: #033[36m17-05-29 17:00:24 DEBUG (Thread-14) [homeassistant.components.mysensors] Update sensor_update: node 2#033[0m
May 29 17:00:24 raspberrypi hass[21352]: #033[36m17-05-29 17:00:24 DEBUG (Thread-14) [homeassistant.components.mysensors] TemperatureAndHumidity 2 0: value_type 1, value = 59.0#033[0m
May 29 17:00:24 raspberrypi hass[21352]: #033[36m17-05-29 17:00:24 DEBUG (Thread-14) [homeassistant.components.mysensors] TemperatureAndHumidity 2 1: value_type 0, value = 23.0#033[0m
Here are just the errors, same log:
tail -n 40 -F /var/log/syslog | grep ERROR
May 29 17:00:19 raspberrypi hass[21352]: #033[31m17-05-29 17:00:19 ERROR (Thread-8) [homeassistant.bootstrap] Not initializing media_player.mpd because could not install dependency python-mpd2==0.5.5#033[0m
May 29 17:00:22 raspberrypi hass[21352]: #033[31m17-05-29 17:00:22 ERROR (Thread-5) [homeassistant.bootstrap] Not initializing media_player.mpd because could not install dependency python-mpd2==0.5.5#033[0m
May 29 17:00:22 raspberrypi hass[21352]: #033[31m17-05-29 17:00:22 ERROR (MainThread) [homeassistant.components.media_player] Error while setting up platform snapcast#033[0m
Any help is very much appreciated!