Traceback (most recent call last):


 "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run

result = self.fn(*self.args, **self.kwargs)


 "/usr/local/lib/python3.4/dist-packages/homeassistant/core.py", line 1045, in execute_service

service_handler.func(service_call)


 "/usr/local/lib/python3.4/dist-packages/homeassistant/components/media_player/__init__.py", line 324, in media_player_service_handler

getattr(player, method)()


 "/usr/local/lib/python3.4/dist-packages/homeassistant/components/media_player/onkyo.py", line 176, in turn_on

self._receiver.power_on()


 "/usr/local/lib/python3.4/dist-packages/eiscp/core.py", line 413, in power_on

return self.command('system-power on')


 "/usr/local/lib/python3.4/dist-packages/eiscp/core.py", line 407, in command

response = self.raw(iscp_message)


 "/usr/local/lib/python3.4/dist-packages/eiscp/core.py", line 397, in raw

return filter_for_message(self.get, iscp_message)


 "/usr/local/lib/python3.4/dist-packages/eiscp/core.py", line 257, in filter_for_message

raise ValueError('Timeout waiting for response.')
ValueError: Timeout waiting for response.

Traceback (most recent call last):


 "/home/quh/.conda/envs/pytorch/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 1333, in _safe_close_cursor

cursor.close()
sqlite3.ProgrammingError: Cannot operate on a closed database.
