Skip to content
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

After update to 0.78.1: Error doing job: Task exception was never retrieved. #16751

Closed
Sjeff opened this issue Sep 20, 2018 · 9 comments
Closed

Comments

@Sjeff
Copy link

Sjeff commented Sep 20, 2018

Home Assistant release with the issue:

0.78.1

Last working Home Assistant release (if known):
0.78.0

Operating environment (Hass.io/Docker/Windows/etc.):

Ubuntu Docker

Component/platform:

https://www.home-assistant.io/components/discovery/

Description of problem:


2018-09-20 18:13:00 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/app/homeassistant/components/discovery.py", line 168, in scan_devices
    results = await hass.async_add_job(_discover, netdisco)
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/app/homeassistant/components/discovery.py", line 194, in _discover
    netdisco.scan()
  File "/usr/local/lib/python3.6/site-packages/netdisco/discovery.py", line 57, in scan
    self.ssdp.scan()
  File "/usr/local/lib/python3.6/site-packages/netdisco/ssdp.py", line 41, in scan
    self.update()
  File "/usr/local/lib/python3.6/site-packages/netdisco/ssdp.py", line 89, in update
    entry for entry in scan()
  File "/usr/local/lib/python3.6/site-packages/netdisco/ssdp.py", line 225, in scan
    for addr in zeroconf.get_all_addresses():
TypeError: get_all_addresses() missing 1 required positional argument: 'address_family'

Additional information:

No yaml files are changed just the pulled the docker update and restarted Home Assistant.

@awarecan
Copy link
Contributor

Can you try pip freeze | grep zeroconf, zeroconf>=0.21.0 should be installed. If not, can you try to pip install --upgrade zeroconf

@Sjeff
Copy link
Author

Sjeff commented Sep 20, 2018

pip freeze | grep zeroconf, zeroconf>=0.20.0.
upgrading zeroconf fixed the error.

Can you update the docker image with the updated zeroconf?
After removing the container and redeploying the error reappears.

Thanks for the help!

@awarecan
Copy link
Contributor

We have a PR in dev branch that pin zeroconf to latest version. However it got missed in 0.78.1 hotfix release. @balloob may publish another release to include it.

@Sjeff
Copy link
Author

Sjeff commented Sep 20, 2018

@awarecan Thanks for the fix!

@ragenhe
Copy link

ragenhe commented Sep 20, 2018

Does this conflict with #16678?

@awarecan
Copy link
Contributor

This issue was side effect of fix #16678. Missed another upgrade zeroconf PR in the hotfix.

@Jolinn
Copy link

Jolinn commented Sep 21, 2018

Hi all,

I'm having the same issue, but in Hass.io. Any suggestions?

Thanks.

@balloob balloob closed this as completed Sep 21, 2018
@balloob
Copy link
Member

balloob commented Sep 21, 2018

Fixed in 0.78.2

@MajorGlory78
Copy link

MajorGlory78 commented Sep 22, 2018

When will 0.78.2 be available through Hass.io? Dealing with a major 'wife-factor' here :D....

The commands given in this thread don't seem to work for Hass.io users....

@home-assistant home-assistant locked and limited conversation to collaborators Feb 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants