Fresh Hass.io Installation does not work correctly!?

OK, that’s a start.
What exactly are the error messages? If you copy & paste here we have help you sort through the verbosity.

EDIT I just tried it and was missing an installed library but your issue may be different.

I get the impression because:

  1. there is an extra category for Hass.io here but none explicitly for Hassbian.

  2. the page https://home-assistant.github.io/hassbian-scripts/ is not maintained, some broken links for a test click “Suites” and you get a 404 because the link is not right. It must read as follows: https://home-assistant.github.io/hassbian-scripts/suites/

  3. currently unusual problems with Fresh Installation on Raspberry Zero W and I haven’t found anything here. 1-2 months ago there were no problems Fresh Image, switch on about 20-30 minutes later start.

I just flashed a fresh Hassbian image on a Rpi Zero W. When it’s ready, I’ll add a thermostat and then we’ll go through it step by step.

1 Like

That is new documentation (within the past 2 weeks) that appears to be a mess and is broken…
I think they mean to point to the doc files in this directory.

  1. Hass.io has a separate section because the add-ons etc made people think there was a need. Hassbian is just Raspbian, so nobody thought there was a need for it

  2. It was broken recently as the developer is re-working things, they know, and they’re on it. But… you know what, we’ve all got other lives too :wink:

  3. A Pi Zero is not recommended for anything other than testing. A 30 minute first start is within what’s expected.

We all still have a life next to our automated home :slight_smile: It shouldn’t be a reproach only to show why I got the impression.

I know the Rpi Zero is not recommended for productive systems. But this is the rule in any project and most of the time it works very well. And it needs less power than its big brother, which makes it very attractive to me.

