Micke_H

Untitled

Nov 18th, 2017
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.38 KB | None | 0 0
  1. more home-assistant.log
  2. 2017-11-18 18:13:00 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
  3. Traceback (most recent call last):
  4.   File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
  5.     result = coro.send(None)
  6.   File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/tradfri.py", line 66, in configuration
  7. _callback
  8.     psk = yield from api_factory.generate_psk(callback_data.get('key'))
  9.   File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/pytradfri/api/aiocoap_api.py", line 193, in generate_psk
  10.     self._psk = yield from self.request(command)
  11.   File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/pytradfri/api/aiocoap_api.py", line 149, in request
  12.     result = yield from self._execute(api_commands)
  13.   File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/pytradfri/api/aiocoap_api.py", line 141, in _execute
  14.     api_command.result = _process_output(res, parse_json)
  15.   File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/pytradfri/command.py", line 71, in result
  16.     self._result = self._process_result(value)
  17.   File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/pytradfri/gateway.py", line 28, in process_result
  18.     return result[ATTR_PSK]
  19. TypeError: 'NoneType' object is not subscriptable
Advertisement
Add Comment
Please, Sign In to add comment