SHARE
TWEET

Untitled

a guest Mar 3rd, 2018 125 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Error executing service <ServiceCall media_player.turn_off: entity_id=['media_player.ps4_pro']>
  2. Traceback (most recent call last):
  3.   File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/core.py", line 1010, in _event_to_service_call
  4.     yield from service_handler.func(service_call)
  5.   File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/__init__.py", line 402, in async_service_handler
  6.     yield from getattr(player, method['method'])(**params)
  7.   File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
  8.     yield self  # This tells Task to wait for completion.
  9.   File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
  10.     future.result()
  11.   File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
  12.     raise self._exception
  13.   File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
  14.     result = self.fn(*self.args, **self.kwargs)
  15.   File "/home/homeassistant/.homeassistant/custom_components/media_player/ps4.py", line 360, in turn_off
  16.     self.ps4.standby()
  17.   File "/srv/homeassistant/lib/python3.5/site-packages/pyps4/ps4.py", line 90, in standby
  18.     self._connection.login()
  19.   File "/srv/homeassistant/lib/python3.5/site-packages/pyps4/connection.py", line 63, in login
  20.     self._send_login_request()
  21.   File "/srv/homeassistant/lib/python3.5/site-packages/pyps4/connection.py", line 168, in _send_login_request
  22.     msg = fmt.build(config)
  23.   File "/srv/homeassistant/lib/python3.5/site-packages/construct/core.py", line 282, in build
  24.     self.build_stream(obj, stream, **contextkw)
  25.   File "/srv/homeassistant/lib/python3.5/site-packages/construct/core.py", line 298, in build_stream
  26.     self._build(obj, stream, context, "(building)")
  27.   File "/srv/homeassistant/lib/python3.5/site-packages/construct/core.py", line 1917, in _build
  28.     buildret = sc._build(subobj, stream, context, path)
  29.   File "/srv/homeassistant/lib/python3.5/site-packages/construct/core.py", line 2371, in _build
  30.     return self.subcon._build(obj, stream, context, path)
  31.   File "/srv/homeassistant/lib/python3.5/site-packages/construct/core.py", line 763, in _build
  32.     _write_stream(stream, data, length)
  33.   File "/srv/homeassistant/lib/python3.5/site-packages/construct/core.py", line 99, in _write_stream
  34.     raise StreamError("could not write bytes, expected %d, found %d" % (length, len(data)))
  35. construct.core.StreamError: could not write bytes, expected 64, found 120
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top