-
Notifications
You must be signed in to change notification settings - Fork 30
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
ha_strava gives error after upgrade to Home Assistant 2022.3.1 #44
Comments
In manifest.json you have to remove --- "requirements": ["aiohttp==3.6.1", "voluptuous==0.11.7"],
+++ "requirements": ["voluptuous>=0.11.7"], |
After in HACS install, I cant see Strava in the integration. Can you copy here the good manifest.json with the good version and requirements...?! |
My manifest.json looks like this: {
"domain": "ha_strava",
"name": "Strava Home Assistant",
"config_flow": true,
"documentation": "https://github.com/codingcyclist/ha_strava",
"requirements": ["voluptuous>=0.11.7"],
"dependencies": [],
"codeowners": ["@codingcyclist"],
"version": "0.1.1"
} To get ha_strava from this repository running, you also have to apply some more changes, see PR #36 |
Sorry, it's not clear to me what other changes I should carry out. The link points to a core HA file, I think, which is not accessible on my HASS OS installation. I can only get to files in the /config directory. |
Thank you, but as you said, the following problem: |
@jan-gerard No, the patched files are part of the custom ha_strava component. |
|
I solved it, it was very boring to move from error to error. I had 3 days of searching for it. thx guys.. |
Thanks for the fix :) |
@thoemmi I made all the changes you mentioned and the information is coming like this, do you know what it is about? |
@hudsonbrendon Sorry, but I don't know 🤷♂️ |
Use this: |
any idea ? |
@thoemmi @woolf0007 Fixed after last restart! |
Would anyone be willing to branch this repo and implement the fixes? I have implemented the manifest and hass.const.HTTP_* changes manually as you others, but it would be great to have a space where pull requests actually gets merged. So fixes are automatically applied through HACS. Current reliability of the integration is on the lower end and the issue that @maobuz is experiencing happens pretty often unprovoked. Perhaps you are up for the task @thoemmi ? Or even better @codingcyclist could you allow others to merge? |
I've already thought about it, but then decided against it. I don't want to be asked for support 😉 However, @madmic1314 said in #37 , that he's going to maintain a fork with fixes applied: https://github.com/madmic1314/ha_strava |
|
NEWS? :( |
I've forked this, but for the life of me couldn't get HACS to work properly. The files were identical to this repo, but HACS wouldn't see it. I asked for help in the HACS discord and was told it was an issue my end, but no real help. Couldn't figure it out - been busy with other stuff, will try and pick up in a few days and see if a fresh start will work. |
Ok, the issue with HACS was with my HA instance having the old Strava integration still in the db. Before using my fork you must remove this one fully, HA integration + all sensors, then HACS integration, HACS repo. Reboot and then add mine: https://github.com/madmic1314/ha_strava In the end I needed to edit the HACS db - but I'll not go into that here as it's a bit drastic! |
|
I've released an update that should fix this - please test and if still an issue can you update this issue under my fork please? madmic1314#3 |
I get the following errors after upgrading to Home Assistant 2022.3.1:
2022-03-06 00:15:25 ERROR (SyncWorker_4) [homeassistant.util.package] Unable to install package aiohttp==3.6.1: ERROR: Cannot install aiohttp==3.6.1 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts 2022-03-06 00:15:33 ERROR (SyncWorker_1) [homeassistant.util.package] Unable to install package aiohttp==3.6.1: ERROR: Cannot install aiohttp==3.6.1 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts 2022-03-06 00:15:42 ERROR (SyncWorker_6) [homeassistant.util.package] Unable to install package aiohttp==3.6.1: ERROR: Cannot install aiohttp==3.6.1 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts 2022-03-06 00:15:42 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration ha_strava: Requirements for ha_strava not found: ['aiohttp==3.6.1'].
Maybe (prabably) because of this, HA_strava is not working anymore.
Might there be other integrations that require a different version of aiohttp? And haw could I identify them, if that is the problem?
The text was updated successfully, but these errors were encountered: