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

Can't install update #188

Closed
beastien opened this issue Aug 22, 2023 · 9 comments
Closed

Can't install update #188

beastien opened this issue Aug 22, 2023 · 9 comments

Comments

@beastien
Copy link

I'm trying to update from 1.1.19 to 1.1.21 and it sits on installing update indefinitely and never installs.

@beastien
Copy link
Author

Getting this error in HA log.

This error originated from a custom integration.

Logger: homeassistant.setup
Source: custom_components/bureau_of_meteorology/init.py:32
Integration: Bureau of Meteorology (documentation, issues)
First occurred: 6:28:02 PM (1 occurrences)
Last logged: 6:28:02 PM

Setup failed for custom integration bureau_of_meteorology: Unable to import component: No module named 'custom_components.bureau_of_meteorology.PyBoM.collector'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 215, in _async_setup_component
component = integration.get_component()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 813, in get_component
ComponentProtocol, importlib.import_module(self.pkg_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/config/custom_components/bureau_of_meteorology/init.py", line 32, in
from .PyBoM.collector import Collector
ModuleNotFoundError: No module named 'custom_components.bureau_of_meteorology.PyBoM.collector'

@DavidFW1960
Copy link

Try manually updating. You have to update to fix this

@beastien
Copy link
Author

Is it normal for it to say there is still an update available after manually updating?

@DavidFW1960
Copy link

No but it seems your HACS is broken

@beastien
Copy link
Author

Any idea how I could fix it?

@beastien
Copy link
Author

beastien commented Sep 7, 2023

It couldn't update because HA couldn't contact the Github server. Fixed it by disabling IPV6 in HA network settings.

@DavidFW1960
Copy link

I only have HA connected to IPv6 so it's not IPv6 itself causing an issue

@Steve2017
Copy link

Steve2017 commented Sep 7, 2023

I have v1.1.20 installed. When I try to update to v1.1.21, nothing changes.

I have deleted the integration in both Integrations and HACS and reinstalled - selecting v1.1.21, but it still just loads v1.1.20. The manifest.json says it is v1.1.21, but on the HACS integration page it is still v20 and showing that v21 is available.

Also on on the HA warning about a deprecated attribute (#189)... I also changed weather.py as per #190 and that makes the error go away.

@Makin-Things
Copy link
Collaborator

@Steve2017 not related to this issue. 1.1.20 is still the current release until either @bremor or I get time to check that the PR for 1.1.21 is in fact going to fix the issue properly. Closing this as the OP appears to have found a solution to his problem, which was related to HACS and not this integration.

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

4 participants