-
Notifications
You must be signed in to change notification settings - Fork 110
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
2024.11.0.b3 introduces a new error: No module named 'nordpool.base' #438
Comments
This has nothing to do with ha release, this is due to nordpool library updating. ( https://github.com/kipe/nordpool/releases/tag/0.4.3 ) Dirty workaround config/custom_components/nordpool/manifest.json orginal line
roll back to old release
and restart HA |
Did your dirty workaround and indeed, it works again. Should I close the issue? |
No, this should be fixed in the integration. Relying on "revision>=number" was bound to break eventually I guess. |
Apparently the nordpool package introduced a backwards incompatibility in the 0.4.3 minor version. This just pins the package to version 0.4.2.
Here's @quasd 's hack as a PR: #439 . Should maybe ask the owner of that nordpool package to respect https://semver.org/ for their versioning, a minor version bump shouldn't have broken backwards compatibility. |
I created an issue for this: |
Thanks quasd for a quick fix. Have been working with this error hours without success. |
so I tried updating the manifest. How do I perform the rollback after that? just restarting HA? Or do I redownload the same version from HACS? edit: ahh my bad, the file didn't save on unraid as HA changes ownership of files. I now saved it, restarted HA and intergration is back online. thanks for the workaround. hope this gets fixed in nordpool soon |
you have typo, correct line is nordpool==0.4.2 |
I had a cold shower this morning, since the boiler hasn't been running for days. Do we really need the version state in there? That means we have to make another automation to remind us checking the version on every integration. |
i think you should create an automation to check if the boiler has been running the last day.. 😄 |
Error |
Sounds like a bad idea to base the boiler running times just on nordpool prices. |
This is 100% problem of HomeAssistant not nordpool. Just updated to latest version HA and nordpool no longer works. |
Or just HA team could stop breaking things. It's very good automation i run similar stuff myself, not boiler but battery charging based on energy price. |
Please be civil, all the work here is done by volunteers.
This is technically correct, but pretty imprecise. The problem here is:
Installing these custom components (via HACS or otherwise) means you may sometimes wake up with a cold shower, because this isn't a perfect supported commercial SW. It IS annoying, but blaming "HA team" is missing the mark. Cheers! |
Same error, did edit the version and rebooted though didn't solve it |
Please, Please . Rush this problem as many relies on the prices from NordPool //S |
Issue #438: Pin version of nordpool package
I waste few hours just now to solve this issue. Please check this. |
Thanks for bringing this to my attention. It should be fixed in the new version |
Thank you so very much for your fast assistance ... My wife salutes you , now she can take a hot shower tomorrow 👍 |
Great to have this update! |
same problem, same fix... thanks a lot!!! one question: but... isn't 0.4.2 > 0.2 ??? |
0.4.2 is indeed > 0.2. The problem was the upstream package this refers to published version 0.4.3, which is also > 0.2. Python package dependencies means that if you tell it to install >= 0.2, it can pick any version that is greater than 0.2, and defaults to the latest one. So specifying >=0.2 is not great, and would eventually break if the API ever changed. (Ideally the upstream should have been published as 0.5.0 or 1.0.0, but it would still have broken this integration, since ">0.2" isn't safe.) |
New beta new issue:
The text was updated successfully, but these errors were encountered: