tracking-number-card icon indicating copy to clipboard operation
tracking-number-card copied to clipboard

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

Open baudneo opened this issue 1 year ago • 3 comments

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.

baudneo avatar Nov 16 '24 23:11 baudneo

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

snickers2k avatar Nov 30 '24 08:11 snickers2k

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.

override80 avatar Feb 03 '25 08:02 override80

Is it really abandoned? If so is there a replacement?

Bluscream avatar Nov 12 '25 16:11 Bluscream