I’m running HA via Hassbian (Python virtual env install) on Raspberry Pi. Python 3.7
I was on 0.107.7 and upgraded to 0.109.3. However, this is what I see in log and HA is not accessible via web UI:
2020-05-04 22:52:53 ERROR (MainThread) [homeassistant.bootstrap] Error setting up integration panel_iframe - received exception
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 50, in async_setup_component
return await task # type: ignore
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 129, in _async_setup_component
await async_process_deps_reqs(hass, config, integration)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 288, in async_process_deps_reqs
hass, config, integration.domain, integration.dependencies
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 73, in _async_process_dependencies
results = await asyncio.gather(*tasks)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 44, in async_setup_component
return await setup_tasks[domain] # type: ignore
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 50, in async_setup_component
return await task # type: ignore
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 129, in _async_setup_component
await async_process_deps_reqs(hass, config, integration)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 294, in async_process_deps_reqs
hass, integration.domain
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/requirements.py", line 78, in async_get_integration_with_requirements
hass, integration.domain, integration.requirements
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/requirements.py", line 124, in async_process_requirements
if pkg_util.is_installed(req):
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/util/package.py", line 44, in is_installed
return version(req.project_name) in req
File "/srv/homeassistant/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3138, in __contains__
return self.specifier.contains(item, prereleases=True)
File "/srv/homeassistant/lib/python3.7/site-packages/pkg_resources/_vendor/packaging/specifiers.py", line 703, in contains
item = parse(item)
File "/srv/homeassistant/lib/python3.7/site-packages/pkg_resources/_vendor/packaging/version.py", line 31, in parse
return Version(version)
File "/srv/homeassistant/lib/python3.7/site-packages/pkg_resources/_vendor/packaging/version.py", line 200, in __init__
match = self._regex.search(version)
TypeError: expected string or bytes-like object
2020-05-04 22:52:53 ERROR (MainThread) [homeassistant.bootstrap] Error setting up integration frontend - received exception
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 50, in async_setup_component
return await task # type: ignore
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 129, in _async_setup_component
await async_process_deps_reqs(hass, config, integration)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 288, in async_process_deps_reqs
hass, config, integration.domain, integration.dependencies
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 73, in _async_process_dependencies
results = await asyncio.gather(*tasks)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 44, in async_setup_component
return await setup_tasks[domain] # type: ignore
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 50, in async_setup_component
return await task # type: ignore
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 129, in _async_setup_component
await async_process_deps_reqs(hass, config, integration)
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 294, in async_process_deps_reqs
hass, integration.domain
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/requirements.py", line 78, in async_get_integration_with_requirements
hass, integration.domain, integration.requirements
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/requirements.py", line 124, in async_process_requirements
if pkg_util.is_installed(req):
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/util/package.py", line 44, in is_installed
return version(req.project_name) in req
File "/srv/homeassistant/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3138, in __contains__
return self.specifier.contains(item, prereleases=True)
File "/srv/homeassistant/lib/python3.7/site-packages/pkg_resources/_vendor/packaging/specifiers.py", line 703, in contains
item = parse(item)
File "/srv/homeassistant/lib/python3.7/site-packages/pkg_resources/_vendor/packaging/version.py", line 31, in parse
return Version(version)
File "/srv/homeassistant/lib/python3.7/site-packages/pkg_resources/_vendor/packaging/version.py", line 200, in __init__
match = self._regex.search(version)
TypeError: expected string or bytes-like object
Initially, I got this error with cloud
integration. I was using default_config:
but after changing to config:
I get this error with frontend. I feel like one or more dependencies did not get upgraded.
Any ideas or help is appreciated.
Thanks.
Atharva