After dealing with few thing (missing dependencies, etc) I’m still getting this error.
My google-fu is not strong enough.
2017-08-02 02:07:50 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/discovery.py", line 120, in scan_devices
results = yield from hass.async_add_job(_discover, netdisco)
File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/discovery.py", line 146, in _discover
netdisco.scan()
File "/home/pax/.homeassistant/deps/lib/python3.5/site-packages/netdisco/discovery.py", line 54, in scan
self.mdns.start()
File "/home/pax/.homeassistant/deps/lib/python3.5/site-packages/netdisco/mdns.py", line 21, in start
self.zeroconf = zeroconf.Zeroconf()
File "/home/pax/.homeassistant/deps/lib/python3.5/site-packages/zeroconf.py", line 1670, in __init__
socket.inet_aton(_MDNS_ADDR) + socket.inet_aton(i))
OSError: [Errno 22] Invalid argument```
I fallowed those instructions and got similar results:
2017-08-02 13:08:03 WARNING (MainThread) [homeassistant.setup] Setup of sensor is taking over 10 seconds.
2017-08-02 13:08:38 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/discovery.py", line 120, in scan_devices
results = yield from hass.async_add_job(_discover, netdisco)
File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/discovery.py", line 146, in _discover
netdisco.scan()
File "/srv/homeassistant/lib/python3.5/site-packages/netdisco/discovery.py", line 54, in scan
self.mdns.start()
File "/srv/homeassistant/lib/python3.5/site-packages/netdisco/mdns.py", line 21, in start
self.zeroconf = zeroconf.Zeroconf()
File "/srv/homeassistant/lib/python3.5/site-packages/zeroconf.py", line 1670, in __init__
socket.inet_aton(_MDNS_ADDR) + socket.inet_aton(i))
OSError: [Errno 22] Invalid argument
homeassistant:
# Name of the location where Home Assistant is running
name: Home
# Location required to calculate the time the sun rises and sets
latitude: 45.8
longitude: 16
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: 0
# metric for Metric, imperial for Imperial
unit_system: metric
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: Europe/Zagreb
# Show links to resources in log and frontend
introduction:
# Enables the frontend
frontend:
# Enables configuration UI
config:
http:
# Uncomment this to add a password (recommended!)
# api_password: PASSWORD
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# base_url: example.duckdns.org:8123
# Checks for available updates
# Note: This component will send some information about your system to
# the developers to assist with development of Home Assistant.
# For more information, please see:
# https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
updater:
# Optional, allows Home Assistant developers to focus on popular components.
# include_used_components: true
# Discover some devices automatically
discovery:
# Allows you to issue voice commands from the frontend in enabled browsers
conversation:
# Enables support for tracking state changes over time
history:
# View all events in a logbook
logbook:
# Track the sun
sun:
# Weather prediction
sensor:
- platform: yr
# Text to speech
tts:
- platform: google
group: !include groups.yaml
automation: !include automations.yaml
After much googling looks like bash issue.
Microsoft Windows [Version 10.0.15063], same error on 2 different PCs, fast ring Microsoft Windows [Version 10.0.16251.1000] - everything working out of the box.
Guess I have to wait on my production PC.
For what it’s worth I’m seeing the same error on Bash on Ubuntu on Windows with a bone-stock install, no configuration.yaml changes, on normal (not Insider) Windows 10.