Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.0.4 can't install from HACS, throws exception with trace #24

Open
baudneo opened this issue Nov 16, 2024 · 2 comments
Open

3.0.4 can't install from HACS, throws exception with trace #24

baudneo opened this issue Nov 16, 2024 · 2 comments

Comments

@baudneo
Copy link

baudneo commented Nov 16, 2024

HASS: 2024.11.2

When trying to download version 3.0.4 of this card from HACS, it fails with this error:

raceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 28, in _handle_async_response
    await func(hass, connection, msg)
  File "/config/custom_components/hacs/websocket/repository.py", line 234, in hacs_repository_download
    await repository.async_download_repository(ref=msg.get("version"))
  File "/config/custom_components/hacs/repositories/base.py", line 1436, in async_download_repository
    await self.async_install(version=ref)
  File "/config/custom_components/hacs/repositories/base.py", line 890, in async_install
    await self._async_post_install()
  File "/config/custom_components/hacs/repositories/base.py", line 909, in _async_post_install
    await self.async_post_installation()
  File "/config/custom_components/hacs/repositories/plugin.py", line 65, in async_post_installation
    await self.update_dashboard_resources()
  File "/config/custom_components/hacs/repositories/plugin.py", line 208, in update_dashboard_resources
    url = self.generate_dashboard_resource_url()
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/hacs/repositories/plugin.py", line 165, in generate_dashboard_resource_url
    if "/" in filename:
       ^^^^^^^^^^^^^^^
TypeError: argument of type 'NoneType' is not iterable

I can install 3.0.3 without issue.

@snickers2k
Copy link

snickers2k commented Nov 30, 2024

same here. just tried to install; not working. 3.0.3 no problems

@override80
Copy link

The problem is that HACS changed requirements for the github repos, which should have now topics defined (i.e. hashtags in order to let hacs properly index and categorize the integration). Github actions failed during the rollout of the release 3.0.4 and the js files where not generated.

The project seems to be abandoned though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants