Updater.py error

Has anyone seen this error in their logs or can provide any insight? I’ve searched the forums and github issues but haven’t seen anything like it mentioned. My updater notifcations haven’t been working for a while now. Seems like after I downgraded temporarily on request to test out a PR for the Nest Protects not showing up. After testing, I reverted back to current version at the time. Not sure if this caused the issue.

16-11-25 10:50:00 homeassistant.core: Error doing job: Future exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/updater.py", line 74, in <lambda>
    hass, lambda _: check_newest_version(hass, huuid),
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/updater.py", line 82, in check_newest_version
    newest, releasenotes = get_newest_version(huuid)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/updater.py", line 128, in get_newest_version
    return (res['version'], res['release-notes'])
TypeError: 'NoneType' object is not subscriptable
1 Like

Yup seeing the same thing.

2 Likes

Yep me too. It seems that the new updater isn’t working… I didn’t get a updater.updater notification as well and just seen that there is a new release… 0.33.4

It worked up to 31 :frowning:

@robbiet480 any clues

I can confirm the same behavior on Windows, no notifications on updates.

Seeing it here too - here’s my log file.

16-11-29 00:05:27 homeassistant.core: Error doing job: Fatal read error on socket transport
Traceback (most recent call last):
  File "/usr/lib/python3.4/asyncio/selector_events.py", line 582, in _read_ready
    data = self._sock.recv(self.max_size)
OSError: [Errno 113] No route to host
16-11-29 03:17:30 homeassistant.core: Error doing job: Future exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/updater.py", line 74, in <lambda>
    hass, lambda _: check_newest_version(hass, huuid),
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/updater.py", line 82, in check_newest_version
    newest, releasenotes = get_newest_version(huuid)
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/updater.py", line 128, in get_newest_version
    return (res['version'], res['release-notes'])
TypeError: 'NoneType' object is not subscriptable
1 Like

@balloob already has a fix in the works for it. For now, if you turn off reporting, that will at least get rid of the errors in the log.