I have here 3 Rpi Zero’s for Multiroom Audio 1 Zero for my old Smart Home (SHC / https://www.rpi-controlcenter.de/) and 2 Rpi 3 for Kodi media system.

And currently 2 Zeros to test HA.

Okay, now we come back with a Fresh installtion of Hassbian with the same problems :wink:

Unable to prepare setup for platform eq3btsmart.climate: Could not install all requirements.
15:52 setup.py (ERROR)
Not initializing eq3btsmart because could not install requirement python-eq3bt==0.1.9
15:52 requirements.py (ERROR)
Unable to install package python-eq3bt==0.1.9: ERROR: Complete output from command /srv/homeassistant/bin/python -u -c ‘import setuptools, tokenize;file=’“'”‘/tmp/pip-install-smdpyhqy/bluepy/setup.py’“'”‘;f=getattr(tokenize, ‘"’“‘open’”’“‘, open)(file);code=f.read().replace(’”‘"’\r\n’“'”‘, ‘"’"’\n’“'”‘);f.close();exec(compile(code, file, ‘"’“‘exec’”’“‘))’ bdist_wheel -d /tmp/pip-wheel-vimpqn_v --python-tag cp37: ERROR: running bdist_wheel running build running build_py Working dir is /tmp/pip-install-smdpyhqy/bluepy execute make -C ./bluepy clean execute make -C bluepy -j1 Failed to compile bluepy-helper. Exiting install. Command was ‘make -C bluepy -j1’ in /tmp/pip-install-smdpyhqy/bluepy Return code was 2 Output was: b"make: Entering directory ‘/tmp/pip-install-smdpyhqy/bluepy/bluepy’\ntar xzf bluez-src.tgz\ntouch ./bluez-5.47/lib/bluetooth.c ./bluez-5.47/lib/hci.c ./bluez-5.47/lib/sdp.c ./bluez-5.47/lib/uuid.c ./bluez-5.47/attrib/att.c ./bluez-5.47/attrib/gatt.c ./bluez-5.47/attrib/gattrib.c ./bluez-5.47/attrib/utils.c ./bluez-5.47/btio/btio.c ./bluez-5.47/src/log.c ./bluez-5.47/src/shared/mgmt.c ./bluez-5.47/src/shared/crypto.c ./bluez-5.47/src/shared/att.c ./bluez-5.47/src/shared/queue.c ./bluez-5.47/src/shared/util.c ./bluez-5.47/src/shared/io-glib.c ./bluez-5.47/src/shared/timeout-glib.c\nPackage glib-2.0 was not found in the pkg-config search path.\nPerhaps you should add the directory containing glib-2.0.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'glib-2.0' found\nPackage glib-2.0 was not found in the pkg-config search path.\nPerhaps you should add the directory containing glib-2.0.pc’\nto the PKG_CONFIG_PATH environment variable\nNo package ‘glib-2.0’ found\ncc -L. -g -Wall -Os -DHAVE_CONFIG_H -I./bluez-5.47/attrib -I./bluez-5.47 -I./bluez-5.47/lib -I./bluez-5.47/src -I./bluez-5.47/gdbus -I./bluez-5.47/btio -I./bluez-5.47/sys -o bluepy-helper bluepy-helper.c ./bluez-5.47/lib/bluetooth.c ./bluez-5.47/lib/hci.c ./bluez-5.47/lib/sdp.c ./bluez-5.47/lib/uuid.c ./bluez-5.47/attrib/att.c ./bluez-5.47/attrib/gatt.c ./bluez-5.47/attrib/gattrib.c ./bluez-5.47/attrib/utils.c ./bluez-5.47/btio/btio.c ./bluez-5.47/src/log.c ./bluez-5.47/src/shared/mgmt.c ./bluez-5.47/src/shared/crypto.c ./bluez-5.47/src/shared/att.c ./bluez-5.47/src/shared/queue.c ./bluez-5.47/src/shared/util.c ./bluez-5.47/src/shared/io-glib.c ./bluez-5.47/src/shared/timeout-glib.c \nbluepy-helper.c:33:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/attrib/att.c:33:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/attrib/gatt.c:32:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/attrib/gattrib.c:34:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/attrib/utils.c:30:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/btio/btio.c:37:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/src/log.c:38:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/src/shared/io-glib.c:30:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/src/shared/timeout-glib.c:22:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\nmake: *** [Makefile:30: bluepy-helper] Error 1\nmake: Leaving directory ‘/tmp/pip-install-smdpyhqy/bluepy/bluepy’\n" ---------------------------------------- ERROR: Failed building wheel for bluepy ERROR: Complete output from command /srv/homeassistant/bin/python -u -c ‘import setuptools, tokenize;file=’“'”‘/tmp/pip-install-smdpyhqy/bluepy/setup.py’“'”‘;f=getattr(tokenize, ‘"’“‘open’”’“‘, open)(file);code=f.read().replace(’”‘"’\r\n’“'”‘, ‘"’"’\n’“'”‘);f.close();exec(compile(code, file, ‘"’“‘exec’”’"‘))’ install --record /tmp/pip-record-7xh65cky/install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/include/site/python3.7/bluepy: ERROR: running install running build running build_py Working dir is /tmp/pip-install-smdpyhqy/bluepy execute make -C ./bluepy clean execute make -C bluepy -j1 Failed to compile bluepy-helper. Exiting install. Command was ‘make -C bluepy -j1’ in /tmp/pip-install-smdpyhqy/bluepy Return code was 2 Output was: b"make: Entering directory ‘/tmp/pip-install-smdpyhqy/bluepy/bluepy’\ntar xzf bluez-src.tgz\ntouch ./bluez-5.47/lib/bluetooth.c ./bluez-5.47/lib/hci.c ./bluez-5.47/lib/sdp.c ./bluez-5.47/lib/uuid.c ./bluez-5.47/attrib/att.c ./bluez-5.47/attrib/gatt.c ./bluez-5.47/attrib/gattrib.c ./bluez-5.47/attrib/utils.c ./bluez-5.47/btio/btio.c ./bluez-5.47/src/log.c ./bluez-5.47/src/shared/mgmt.c ./bluez-5.47/src/shared/crypto.c ./bluez-5.47/src/shared/att.c ./bluez-5.47/src/shared/queue.c ./bluez-5.47/src/shared/util.c ./bluez-5.47/src/shared/io-glib.c ./bluez-5.47/src/shared/timeout-glib.c\nPackage glib-2.0 was not found in the pkg-config search path.\nPerhaps you should add the directory containing glib-2.0.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'glib-2.0' found\nPackage glib-2.0 was not found in the pkg-config search path.\nPerhaps you should add the directory containing glib-2.0.pc’\nto the PKG_CONFIG_PATH environment variable\nNo package ‘glib-2.0’ found\ncc -L. -g -Wall -Os -DHAVE_CONFIG_H -I./bluez-5.47/attrib -I./bluez-5.47 -I./bluez-5.47/lib -I./bluez-5.47/src -I./bluez-5.47/gdbus -I./bluez-5.47/btio -I./bluez-5.47/sys -o bluepy-helper bluepy-helper.c ./bluez-5.47/lib/bluetooth.c ./bluez-5.47/lib/hci.c ./bluez-5.47/lib/sdp.c ./bluez-5.47/lib/uuid.c ./bluez-5.47/attrib/att.c ./bluez-5.47/attrib/gatt.c ./bluez-5.47/attrib/gattrib.c ./bluez-5.47/attrib/utils.c ./bluez-5.47/btio/btio.c ./bluez-5.47/src/log.c ./bluez-5.47/src/shared/mgmt.c ./bluez-5.47/src/shared/crypto.c ./bluez-5.47/src/shared/att.c ./bluez-5.47/src/shared/queue.c ./bluez-5.47/src/shared/util.c ./bluez-5.47/src/shared/io-glib.c ./bluez-5.47/src/shared/timeout-glib.c \nbluepy-helper.c:33:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/attrib/att.c:33:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/attrib/gatt.c:32:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/attrib/gattrib.c:34:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/attrib/utils.c:30:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/btio/btio.c:37:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/src/log.c:38:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/src/shared/io-glib.c:30:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/src/shared/timeout-glib.c:22:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\nmake: *** [Makefile:30: bluepy-helper] Error 1\nmake: Leaving directory ‘/tmp/pip-install-smdpyhqy/bluepy/bluepy’\n” ---------------------------------------- ERROR: Command “/srv/homeassistant/bin/python -u -c ‘import setuptools, tokenize;file=’”‘"’/tmp/pip-install-smdpyhqy/bluepy/setup.py’“'”‘;f=getattr(tokenize, ‘"’“‘open’”’“‘, open)(file);code=f.read().replace(’”‘"’\r\n’“'”‘, ‘"’"’\n’“'”‘);f.close();exec(compile(code, file, ‘"’“‘exec’”’“‘))’ install --record /tmp/pip-record-7xh65cky/install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/include/site/python3.7/bluepy” failed with error code 1 in /tmp/pip-install-smdpyhqy/bluepy/
15:52 util/package.py (ERROR)

2019-06-09 14:52:41 ERROR (SyncWorker_2) [homeassistant.util.package] Unable to install package python-eq3bt==0.1.9: ERROR: Complete output from command /srv/homeassistant/bin/python -u -c ‘import setuptools, tokenize;file=’“'”‘/tmp/pip-install-smdpyhqy/bluepy/setup.py’“'”‘;f=getattr(tokenize, ‘"’“‘open’”’“‘, open)(file);code=f.read().replace(’”‘"’\r\n’“'”‘, ‘"’"’\n’“'”‘);f.close();exec(compile(code, file, ‘"’“‘exec’”’“‘))’ bdist_wheel -d /tmp/pip-wheel-vimpqn_v --python-tag cp37:
ERROR: running bdist_wheel
running build
running build_py
Working dir is /tmp/pip-install-smdpyhqy/bluepy
execute make -C ./bluepy clean
execute make -C bluepy -j1
Failed to compile bluepy-helper. Exiting install.
Command was ‘make -C bluepy -j1’ in /tmp/pip-install-smdpyhqy/bluepy
Return code was 2
Output was:
b"make: Entering directory ‘/tmp/pip-install-smdpyhqy/bluepy/bluepy’\ntar xzf bluez-src.tgz\ntouch ./bluez-5.47/lib/bluetooth.c ./bluez-5.47/lib/hci.c ./bluez-5.47/lib/sdp.c ./bluez-5.47/lib/uuid.c ./bluez-5.47/attrib/att.c ./bluez-5.47/attrib/gatt.c ./bluez-5.47/attrib/gattrib.c ./bluez-5.47/attrib/utils.c ./bluez-5.47/btio/btio.c ./bluez-5.47/src/log.c ./bluez-5.47/src/shared/mgmt.c ./bluez-5.47/src/shared/crypto.c ./bluez-5.47/src/shared/att.c ./bluez-5.47/src/shared/queue.c ./bluez-5.47/src/shared/util.c ./bluez-5.47/src/shared/io-glib.c ./bluez-5.47/src/shared/timeout-glib.c\nPackage glib-2.0 was not found in the pkg-config search path.\nPerhaps you should add the directory containing glib-2.0.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'glib-2.0' found\nPackage glib-2.0 was not found in the pkg-config search path.\nPerhaps you should add the directory containing glib-2.0.pc’\nto the PKG_CONFIG_PATH environment variable\nNo package ‘glib-2.0’ found\ncc -L. -g -Wall -Os -DHAVE_CONFIG_H -I./bluez-5.47/attrib -I./bluez-5.47 -I./bluez-5.47/lib -I./bluez-5.47/src -I./bluez-5.47/gdbus -I./bluez-5.47/btio -I./bluez-5.47/sys -o bluepy-helper bluepy-helper.c ./bluez-5.47/lib/bluetooth.c ./bluez-5.47/lib/hci.c ./bluez-5.47/lib/sdp.c ./bluez-5.47/lib/uuid.c ./bluez-5.47/attrib/att.c ./bluez-5.47/attrib/gatt.c ./bluez-5.47/attrib/gattrib.c ./bluez-5.47/attrib/utils.c ./bluez-5.47/btio/btio.c ./bluez-5.47/src/log.c ./bluez-5.47/src/shared/mgmt.c ./bluez-5.47/src/shared/crypto.c ./bluez-5.47/src/shared/att.c ./bluez-5.47/src/shared/queue.c ./bluez-5.47/src/shared/util.c ./bluez-5.47/src/shared/io-glib.c ./bluez-5.47/src/shared/timeout-glib.c \nbluepy-helper.c:33:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/attrib/att.c:33:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/attrib/gatt.c:32:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/attrib/gattrib.c:34:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/attrib/utils.c:30:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/btio/btio.c:37:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/src/log.c:38:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/src/shared/io-glib.c:30:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/src/shared/timeout-glib.c:22:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~~~~~~~\ncompilation terminated.\nmake: *** [Makefile:30: bluepy-helper] Error 1\nmake: Leaving directory ‘/tmp/pip-install-smdpyhqy/bluepy/bluepy’\n”


ERROR: Failed building wheel for bluepy
ERROR: Complete output from command /srv/homeassistant/bin/python -u -c ‘import setuptools, tokenize;file=’“'”‘/tmp/pip-install-smdpyhqy/bluepy/setup.py’“'”‘;f=getattr(tokenize, ‘"’“‘open’”’“‘, open)(file);code=f.read().replace(’”‘"’\r\n’“'”‘, ‘"’"’\n’“'”‘);f.close();exec(compile(code, file, ‘"’“‘exec’”’“‘))’ install --record /tmp/pip-record-7xh65cky/install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/include/site/python3.7/bluepy:
ERROR: running install
running build
running build_py
Working dir is /tmp/pip-install-smdpyhqy/bluepy
execute make -C ./bluepy clean
execute make -C bluepy -j1
Failed to compile bluepy-helper. Exiting install.
Command was ‘make -C bluepy -j1’ in /tmp/pip-install-smdpyhqy/bluepy
Return code was 2
Output was:
b"make: Entering directory ‘/tmp/pip-install-smdpyhqy/bluepy/bluepy’\ntar xzf bluez-src.tgz\ntouch ./bluez-5.47/lib/bluetooth.c ./bluez-5.47/lib/hci.c ./bluez-5.47/lib/sdp.c ./bluez-5.47/lib/uuid.c ./bluez-5.47/attrib/att.c ./bluez-5.47/attrib/gatt.c ./bluez-5.47/attrib/gattrib.c ./bluez-5.47/attrib/utils.c ./bluez-5.47/btio/btio.c ./bluez-5.47/src/log.c ./bluez-5.47/src/shared/mgmt.c ./bluez-5.47/src/shared/crypto.c ./bluez-5.47/src/shared/att.c ./bluez-5.47/src/shared/queue.c ./bluez-5.47/src/shared/util.c ./bluez-5.47/src/shared/io-glib.c ./bluez-5.47/src/shared/timeout-glib.c\nPackage glib-2.0 was not found in the pkg-config search path.\nPerhaps you should add the directory containing glib-2.0.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'glib-2.0' found\nPackage glib-2.0 was not found in the pkg-config search path.\nPerhaps you should add the directory containing glib-2.0.pc’\nto the PKG_CONFIG_PATH environment variable\nNo package ‘glib-2.0’ found\ncc -L. -g -Wall -Os -DHAVE_CONFIG_H -I./bluez-5.47/attrib -I./bluez-5.47 -I./bluez-5.47/lib -I./bluez-5.47/src -I./bluez-5.47/gdbus -I./bluez-5.47/btio -I./bluez-5.47/sys -o bluepy-helper bluepy-helper.c ./bluez-5.47/lib/bluetooth.c ./bluez-5.47/lib/hci.c ./bluez-5.47/lib/sdp.c ./bluez-5.47/lib/uuid.c ./bluez-5.47/attrib/att.c ./bluez-5.47/attrib/gatt.c ./bluez-5.47/attrib/gattrib.c ./bluez-5.47/attrib/utils.c ./bluez-5.47/btio/btio.c ./bluez-5.47/src/log.c ./bluez-5.47/src/shared/mgmt.c ./bluez-5.47/src/shared/crypto.c ./bluez-5.47/src/shared/att.c ./bluez-5.47/src/shared/queue.c ./bluez-5.47/src/shared/util.c ./bluez-5.47/src/shared/io-glib.c ./bluez-5.47/src/shared/timeout-glib.c \nbluepy-helper.c:33:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/attrib/att.c:33:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/attrib/gatt.c:32:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/attrib/gattrib.c:34:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/attrib/utils.c:30:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/btio/btio.c:37:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/src/log.c:38:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/src/shared/io-glib.c:30:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/src/shared/timeout-glib.c:22:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~~~~~~~\ncompilation terminated.\nmake: *** [Makefile:30: bluepy-helper] Error 1\nmake: Leaving directory ‘/tmp/pip-install-smdpyhqy/bluepy/bluepy’\n”
----------------------------------------
ERROR: Command “/srv/homeassistant/bin/python -u -c ‘import setuptools, tokenize;file=’”‘"’/tmp/pip-install-smdpyhqy/bluepy/setup.py’“'”‘;f=getattr(tokenize, ‘"’“‘open’”’“‘, open)(file);code=f.read().replace(’”‘"’\r\n’“'”‘, ‘"’"’\n’“'”‘);f.close();exec(compile(code, file, ‘"’“‘exec’”’“‘))’ install --record /tmp/pip-record-7xh65cky/install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/include/site/python3.7/bluepy” failed with error code 1 in /tmp/pip-install-smdpyhqy/bluepy/
2019-06-09 14:52:41 ERROR (MainThread) [homeassistant.requirements] Not initializing eq3btsmart because could not install requirement python-eq3bt==0.1.9
2019-06-09 14:52:41 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform eq3btsmart.climate: Could not install all requirements.

An here the results of the Terminal Session:

pi@hassbian:~ $ sudo -s
root@hassbian:/home/pi# pip3 install python-eq3bt
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting python-eq3bt
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ReadTimeoutError(“HTTPSConnectionPool(host=‘www.piwheels.org’, port=443): Read timed out. (read timeout=15)”)’: /simple/python-eq3bt/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ReadTimeoutError(“HTTPSConnectionPool(host=‘www.piwheels.org’, port=443): Read timed out. (read timeout=15)”)’: /simple/python-eq3bt/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ReadTimeoutError(“HTTPSConnectionPool(host=‘www.piwheels.org’, port=443): Read timed out. (read timeout=15)”)’: /simple/python-eq3bt/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ReadTimeoutError(“HTTPSConnectionPool(host=‘www.piwheels.org’, port=443): Read timed out. (read timeout=15)”)’: /simple/python-eq3bt/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ReadTimeoutError(“HTTPSConnectionPool(host=‘www.piwheels.org’, port=443): Read timed out. (read timeout=15)”)’: /simple/python-eq3bt/
Downloading https://files.pythonhosted.org/packages/5e/5f/bdd2dee13f7eec89d5b40c7a6241146afe660da258773060ca2bf2169f60/python_eq3bt-0.1.11-py3-none-any.whl
Collecting bluepy>=1.0.5 (from python-eq3bt)
Downloading https://files.pythonhosted.org/packages/27/91/6cfca10bee9862f93015413cf9e6a52c3081a71f1518963396a055128f8e/bluepy-1.3.0.tar.gz (217kB)
100% |████████████████████████████████| 225kB 326kB/s
Collecting click-datetime (from python-eq3bt)
Downloading https://files.pythonhosted.org/packages/69/ce/ab558a961355258685cfa34c2aa1dd405c696b59cc9d60529b66c083ce30/click_datetime-0.2-py2.py3-none-any.whl
Collecting click (from python-eq3bt)
Downloading https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl (81kB)
100% |████████████████████████████████| 81kB 504kB/s
Collecting construct (from python-eq3bt)
Downloading https://www.piwheels.org/simple/construct/construct-2.9.45-py3-none-any.whl (59kB)
100% |████████████████████████████████| 61kB 170kB/s
Building wheels for collected packages: bluepy
Running setup.py bdist_wheel for bluepy … error
Complete output from command /usr/bin/python3 -u -c “import setuptools, tokenize;file=’/tmp/pip-install-6bpyqvg5/bluepy/setup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(’\r\n’, ‘\n’);f.close();exec(compile(code, file, ‘exec’))” bdist_wheel -d /tmp/pip-wheel-9w9850xz --python-tag cp37:
running bdist_wheel
running build
running build_py
Working dir is /tmp/pip-install-6bpyqvg5/bluepy
execute make -C ./bluepy clean
execute make -C bluepy -j1
Failed to compile bluepy-helper. Exiting install.
Command was ‘make -C bluepy -j1’ in /tmp/pip-install-6bpyqvg5/bluepy
Return code was 2
Output was:
b"make: Entering directory ‘/tmp/pip-install-6bpyqvg5/bluepy/bluepy’\ntar xzf bluez-src.tgz\ntouch ./bluez-5.47/lib/bluetooth.c ./bluez-5.47/lib/hci.c ./bluez-5.47/lib/sdp.c ./bluez-5.47/lib/uuid.c ./bluez-5.47/attrib/att.c ./bluez-5.47/attrib/gatt.c ./bluez-5.47/attrib/gattrib.c ./bluez-5.47/attrib/utils.c ./bluez-5.47/btio/btio.c ./bluez-5.47/src/log.c ./bluez-5.47/src/shared/mgmt.c ./bluez-5.47/src/shared/crypto.c ./bluez-5.47/src/shared/att.c ./bluez-5.47/src/shared/queue.c ./bluez-5.47/src/shared/util.c ./bluez-5.47/src/shared/io-glib.c ./bluez-5.47/src/shared/timeout-glib.c\nPackage glib-2.0 was not found in the pkg-config search path.\nPerhaps you should add the directory containing glib-2.0.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'glib-2.0' found\nPackage glib-2.0 was not found in the pkg-config search path.\nPerhaps you should add the directory containing glib-2.0.pc’\nto the PKG_CONFIG_PATH environment variable\nNo package ‘glib-2.0’ found\ncc -L. -g -Wall -Os -DHAVE_CONFIG_H -I./bluez-5.47/attrib -I./bluez-5.47 -I./bluez-5.47/lib -I./bluez-5.47/src -I./bluez-5.47/gdbus -I./bluez-5.47/btio -I./bluez-5.47/sys -o bluepy-helper bluepy-helper.c ./bluez-5.47/lib/bluetooth.c ./bluez-5.47/lib/hci.c ./bluez-5.47/lib/sdp.c ./bluez-5.47/lib/uuid.c ./bluez-5.47/attrib/att.c ./bluez-5.47/attrib/gatt.c ./bluez-5.47/attrib/gattrib.c ./bluez-5.47/attrib/utils.c ./bluez-5.47/btio/btio.c ./bluez-5.47/src/log.c ./bluez-5.47/src/shared/mgmt.c ./bluez-5.47/src/shared/crypto.c ./bluez-5.47/src/shared/att.c ./bluez-5.47/src/shared/queue.c ./bluez-5.47/src/shared/util.c ./bluez-5.47/src/shared/io-glib.c ./bluez-5.47/src/shared/timeout-glib.c \nbluepy-helper.c:33:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/attrib/att.c:33:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/attrib/gatt.c:32:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/attrib/gattrib.c:34:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/attrib/utils.c:30:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/btio/btio.c:37:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/src/log.c:38:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/src/shared/io-glib.c:30:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/src/shared/timeout-glib.c:22:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~~~~~~~\ncompilation terminated.\nmake: *** [Makefile:30: bluepy-helper] Error 1\nmake: Leaving directory ‘/tmp/pip-install-6bpyqvg5/bluepy/bluepy’\n"


Failed building wheel for bluepy
Running setup.py clean for bluepy
Failed to build bluepy
Installing collected packages: bluepy, click, click-datetime, construct, python-eq3bt
Running setup.py install for bluepy … error
Complete output from command /usr/bin/python3 -u -c “import setuptools, tokenize;file=’/tmp/pip-install-6bpyqvg5/bluepy/setup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(’\r\n’, ‘\n’);f.close();exec(compile(code, file, ‘exec’))” install --record /tmp/pip-record-6kbsq01d/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
Working dir is /tmp/pip-install-6bpyqvg5/bluepy
execute make -C ./bluepy clean
execute make -C bluepy -j1
Failed to compile bluepy-helper. Exiting install.
Command was ‘make -C bluepy -j1’ in /tmp/pip-install-6bpyqvg5/bluepy
Return code was 2
Output was:
b"make: Entering directory ‘/tmp/pip-install-6bpyqvg5/bluepy/bluepy’\ntar xzf bluez-src.tgz\ntouch ./bluez-5.47/lib/bluetooth.c ./bluez-5.47/lib/hci.c ./bluez-5.47/lib/sdp.c ./bluez-5.47/lib/uuid.c ./bluez-5.47/attrib/att.c ./bluez-5.47/attrib/gatt.c ./bluez-5.47/attrib/gattrib.c ./bluez-5.47/attrib/utils.c ./bluez-5.47/btio/btio.c ./bluez-5.47/src/log.c ./bluez-5.47/src/shared/mgmt.c ./bluez-5.47/src/shared/crypto.c ./bluez-5.47/src/shared/att.c ./bluez-5.47/src/shared/queue.c ./bluez-5.47/src/shared/util.c ./bluez-5.47/src/shared/io-glib.c ./bluez-5.47/src/shared/timeout-glib.c\nPackage glib-2.0 was not found in the pkg-config search path.\nPerhaps you should add the directory containing glib-2.0.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'glib-2.0' found\nPackage glib-2.0 was not found in the pkg-config search path.\nPerhaps you should add the directory containing glib-2.0.pc’\nto the PKG_CONFIG_PATH environment variable\nNo package ‘glib-2.0’ found\ncc -L. -g -Wall -Os -DHAVE_CONFIG_H -I./bluez-5.47/attrib -I./bluez-5.47 -I./bluez-5.47/lib -I./bluez-5.47/src -I./bluez-5.47/gdbus -I./bluez-5.47/btio -I./bluez-5.47/sys -o bluepy-helper bluepy-helper.c ./bluez-5.47/lib/bluetooth.c ./bluez-5.47/lib/hci.c ./bluez-5.47/lib/sdp.c ./bluez-5.47/lib/uuid.c ./bluez-5.47/attrib/att.c ./bluez-5.47/attrib/gatt.c ./bluez-5.47/attrib/gattrib.c ./bluez-5.47/attrib/utils.c ./bluez-5.47/btio/btio.c ./bluez-5.47/src/log.c ./bluez-5.47/src/shared/mgmt.c ./bluez-5.47/src/shared/crypto.c ./bluez-5.47/src/shared/att.c ./bluez-5.47/src/shared/queue.c ./bluez-5.47/src/shared/util.c ./bluez-5.47/src/shared/io-glib.c ./bluez-5.47/src/shared/timeout-glib.c \nbluepy-helper.c:33:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/attrib/att.c:33:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/attrib/gatt.c:32:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/attrib/gattrib.c:34:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/attrib/utils.c:30:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/btio/btio.c:37:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/src/log.c:38:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/src/shared/io-glib.c:30:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~\ncompilation terminated.\n./bluez-5.47/src/shared/timeout-glib.c:22:10: fatal error: glib.h: No such file or directory\n #include <glib.h>\n ^~~~~~~~\ncompilation terminated.\nmake: *** [Makefile:30: bluepy-helper] Error 1\nmake: Leaving directory ‘/tmp/pip-install-6bpyqvg5/bluepy/bluepy’\n"

----------------------------------------

Command “/usr/bin/python3 -u -c “import setuptools, tokenize;file=’/tmp/pip-install-6bpyqvg5/bluepy/setup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(’\r\n’, ‘\n’);f.close();exec(compile(code, file, ‘exec’))” install --record /tmp/pip-record-6kbsq01d/install-record.txt --single-version-externally-managed --compile” failed with error code 1 in /tmp/pip-install-6bpyqvg5/bluepy/
root@hassbian:/home/pi#

Ok, sudo apt-get install libglib2.0-dev and try again.

And, next time, please post the errors in a code sharing site like https://paste.ubuntu.com, since it’s much easier to read correctly formatted errors than a wall of unformatted noise.

They are ( and I am) learning.
Having the logs here is better than just saying the components could not be loaded with no other information. Using an outside service is better still, I agree since Python errors are so verbose.

Okay. I’ll do that in the future.
Also annoyed me that it was not to be formatted differently.

In fact, that was the mistake what was missing for the thermostats.

apt-get install libglib2.0-dev

But what can be done to include this in the component definition or to reintegrate the missing lib in the future?
Another problem is the device_tracker - AVM FRITZ!Box Tools - Home Assistant.
I suppose this is related to the general overhaul of the function as read in the release note?

Because if the device_tracker like here:

device_tracker:
  - platform: fritz
    host: [HOST]
    username: [USER]
    password: [PASSWORD]
    new_device_defaults:
      track_new_devices: true
      hide_if_away: false

is listed in the configuration, HA will not start.
In home-assistant.log there is no error message only in syslog appears:
Jun 9 19:26:50 hassbian hass[388]: 2019-06-09 19:26:50 INFO (SyncWorker_3) [homeassistant.util.package] Attempting install of fritzconnection==0.6.5

You forgot to mark that as code, making it hard to see if what you did was formatted correctly.

It make take a few minutes to install the dependency. Worst case it make take up to half an hour. You can watch what’s happening by looking at top, or checking to see if there are any processes called cc or cc1 (ps axu|grep cc).

Like this.
HomeAss_CodeMarking_From%40finity

The lib was missing from the OS. Now it is there, you should not have this particular issue again.

Okay, sometimes later HA comes back :slight_smile:
But the devie_tracker for fritz doesn’t work…
Of course I followed the hint under Components see here output from the console:

root@hassbian:/home/pi# apt-get install python3-lxml libxslt-dev libxml2-dev zlib1g-dev
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen… Fertig
Hinweis: »libxslt1-dev« wird an Stelle von »libxslt-dev« gewählt.
libxml2-dev ist schon die neueste Version (2.9.4+dfsg1-7+b1).
libxslt1-dev ist schon die neueste Version (1.1.32-2).
python3-lxml ist schon die neueste Version (4.3.2-1).
zlib1g-dev ist schon die neueste Version (1:1.2.11.dfsg-1).
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.

The Complete Log i postet here: https://paste.ubuntu.com/p/9k5YKphBkX/
I suppose he’s having trouble with lxml. Could that be a missing lib?

Or maybe the hardware is too weak i think I’m gonna go get a Rpi 3B+ on Tuesday.

Line 191 says it hasn’t found any Bluetooth LE devices, or does it mean the tracker isn’t running correctly?

I cannot read German, but google translate tells me that you already have those packages installed.

Use better deepl.com is much better than google. But it is correct I have installed all mentioned packages before successfully.

As listed on the components page.

I found a hint somewhere else that you might still need ‘python-lxml’, I installed it once, but it’s still booting. Let’s see :slight_smile: But it takes now a long time … :stuck_out_tongue:

You have already installed it.

These packages were already installed before the log was created: python3-lxml libxslt-dev libxml2-dev zlib1g-dev.

Now, i have installed extra ‘python-lxml’

But unfortunately it wasn’t ‘python-lxml’, the device_traker doesn’t work.