Skip to content

Duplicate Repo ID #4774

Description

@ColinRobbins

Checklist

  • I have filled out the issue template to the best of my ability.
  • I have read https://hacs.xyz/docs/help/issues/
  • This issue is related to one the HACS add-ons.
  • This is a bug and not a feature request.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).

Which Add-on are you reporting an issue for?

get

Describe the issue

Seeing the following in my logs on startup...

This error originated from a custom integration.

Logger: custom_components.hacs
Source: custom_components/hacs/utils/data.py:272
integration: HACS (documentation, issues)
First occurred: 14:11:02 (1 occurrence)
Last logged: 14:11:02

<HacsData async_restore_repository> duplicate IDs The repo id for rt400/school-vacation is already set to 153006394

Later on this triggers an error...

This error originated from a custom integration.

Logger: homeassistant
Source: custom_components/hacs/base.py:290
integration: HACS (documentation, issues)
First occurred: 14:12:05 (1 occurrence)
Last logged: 14:12:05

Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
  File "/config/custom_components/hacs/base.py", line 667, in startup_tasks
    await self.async_get_all_category_repositories()
  File "/config/custom_components/hacs/base.py", line 832, in async_get_all_category_repositories
    await asyncio.gather(
    ...<4 lines>...
    )
  File "/config/custom_components/hacs/base.py", line 862, in async_get_category_repositories_experimental
    self.repositories.set_repository_id(repository, repo_id)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/hacs/base.py", line 290, in set_repository_id
    raise ValueError(
    ...<2 lines>...
    )
ValueError: The repo id for rt400/school-vacation is already set to 153006394

Add-on logs

as above

Supervisor logs

N/A

Diagnostics dump

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions