Advertisement
Guest User

test1

a guest
Mar 22nd, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 2018-03-22 10:16:29 ERROR (MainThread) [homeassistant.helpers.entity] Update for media_player.philips_tv fails
  2. Traceback (most recent call last):
  3.   File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 204, in async_update_ha_state
  4.     yield from self.async_device_update()
  5.   File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 327, in async_device_update
  6.     yield from self.hass.async_add_job(self.update)
  7.   File "/usr/lib/python3.6/asyncio/futures.py", line 332, in __iter__
  8.     yield self  # This tells Task to wait for completion.
  9.   File "/usr/lib/python3.6/asyncio/tasks.py", line 250, in _wakeup
  10.     future.result()
  11.   File "/usr/lib/python3.6/asyncio/futures.py", line 245, in result
  12.     raise self._exception
  13.   File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
  14.     result = self.fn(*self.args, **self.kwargs)
  15.   File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/util/__init__.py", line 319, in wrapper
  16.     result = method(*args, **kwargs)
  17.   File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/media_player/philips_js.py", line 205, in update
  18.     self._tv.getChannels()
  19.   File "/srv/homeassistant/lib/python3.6/site-packages/haphilipsjs/__init__.py", line 83, in getChannels
  20.     r = self._getReq('channels')
  21.   File "/srv/homeassistant/lib/python3.6/site-packages/haphilipsjs/__init__.py", line 33, in _getReq
  22.     return json.loads(resp.text)
  23.   File "/usr/lib/python3.6/json/__init__.py", line 354, in loads
  24.     return _default_decoder.decode(s)
  25.   File "/usr/lib/python3.6/json/decoder.py", line 339, in decode
  26.     obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  27.   File "/usr/lib/python3.6/json/decoder.py", line 357, in raw_decode
  28.     raise JSONDecodeError("Expecting value", s, err.value) from None
  29. json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement