Hi to all,
I recently started to get that error on trying to start HA core on Synology NAS. It was running before. I tried to fix it by chmod -R 755 pycparser-2.21.dist-info
and chown -R sc-homeassistant:synocommunity pycparser-2.21.dist-info
without success even all other similar files/packages in the given directory have those permissions.
I even tried chmod 777 without success.
What else needs to be done to get HA core running again?
Tue May 16 18:12:46 CEST 2023
Starting homeassistant command /volume1/@appstore/homeassistant/env/bin/hass -v --config /volume1/@appdata/homeassistant/config --log-file /volume1/@appdata/homeassistant/homeassistant.log
Traceback (most recent call last):
File "/volume1/@appstore/homeassistant/env/bin/hass", line 8, in <module>
sys.exit(main())
File "/volume1/@appstore/homeassistant/env/lib/python3.10/site-packages/homeassistant/__main__.py", line 169, in main
args = get_arguments()
File "/volume1/@appstore/homeassistant/env/lib/python3.10/site-packages/homeassistant/__main__.py", line 69, in get_arguments
from . import config as config_util
File "/volume1/@appstore/homeassistant/env/lib/python3.10/site-packages/homeassistant/config.py", line 20, in <module>
from . import auth
File "/volume1/@appstore/homeassistant/env/lib/python3.10/site-packages/homeassistant/auth/__init__.py", line 19, in <module>
from .mfa_modules import MultiFactorAuthModule, auth_mfa_module_from_config
File "/volume1/@appstore/homeassistant/env/lib/python3.10/site-packages/homeassistant/auth/mfa_modules/__init__.py", line 12, in <module>
from homeassistant import data_entry_flow, requirements
File "/volume1/@appstore/homeassistant/env/lib/python3.10/site-packages/homeassistant/requirements.py", line 10, in <module>
import pkg_resources
File "/volume1/@appstore/homeassistant/env/lib/python3.10/site-packages/pkg_resources/__init__.py", line 3260, in <module>
def _initialize_master_working_set():
File "/volume1/@appstore/homeassistant/env/lib/python3.10/site-packages/pkg_resources/__init__.py", line 3234, in _call_aside
f(*args, **kwargs)
File "/volume1/@appstore/homeassistant/env/lib/python3.10/site-packages/pkg_resources/__init__.py", line 3272, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/volume1/@appstore/homeassistant/env/lib/python3.10/site-packages/pkg_resources/__init__.py", line 572, in _build_master
ws = cls()
File "/volume1/@appstore/homeassistant/env/lib/python3.10/site-packages/pkg_resources/__init__.py", line 565, in __init__
self.add_entry(entry)
File "/volume1/@appstore/homeassistant/env/lib/python3.10/site-packages/pkg_resources/__init__.py", line 621, in add_entry
for dist in find_distributions(entry, True):
File "/volume1/@appstore/homeassistant/env/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2096, in find_on_path
for dist in factory(fullpath):
File "/volume1/@appstore/homeassistant/env/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2154, in distributions_from_metadata
if len(os.listdir(path)) == 0:
PermissionError: [Errno 13] Permission denied: '/volume1/@appstore/python310/lib/python3.10/site-packages/pycparser-2.21.dist-info'