question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

activate HACS problem

See original GitHub issue

System Health details

System Health

version core-2021.2.3
installation_type Unknown
dev false
hassio false
docker false
virtualenv false
python_version 3.8.0
os_name Linux
os_version 5.4.75-meson
arch armv7l
timezone Europe/Rome
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Lovelace
dashboards 1
resources 0
views 3
mode storage

Checklist

  • I’m running the newest version of HACS https://github.com/hacs/integration/releases/latest
  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • I have read https://hacs.xyz/docs/issues
  • This issue is related to the backend (integration part) of HACS.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).

Describe the issue

I downloaded latest version ho HACS from https://github.com/hacs/integration/releases/latest/download/hacs.zip. I unzip the file into “$HOME_ASSISTANT/custom_components/hacs/” folder. when I activate hacs selected all checkbox and submit I receive an error image

Reproduction steps

  1. Download latest hacs file wget “https://github.com/hacs/integration/releases/latest/download/hacs.zip
  2. unzip the file into “$HOME_ASSISTANT/custom_components/hacs/” folder unzip hacs.zip -d hacs
  3. restart home assistant systemctl restart home-assistant.service
  4. check all checkbox to activate HACS from HomeAssistant

Debug logs

File "/home/homeassistant/.pyenv/versions/3.8.0/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 422, in _handle_request
    resp = await self._request_handler(request)
  File "/home/homeassistant/.pyenv/versions/3.8.0/lib/python3.8/site-packages/aiohttp/web_app.py", line 499, in _handle
    resp = await handler(request)
  File "/home/homeassistant/.pyenv/versions/3.8.0/lib/python3.8/site-packages/aiohttp/web_middlewares.py", line 118, in impl
    return await handler(request)
  File "/home/homeassistant/.pyenv/versions/3.8.0/lib/python3.8/site-packages/homeassistant/components/http/security_filter.py", line 56, in security_filter_middleware
    return await handler(request)
  File "/home/homeassistant/.pyenv/versions/3.8.0/lib/python3.8/site-packages/homeassistant/components/http/request_context.py", line 18, in request_context_middleware
    return await handler(request)
  File "/home/homeassistant/.pyenv/versions/3.8.0/lib/python3.8/site-packages/homeassistant/components/http/ban.py", line 72, in ban_middleware
    return await handler(request)
  File "/home/homeassistant/.pyenv/versions/3.8.0/lib/python3.8/site-packages/homeassistant/components/http/auth.py", line 127, in auth_middleware
    return await handler(request)
  File "/home/homeassistant/.pyenv/versions/3.8.0/lib/python3.8/site-packages/homeassistant/components/http/view.py", line 129, in handle
    result = await result
  File "/home/homeassistant/.pyenv/versions/3.8.0/lib/python3.8/site-packages/homeassistant/components/config/config_entries.py", line 169, in post
    return await super().post(request, flow_id)
  File "/home/homeassistant/.pyenv/versions/3.8.0/lib/python3.8/site-packages/homeassistant/components/http/data_validator.py", line 60, in wrapper
    result = await method(view, request, *args, **kwargs)
  File "/home/homeassistant/.pyenv/versions/3.8.0/lib/python3.8/site-packages/homeassistant/helpers/data_entry_flow.py", line 106, in post
    result = await self._flow_mgr.async_configure(flow_id, data)
  File "/home/homeassistant/.pyenv/versions/3.8.0/lib/python3.8/site-packages/homeassistant/data_entry_flow.py", line 155, in async_configure
    result = await self._async_handle_step(flow, cur_step["step_id"], user_input)
  File "/home/homeassistant/.pyenv/versions/3.8.0/lib/python3.8/site-packages/homeassistant/data_entry_flow.py", line 213, in _async_handle_step
    result: Dict = await getattr(flow, method)(user_input)
  File "/mnt/dietpi_userdata/homeassistant/custom_components/hacs/config_flow.py", line 49, in async_step_user
    return await self.async_step_device(user_input)
  File "/mnt/dietpi_userdata/homeassistant/custom_components/hacs/config_flow.py", line 74, in async_step_device
    **{"client_name": f"HACS/{integration.version}"},
AttributeError: 'Integration' object has no attribute 'version'

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
biagioDOcommented, Sep 17, 2021

I downgrade to 1.14.1 version

0reactions
biagioDOcommented, Sep 22, 2021

I downloaded the zip file from https://github.com/hacs/integration/releases/tag/1.14.1 To install see the section “Reproduction steps” above

Read more comments on GitHub >

github_iconTop Results From Across the Web

HACS installation problems - Home Assistant Community
I have reinstalled HA+OS, then I have tryied to setup HACS from Integration - if I click on HACS app then a waiting...
Read more >
unable to activate device at installations · Issue #2856 - GitHub
I'm running the newest version of HACS https://github.com/hacs/integration/releases/latest · I have enabled debug logging for my installation. · I ...
Read more >
Download - HACS
Go to the Add-on store; Install one of the SSH add-ons (you need to enable advanced mode in your user profile to see...
Read more >
How to Install HACS on Home Assistant in 2022 - WunderTech
1. Select your User Account in the bottom left. selecting the user account in home assistant. · 2. Enable Advanced Mode in the...
Read more >
How to install & use Home Assistant Community Store (HACS)
You can further enable AppDaemon and NetDaemon apps discovery & tracking. In simple words these are more option to customize your Home Assistant ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found