#3 Unable to activate Avea plugin on Ubuntu Core 20; make missing

Closed
opened 3 years ago by oerli · 4 comments
oerli commented 3 years ago

Hello

I tried to activate the avea plugin in the configuration.yaml as described in https://www.home-assistant.io/integrations/avea/ But if I do so, i got following error message, as it seems make is missing. Would it might be possible to add make to the home-assistant-toolbox or is this of ubuntu core not possible or would i need another existing snap? I tried this on Ubuntu Core 20 on a Raspberry Pi 4. I created the issue here as it appears on home-assistant-snap but it might be needs to be moved.

Kind Regards Roland

Logger: homeassistant.util.package
Source: util/package.py:95 
First occurred: 9:54:40 AM (1 occurrences) 
Last logged: 9:54:40 AM 
Unable to install package avea==1.5.1: ERROR: Command errored out with exit status 1: command: /snap/home-assistant-snap/111/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-08ydlyiu/bluepy/setup.py'"'"'; __file__='"'"'/tmp/pip-install-08ydlyiu/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-uynwj599 cwd: /tmp/pip-install-08ydlyiu/bluepy/ Complete output (6 lines): running bdist_wheel running build running build_py Working dir is /tmp/pip-install-08ydlyiu/bluepy execute make -C ./bluepy clean error: [Errno 2] No such file or directory: 'make' ---------------------------------------- ERROR: Failed building wheel for bluepy ERROR: Command errored out with exit status 1: command: /snap/home-assistant-snap/111/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-08ydlyiu/bluepy/setup.py'"'"'; __file__='"'"'/tmp/pip-install-08ydlyiu/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-4s3pa1k1/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers include/site/python3.8/bluepy cwd: /tmp/pip-install-08ydlyiu/bluepy/ Complete output (6 lines): running install running build running build_py Working dir is /tmp/pip-install-08ydlyiu/bluepy execute make -C ./bluepy clean error: [Errno 2] No such file or directory: 'make' ---------------------------------------- ERROR: Command errored out with exit status 1: /snap/home-assistant-snap/111/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-08ydlyiu/bluepy/setup.py'"'"'; __file__='"'"'/tmp/pip-install-08ydlyiu/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-4s3pa1k1/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers include/site/python3.8/bluepy Check the logs for full command output. WARNING: You are using pip version 20.2.4; however, version 21.0.1 is available. You should consider upgrading via the '/snap/home-assistant-snap/111/bin/python3 -m pip install --upgrade pip' command. 
Hello I tried to activate the avea plugin in the configuration.yaml as described in https://www.home-assistant.io/integrations/avea/ But if I do so, i got following error message, as it seems make is missing. Would it might be possible to add make to the home-assistant-toolbox or is this of ubuntu core not possible or would i need another existing snap? I tried this on Ubuntu Core 20 on a Raspberry Pi 4. I created the issue here as it appears on home-assistant-snap but it might be needs to be moved. Kind Regards Roland ``` Logger: homeassistant.util.package
Source: util/package.py:95 
First occurred: 9:54:40 AM (1 occurrences) 
Last logged: 9:54:40 AM Unable to install package avea==1.5.1: ERROR: Command errored out with exit status 1: command: /snap/home-assistant-snap/111/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-08ydlyiu/bluepy/setup.py'"'"'; __file__='"'"'/tmp/pip-install-08ydlyiu/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-uynwj599 cwd: /tmp/pip-install-08ydlyiu/bluepy/ Complete output (6 lines): running bdist_wheel running build running build_py Working dir is /tmp/pip-install-08ydlyiu/bluepy execute make -C ./bluepy clean error: [Errno 2] No such file or directory: 'make' ---------------------------------------- ERROR: Failed building wheel for bluepy ERROR: Command errored out with exit status 1: command: /snap/home-assistant-snap/111/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-08ydlyiu/bluepy/setup.py'"'"'; __file__='"'"'/tmp/pip-install-08ydlyiu/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-4s3pa1k1/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers include/site/python3.8/bluepy cwd: /tmp/pip-install-08ydlyiu/bluepy/ Complete output (6 lines): running install running build running build_py Working dir is /tmp/pip-install-08ydlyiu/bluepy execute make -C ./bluepy clean error: [Errno 2] No such file or directory: 'make' ---------------------------------------- ERROR: Command errored out with exit status 1: /snap/home-assistant-snap/111/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-08ydlyiu/bluepy/setup.py'"'"'; __file__='"'"'/tmp/pip-install-08ydlyiu/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-4s3pa1k1/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers include/site/python3.8/bluepy Check the logs for full command output. WARNING: You are using pip version 20.2.4; however, version 21.0.1 is available. You should consider upgrading via the '/snap/home-assistant-snap/111/bin/python3 -m pip install --upgrade pip' command. ```

Hi,

I'll look into it, and will try to add it to the toolbox. ☺️ It should work as long as it's not trying to write to read-only volumes.

I'll keep you posted. :)

Hi, I'll look into it, and will try to add it to the toolbox. ☺️ It should work as long as it's not trying to write to read-only volumes. I'll keep you posted. :)

Hi,

Just wanted to update you on this. I haven't forgotten about it, but haven't had time to focus on it. But I can see that the Avea integration is a part of the core, so from a user perspective this should probably be a part of the main package and not in the toolbox.

What do you think?

Hi, Just wanted to update you on this. I haven't forgotten about it, but haven't had time to focus on it. But I can see that the Avea integration is a part of the core, so from a user perspective this should probably be a part of the main package and not in the toolbox. What do you think?
oerli commented 3 years ago
Poster

Hi, well i would agree that from user perspective it might makes more sense to put it in the main package. I hope it's not too complicated with the build-essentials package or make which might go to write data on read only filesystems... I'm anyway excited on any progress :) and I would thank you for the time you spend on this topic!

Hi, well i would agree that from user perspective it might makes more sense to put it in the main package. I hope it's not too complicated with the build-essentials package or make which might go to write data on read only filesystems... I'm anyway excited on any progress :) and I would thank you for the time you spend on this topic!

Hi,

I think this should be fixed with installing the home-assistant-toolbox which includes make.

Feel free to re-open if that is not the case.

Hi, I think this should be fixed with installing the `home-assistant-toolbox` which includes make. Feel free to re-open if that is not the case.
Sign in to join this conversation.
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.