You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NAS Model: DS213+ NAS Architecture: FREESCALE QorIQ P1022 DSM version: DSM 6.2.4-25556 Update 2
Expected behavior
I enabled the pushover integration, and expected Home Assistant to install the required dependencies and start working.
Actual behavior
It looks like HA installs the dependencies in the wrong location, and then can't find it afterwards.
Logger: homeassistant.config
Source: components/pushover/notify.py:4
First occurred: 12:24:34 PM (1 occurrences)
Last logged: 12:24:34 PM
Platform error: notify
Traceback (most recent call last):
File "/volume1/@appstore/homeassistant/env/lib/python3.8/site-packages/homeassistant/config.py", line 891, in async_process_component_config
platform = p_integration.get_platform(domain)
File "/volume1/@appstore/homeassistant/env/lib/python3.8/site-packages/homeassistant/loader.py", line 524, in get_platform
cache[full_name] = self._import_platform(platform_name)
File "/volume1/@appstore/homeassistant/env/lib/python3.8/site-packages/homeassistant/loader.py", line 529, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
File "/var/packages/python38/target/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 843, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/volume1/@appstore/homeassistant/env/lib/python3.8/site-packages/homeassistant/components/pushover/notify.py", line 4, in <module>
from pushover_complete import PushoverAPI
ModuleNotFoundError: No module named 'pushover_complete'
HA seems to be running using a virtualenv in /volume1/@appstore/homeassistant/env, which contains all the pre-installed dependencies. I see the pushover package is installed into what looks like the user site-packages in /volume1/@appstore/homeassistant/.local/lib/python3.8/site-packages, but HA can't find it there.
Looking closer, it seems this also affects Chromecast, it is complaining about not finding pychromecast, which is also installed in the other location.
Steps to reproduce
1. Edit /volume1/@appstore/homeassistant/var/config/configuration.yaml and add a notify entry for Pushover 2. Check logs
Setup
Package Name: homeassistant
Package Version: 2021.9.7-15
NAS Model: DS213+
NAS Architecture: FREESCALE QorIQ P1022
DSM version: DSM 6.2.4-25556 Update 2
Expected behavior
I enabled the pushover integration, and expected Home Assistant to install the required dependencies and start working.
Actual behavior
It looks like HA installs the dependencies in the wrong location, and then can't find it afterwards.
HA seems to be running using a virtualenv in
/volume1/@appstore/homeassistant/env
, which contains all the pre-installed dependencies. I see the pushover package is installed into what looks like the user site-packages in/volume1/@appstore/homeassistant/.local/lib/python3.8/site-packages
, but HA can't find it there.Looking closer, it seems this also affects Chromecast, it is complaining about not finding
pychromecast
, which is also installed in the other location.Steps to reproduce
1. Edit
/volume1/@appstore/homeassistant/var/config/configuration.yaml
and add anotify
entry for Pushover2. Check logs
Package log
Package log: homeassistant.log
Installer log: install-homeassistant.log
The text was updated successfully, but these errors were encountered: