core: gstreamer integration unable to start
The problem
When adding a gstreamer media player to the config the following error occurs:
[homeassistant.components.hassio] Platform error media_player.gstreamer - No module named 'gi'
Environment
Running as supervised docker version 0.110.5 on x86_64 box with Ubuntu 20.04
- Home Assistant Core release with the issue: 0.110.5
- Last working Home Assistant Core release (if known):
- Operating environment (Home Assistant/Supervised/Docker/venv): Supervised
- Integration causing this issue: gstreamer
- Link to integration documentation on our website: https://www.home-assistant.io/integrations/gstreamer/
Problem-relevant configuration.yaml
media_player:
- platform: gstreamer
pipeline: "audioresample ! audioconvert ! audio/x-raw,rate=48000,channels=2,format=S16LE ! wavenc ! filesink location=/tmp/snapcast_gstreamer"
Traceback/Error logs
ERROR (MainThread) [homeassistant.components.hassio] Platform error media_player.gstreamer - No module named 'gi'
Additional information
I know the gstreamer integration requires a few additional packages but the consensus from the discord channel is that the docker image should already have everything that’s needed. For that reason, I did not run the commands on the documentation page as they seem like they are for other patforms.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 15 (5 by maintainers)
I have this issue too Installing the required packages on the host won’t do anything obviously and I can’t install anything inside the homeassistant container as it’s rebuilt quite often in a supervised installation.
Please fix this