Installed HACS on Hassio 0.98.5. Not loading, halts Hassio
See original GitHub issueVersion of HACS
.13.3
Describe the bug
A clear and concise description of what the bug is.
Fresh install of HACS locks up hassio. Check config fails. Reboot doesn’t even load HA.
Debug log
2019-09-16 12:31:54 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-09-16 12:33:41 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start
resp = await task
File "/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py", line 458, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 119, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/real_ip.py", line 40, in real_ip_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 73, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 231, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 128, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/config/core.py", line 29, in post
errors = await async_check_ha_config_file(request.app["hass"])
File "/usr/src/homeassistant/homeassistant/config.py", line 807, in async_check_ha_config_file
res = await check_config.async_check_ha_config_file(hass)
File "/usr/src/homeassistant/homeassistant/helpers/check_config.py", line 107, in async_check_ha_config_file
integration = await async_get_integration_with_requirements(hass, domain)
File "/usr/src/homeassistant/homeassistant/requirements.py", line 46, in async_get_integration_with_requirements
await async_process_requirements(hass, integration.domain, integration.requirements)
File "/usr/src/homeassistant/homeassistant/requirements.py", line 67, in async_process_requirements
if pkg_util.is_installed(req):
File "/usr/src/homeassistant/homeassistant/util/package.py", line 45, in is_installed
return version(req.project_name) in req
File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3128, in __contains__
return self.specifier.contains(item, prereleases=True)
File "/usr/local/lib/python3.7/site-packages/pkg_resources/_vendor/packaging/specifiers.py", line 703, in contains
item = parse(item)
File "/usr/local/lib/python3.7/site-packages/pkg_resources/_vendor/packaging/version.py", line 31, in parse
return Version(version)
File "/usr/local/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
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Installed HACS on Hassio 0.98.5. Not loading, halts ... - GitHub
A clear and concise description of what the bug is. Fresh install of HACS locks up hassio. Check config fails. Reboot doesn't even...
Read more >HACs.. Some intergrations wont install others wont update!
I can install in the front end without issue but when i try to install a integration it appears to install but never...
Read more >Download - HACS
Open your Home Assistant instance and show your Home Assistant version information. OS/Supervised; Container; Core. Go to the Add-on store; Install one of...
Read more >Missing Hacs? How to repair a Hacs installation after ...
Recently I upgraded my Home-Assistant supervised (formerly Hassio) installation from 0.113.4 to 0.114.3 (I usually like to wait for a couple ...
Read more >HACS Update Failing (HACS v.1.16.0 | HA v.2022.3.5) - Reddit
The Librarian on Dr Zzs Discord clued me in to the solution: redownload HACS using the instructions at hacs.xyz/docs/setup/download Once ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Apologizes, was out of pocket for work. I found the problem. I had Alexa Media package installed under custom components. I am running 0.99.2 HA. When booting it would traceback on that package because of the change from MEDIA_PLAYER_SCHEMA to PLATFORM_SCHEMA. I manually updated media_player.py line 53 to reference PLATFORM_SCHEMA and now HACS loads correctly. Why HACs would get hung up with HA on this I am uncertain but I figured I would pass along what I found.
Hi, @martoq
This issue is closed, closed issues are ignored. If you have issues similar to this, please open a seperate issue.
https://github.com/custom-components/hacs/issues/new/choose
And remember to fill out the entire issue template 😃
This message was automatically generated by
hacs-bot
👾