Core: Onvif fails to start on Home Assistant 0.116.3

Created on 15 Oct 2020  路  17Comments  路  Source: home-assistant/core

The problem

Onvif integration fails to start on Home Assistant 0.116.3

Environment

HassOS 4.13 on Raspberry Pi 4

  • Home Assistant Core release with the issue: 0.116.3
  • Last working Home Assistant Core release (if known): 0.116.2
  • Operating environment (OS/Container/Supervised/Core): HassOS 4.13, supervised
  • Integration causing this issue: onvif
  • Link to integration documentation on our website: https://www.home-assistant.io/integrations/onvif/

Problem-relevant configuration.yaml

N/A

Traceback/Error logs

Setup failed for onvif: Unable to import component: No module named 'zeep.asyncio'

Additional information

Worked fine on 0.116.2. Issue seems to be with asyncio.

onvif

Most helpful comment

Looks like we need to pin Zeep in the dep: https://github.com/hunterjm/python-onvif-zeep-async/blob/async/setup.py#L9

Zeep recently released 4.0 which uses httpx and not asyncio.

Working on it.

All 17 comments

same here.

and here, but on HassOS 4.14

me too

onvif documentation
onvif source
(message by IssueLinks)

Hey there @hunterjm, mind taking a look at this issue as its been labeled with an integration (onvif) you are listed as a codeowner for? Thanks!
(message by CodeOwnersMention)

Same here

pip install python-zeep is a workaround if someone needs it right now.

same problem to me, home assistant 0.116.3 with 0.116.2 all ok

How to run this command on HassOS 4.13 ?

Also have the same problem here with 0.116.3 - additionally you get the error when you attempt to remove the integration, its not able to be removed or added.

+1

pip install python-zeep is a workaround if someone needs it right now.

This worked for me, through portainer container console. Thank you

same here. checking configurations before upgrade did not find errors.... Waiting for a quickly solution, pleeease

Same for me

same

Looks like we need to pin Zeep in the dep: https://github.com/hunterjm/python-onvif-zeep-async/blob/async/setup.py#L9

Zeep recently released 4.0 which uses httpx and not asyncio.

Working on it.

Package updates also need to be made in noaa-coops and total-connect-client, or I need to pin zeep in the ONVIF manifest. Waiting on confirmation on which to do.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

McGiverGim picture McGiverGim  路  124Comments

kdschlosser picture kdschlosser  路  374Comments

ariel-madril picture ariel-madril  路  451Comments

soldag picture soldag  路  143Comments

raccettura picture raccettura  路  142Comments