mitch-dc / volkswagen_we_connect_id

Apache License 2.0
200 stars 52 forks source link

Failing to load after 2022.7.0 update #39

Closed Tassel8062 closed 2 years ago

Tassel8062 commented 2 years ago

Home Assistant 2022.7.0 Supervisor 2022.06.2 Operating System 8.2 Frontend 20220706.0 - latest

Volkswagen We Connect ID V0.0.9

After updating to HA 2022.7.0 and rebooting the integration shows as - Not loaded

I have restarted again and same issue, then redownload the interrogation via hacs and still not loading

Logger: homeassistant.setup Source: setup.py:162 First occurred: 06:15:45 (1 occurrences) Last logged: 06:15:45

Setup failed for custom integration volkswagen_we_connect_id: Requirements for volkswagen_we_connect_id not found: ['weconnect==0.40'].

2022-07-07 07:15:39 ERROR (SyncWorker_1) [homeassistant.util.package] Unable to install package weconnect==0.40: ERROR: Cannot install weconnect==0.40.0 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-07-07 07:15:45 ERROR (SyncWorker_1) [homeassistant.util.package] Unable to install package weconnect==0.40: ERROR: Cannot install weconnect==0.40.0 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-07-07 07:15:52 ERROR (SyncWorker_1) [homeassistant.util.package] Unable to install package weconnect==0.40: ERROR: Cannot install weconnect==0.40.0 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-07-07 07:15:52 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration volkswagen_we_connect_id: Requirements for volkswagen_we_connect_id not found: ['weconnect==0.40'].

steven-hack commented 2 years ago

Same here after upgrading to 2022.7.0

It probably has to do with python 3.10 support:

Which in turn is probably an issue in the weconnect python package: https://github.com/tillsteinbach/WeConnect-python

There is a 0.44.2 version available, no idea if that would fix the issue: https://github.com/tillsteinbach/WeConnect-python/releases/tag/v0.44.2

I'm not really into Python enough to check which dependency might give the conflict. Hopefully someone else can.

robinostlund commented 2 years ago

It is solved in latest weconnect version, so if you want to quickly get it up n running.

  1. Open manifest.json in this component folder
  2. Change weconnect==0.40 to weconnect==0.44.2
  3. Restart homeassistant
mitch-dc commented 2 years ago

Should be fixed in latest version https://github.com/mitch-dc/volkswagen_we_connect_id/releases/tag/v0.0.11

Tassel8062 commented 2 years ago

Should be fixed in latest version https://github.com/mitch-dc/volkswagen_we_connect_id/releases/tag/v0.0.11

Installed latest and working.Thanks for the quick fix @mitch-dc