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

Removed repository: button to ignore or remove custom component does not work #3212

Closed
6 tasks done
XalaTheShepard opened this issue Aug 4, 2023 · 8 comments · Fixed by #3232
Closed
6 tasks done
Labels
Missing required issue information Added to issues with missing information from the issue template

Comments

@XalaTheShepard
Copy link

XalaTheShepard commented Aug 4, 2023

Web browser

Google Chrome / Mozilla Firefox / Chromium

Web browser version

Latest

System Health details

System Information

version core-2023.8.0
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.11.4
os_name Linux
os_version 6.1.39
arch x86_64
timezone Europe/Brussels
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 4987
Installed Version 1.32.1
Stage running
Available Repositories 1343
Downloaded Repositories 50
AccuWeather
can_reach_server ok
remaining_requests 49
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 10.4
update_channel stable
supervisor_version supervisor-2023.07.1
agent_version 1.5.1
docker_version 23.0.6
disk_total 97.7 GB
disk_used 22.1 GB
healthy true
supported true
board ova
supervisor_api ok
version_api ok
installed_addons Duck DNS (1.15.0), File editor (5.6.0), AppDaemon (0.13.3), Spotify Connect (0.12.4), Terminal & SSH (9.7.1), Home Assistant Google Drive Backup (0.111.1), Node-RED (14.4.3), AdGuard Home (4.8.13), Samba share (10.0.2), Studio Code Server (5.10.0), UniFi Network Application (2.7.0), Mosquitto broker (6.2.1), PS5 MQTT (1.3.1)
Dashboards
dashboards 4
resources 16
views 21
mode storage
Recorder
oldest_recorder_run July 26, 2023 at 2:02 PM
current_recorder_run August 3, 2023 at 2:22 PM
estimated_db_size 518.96 MiB
database_engine sqlite
database_version 3.41.2
Spotify
api_endpoint_reachable ok

Checklist

Describe the issue

After updating to the latest HA core release (not related) I got the message in HACS that one of my repositories has been deleted.
I have opened this message by pressing on show.
Since I wanted to keep that custom component, I have selected the button "ignore".
Both on my smartphone as on my pc, this button does nothing and the message remains.
I have made a copy of the folder of the custom component and pressed the button remove.
But this button also does nothing in both the Android application of HA and in the web browser on my pc.

Reproduction steps

  1. Have a custom component installed of which the repository has been removed
  2. Open HACS and click on the button "Show" in the error message.
  3. Try the buttons "Ignore" or "Remove" that do not respond.
    ...

Screenshots

image

Javascript logs from your browser console


github-entity-row.js…stag=184658908210:1 Uncaught ReferenceError: Polymer is not defined
    at github-entity-row.js…g=184658908210:1:31

Diagnostics dump

