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

AttributeError: 'NoneType' object has no attribute 'repositories' #2975

Closed
7 tasks done
jomach opened this issue Dec 30, 2022 · 2 comments
Closed
7 tasks done

AttributeError: 'NoneType' object has no attribute 'repositories' #2975

jomach opened this issue Dec 30, 2022 · 2 comments
Labels
Missing required issue information Added to issues with missing information from the issue template

Comments

@jomach
Copy link

jomach commented Dec 30, 2022

System Health details

System Information

version core-2022.12.8
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.10.7
os_name Linux
os_version 5.15.76-v8
arch aarch64
timezone Europe/Berlin
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 4324
Installed Version 1.29.0
Stage running
Available Repositories 1268
Downloaded Repositories 4
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 9.4
update_channel stable
supervisor_version supervisor-2022.12.1
agent_version 1.4.1
docker_version 20.10.19
disk_total 57.8 GB
disk_used 9.1 GB
healthy true
supported true
board rpi4-64
supervisor_api ok
version_api ok
installed_addons Terminal & SSH (9.6.1), Studio Code Server (5.5.1), Mosquitto broker (6.1.3), deCONZ (6.17.1), Node-RED (14.0.0), Zigbee2MQTT (1.28.4-1)
Dashboards
dashboards 3
resources 1
views 7
mode storage
Recorder
oldest_recorder_run December 20, 2022 at 9:21 PM
current_recorder_run December 29, 2022 at 9:58 PM
estimated_db_size 67.99 MiB
database_engine sqlite
database_version 3.38.5

Checklist

Describe the issue

I'm getting

2022-12-30 07:02:02.712 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [546873685904] Error handling message: Unknown error (unknown_error) from 2a02:810d:bcc0:5dc::b657 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 27, in _handle_async_response
await func(hass, connection, msg)
File "/config/custom_components/hacs/websocket/repositories.py", line 68, in hacs_repositories_list
for repo in hacs.repositories.list_all
AttributeError: 'NoneType' object has no attribute 'repositories'

my hacs page does not load fully now. I cannot see the frontend tab for example.

Reproduction steps

...
s

Debug logs

2022-12-30 07:02:02.712 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [546873685904] Error handling message: Unknown error (unknown_error) from 2a02:810d:bcc0:5dc::b657 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 27, in _handle_async_response
await func(hass, connection, msg)
File "/config/custom_components/hacs/websocket/repositories.py", line 68, in hacs_repositories_list
for repo in hacs.repositories.list_all
AttributeError: 'NoneType' object has no attribute 'repositories'

Diagnostics dump

No response

@jomach jomach added the issue:backend For issues with the backend/integration label Dec 30, 2022
@hacs-bot
Copy link

hacs-bot bot commented Dec 30, 2022

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 ludeeus added Missing required issue information Added to issues with missing information from the issue template and removed issue:backend For issues with the backend/integration labels Dec 30, 2022
@shurickdaryin

This comment was marked as duplicate.

@ludeeus ludeeus closed this as not planned Won't fix, can't repro, duplicate, stale Feb 19, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Mar 5, 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

No branches or pull requests

3 participants