ianByrne / HASS-ukho_tides

Home Assistant integration for tide information
MIT License
28 stars 6 forks source link

Stopped working November 2024 #32

Open GeorgeBR opened 3 days ago

GeorgeBR commented 3 days ago

I upgraded to version 71c9bed and everything stopped working. However, when I try to re-install I get an HTTP 500 error, so it appears the Admiralty service has stopped?

fosterl2 commented 1 day ago

I also did the upgrade yesterday, and it no longer works. When I go in to integrations, it shows an ! and "Not loaded". If I click on "Add entry" I get "Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble". I did the update through HACS, and can see in the custom config folder the files all have today's date. Is there any way to get the previous version back, or any idea how to get it working? I have downloaded a couple of times and done a few HA restarts. It worked well, and it lets me know when the tide is over the road as to whether it is worth going out or not! :-)

fosterl2 commented 1 day ago

Just found this in the system logs:

"Logger: homeassistant.util.package Source: util/package.py:152 First occurred: 12:27:44 (3 occurrences) Last logged: 12:27:47

Unable to install package ukhotides==1.1.1: × No solution found when resolving dependencies: ╰─▶ Because ukhotides==1.1.1 depends on aiohttp==3.10.11 and aiohttp==3.10.10, we can conclude that ukhotides==1.1.1 cannot be used. And because you require ukhotides==1.1.1, we can conclude that your requirements are unsatisfiable."

GeorgeBR commented 1 day ago

I used git to rollback to f500223 and it's working again. So it's definitely a bug in the later versions

ianByrne commented 1 day ago

Hi all - I'm sorry to hear that you're running into issues with the new version. Unfortunately, I haven't been able to replicate this error. I have a feeling that this newer version of the integration might require a newer version of Home Assistant too, as I've only been testing against the latest (2024.11.3 as of writing). Can you please confirm if an update of Home Assistant resolves the issue?

fosterl2 commented 1 day ago

I'm on 2024.11.1, so will upgrade. I was wondering if it has something to do with the base Python version that my Raspberry Pi is running, but will give 11.3 a whirl.

ianByrne commented 1 day ago

Hmm 2024.11.1 feels like it should be new enough already :/ Perhaps you're on to something with the underlying Raspberry Pi Python version. I may need to find lower versions of the dependent packages to make it more backward compatible but I'm afraid I am not sure when I will be able to get a chance to look into that

fosterl2 commented 1 day ago

Brilliant! Yes, working fine on 2024.11.3.

Not sure if there is anyway you can include the HA version as a pre-req to upgrading

ianByrne commented 1 day ago

oh wow, that is a surprise :o but good to hear! Perhaps I can update the readme to mention the minimum HA version