https://xala-the-shepherd.synology.me:8123/hacsfiles/lovelace-github-entity-row/github-entity-row.js?hacstag=184658908210:1:31 Uncaught ReferenceError: Polymer is not defined
6:05:09 PM – (ERROR) components/system_log/init.py - message first occurred at August 3, 2023 at 2:40:50 PM and shows up 15 times
[140534264650944] Error handling message: Unknown error (unknown_error) Robin De Becker from 2a02:1811:2d2d:2b00:d8a6:e1c7:369c:8f12 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36)
4:55:39 PM – (ERROR) Home Assistant WebSocket API (custom integration) - message first occurred at August 3, 2023 at 2:44:50 PM and shows up 3 times
[140536262029248] Error handling message: Unknown error (unknown_error) Robin De Becker from 192.168.0.1 (Mozilla/5.0 (Linux; Android 10; VOG-L29 Build/HUAWEIVOG-L29; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/114.0.5735.196 Mobile Safari/537.36 Home Assistant/2023.7.5-10506 (Android 10; VOG-L29))
4:36:18 PM – (ERROR) Home Assistant WebSocket API (custom integration) - message first occurred at 4:33:58 PM and shows up 3 times
<Integration geertmeersman/telenet> GitHub returned HttpStatusCode.NOT_FOUND for https://api.github.com/repos/geertmeersman/telenet
4:36:18 PM – (ERROR) HACS (custom integration) - message first occurred at August 3, 2023 at 2:26:10 PM and shows up 4 times
https://xala-the-shepherd.synology.me:8123/hacsfiles/lovelace-github-entity-row/github-entity-row.js?hacstag=184658908210:1:31 Uncaught ReferenceError: Polymer is not defined
7:50:00 AM – (ERROR) components/system_log/init.py
No manifest.json file found 'custom_components/None/manifest.json'
August 3, 2023 at 2:26:19 PM – (ERROR) HACS (custom integration)

@XalaTheShepard XalaTheShepard added the issue:frontend For issues with the frontend/UI label Aug 4, 2023
@hacs-bot
Copy link

hacs-bot bot commented Aug 4, 2023

Make sure you have read the issue guidelines and that you filled out the entire template.

If you have an issue identical to this, do not add comments like "same here", "i have this too", instead add a 👍 reaction to the issue description. Thanks! 👍

@ludeeus
Copy link
Member

ludeeus commented Aug 4, 2023

Post diagostics,

@ludeeus ludeeus added Missing required issue information Added to issues with missing information from the issue template and removed issue:frontend For issues with the frontend/UI labels Aug 4, 2023
@XalaTheShepard
Copy link
Author

https://xala-the-shepherd.synology.me:8123/hacsfiles/lovelace-github-entity-row/github-entity-row.js?hacstag=184658908210:1:31 Uncaught ReferenceError: Polymer is not defined
6:05:09 PM – (ERROR) components/system_log/init.py - message first occurred at August 3, 2023 at 2:40:50 PM and shows up 15 times
[140534264650944] Error handling message: Unknown error (unknown_error) Robin De Becker from 2a02:1811:2d2d:2b00:d8a6:e1c7:369c:8f12 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36)
4:55:39 PM – (ERROR) Home Assistant WebSocket API (custom integration) - message first occurred at August 3, 2023 at 2:44:50 PM and shows up 3 times
[140536262029248] Error handling message: Unknown error (unknown_error) Robin De Becker from 192.168.0.1 (Mozilla/5.0 (Linux; Android 10; VOG-L29 Build/HUAWEIVOG-L29; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/114.0.5735.196 Mobile Safari/537.36 Home Assistant/2023.7.5-10506 (Android 10; VOG-L29))
4:36:18 PM – (ERROR) Home Assistant WebSocket API (custom integration) - message first occurred at 4:33:58 PM and shows up 3 times
<Integration geertmeersman/telenet> GitHub returned HttpStatusCode.NOT_FOUND for https://api.github.com/repos/geertmeersman/telenet
4:36:18 PM – (ERROR) HACS (custom integration) - message first occurred at August 3, 2023 at 2:26:10 PM and shows up 4 times
https://xala-the-shepherd.synology.me:8123/hacsfiles/lovelace-github-entity-row/github-entity-row.js?hacstag=184658908210:1:31 Uncaught ReferenceError: Polymer is not defined
7:50:00 AM – (ERROR) components/system_log/init.py
No manifest.json file found 'custom_components/None/manifest.json'
August 3, 2023 at 2:26:19 PM – (ERROR) HACS (custom integration)

@ludeeus
Copy link
Member

ludeeus commented Aug 4, 2023

That is not diagnostics

@XalaTheShepard
Copy link
Author

Could you please inform me how I can get the diagnostics? I really don't know what it could otherwise be

@Qusse
Copy link

Qusse commented Aug 5, 2023

Logger: homeassistant.components.websocket_api.http.connection
Source: custom_components/hacs/websocket/repository.py:106
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: August 4, 2023 at 17:45:54 (11 occurrences)
Last logged: 10:24:51

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 26, in _handle_async_response
    await func(hass, connection, msg)
  File "/config/custom_components/hacs/websocket/repository.py", line 106, in hacs_repository_ignore
    hacs.common.ignored_repositories.add(repository.data.full_name)
                                         ^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'data'

This is the error logged when pressing "ignore" button.

@juliandsp91
Copy link

Hi there! I have the same problem. Here is the error logged after pressing "ignore" button:

Logger: homeassistant.components.websocket_api.http.connection
Source: custom_components/hacs/websocket/repository.py:106
Integration: Home Assistant WebSocket API ([documentation](https://www.home-assistant.io/integrations/websocket_api), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+websocket_api%22))
First occurred: 10:42:29 AM (1 occurrences)
Last logged: 10:42:29 AM

[140066974664256] Error handling message: Unknown error (unknown_error) Julian from 127.0.0.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 26, in _handle_async_response
    await func(hass, connection, msg)
  File "/config/custom_components/hacs/websocket/repository.py", line 106, in hacs_repository_ignore
    hacs.common.ignored_repositories.add(repository.data.full_name)
                                         ^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'data'

Hope it helps!

@garry0garry
Copy link

Home Assistant 2023.8.4, Home Assistant Community Store 1.32.1.

Removed https://github.com/JimStar/reolink_cctv integration from GitHub. How to remove this integration from HACS? There is no "three dots" menu.

изображение

Logger: custom_components.hacs
Source: custom_components/hacs/utils/queue_manager.py:71
Integration: HACS (documentation, issues)
First occurred: 13:28:07 (1 occurrences)
Last logged: 13:28:07

<QueueManager> No manifest.json file found 'custom_components/None/manifest.json'
Logger: custom_components.hacs
Source: custom_components/hacs/repositories/base.py:519
Integration: HACS (documentation, issues)
First occurred: 13:28:05 (2 occurrences)
Last logged: 13:28:24

<Integration JimStar/reolink_cctv> GitHub returned HttpStatusCode.NOT_FOUND for https://api.github.com/repos/JimStar/reolink_cctv

@github-actions github-actions bot locked and limited conversation to collaborators Sep 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Missing required issue information Added to issues with missing information from the issue template
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants