Traceback (most recent call last):


 "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 221, in async_update_ha_state

await self.async_device_update()


 "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 347, in async_device_update

await self.async_update()


 "/home/homeassistant/.homeassistant/custom_components/media_player/androidtv.py", line 255, in async_update

await self._androidtv.update()


 "/srv/homeassistant/lib/python3.6/site-packages/androidtv/__init__.py", line 361, in update

screen_on = await self._screen_on


 "/srv/homeassistant/lib/python3.6/site-packages/androidtv/__init__.py", line 407, in _screen_on

screen_on = await self._dump_has('power', 'Display Power', 'state=ON')


 "/srv/homeassistant/lib/python3.6/site-packages/androidtv/__init__.py", line 461, in _dump_has

dump_result = await self._dump(service, grep=grep)


 "/srv/homeassistant/lib/python3.6/site-packages/androidtv/__init__.py", line 448, in _dump

result = await self._adb.shell('dumpsys {0} | grep "{1}"'.format(service, grep))


 "/srv/homeassistant/lib/python3.6/site-packages/androidtv/__init__.py", line 298, in shell

return await fut


 "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run

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


 "/srv/homeassistant/lib/python3.6/site-packages/adb/adb_commands.py", line 383, in Shell

timeout_ms=timeout_ms)


 "/srv/homeassistant/lib/python3.6/site-packages/adb/adb_protocol.py", line 493, in Command

result = ''.join(cls.StreamingCommand(usb, service, command, timeout_ms))


 "/srv/homeassistant/lib/python3.6/site-packages/adb/adb_protocol.py", line 531, in StreamingCommand

for data in connection.ReadUntilClose():
AttributeError: 'NoneType' object has no attribute 'ReadUntilClose'

Traceback (most recent call last):


 "/home/username/miniconda3/envs/spacy/lib/python3.6/runpy.py", line 193, in _run_module_as_main

"__main__", mod_spec)


 "/home/username/miniconda3/envs/spacy/lib/python3.6/runpy.py", line 85, in _run_code

exec(code, run_globals)


 "/home/username/miniconda3/envs/spacy/lib/python3.6/site-packages/spacy/__main__.py", line 33, in <module>

plac.call(commands[command], sys.argv[1:])


 "/home/username/miniconda3/envs/spacy/lib/python3.6/site-packages/plac_core.py", line 367, in call

cmd, result = parser.consume(arglist)


 "/home/username/miniconda3/envs/spacy/lib/python3.6/site-packages/plac_core.py", line 232, in consume

return cmd, self.func(*(args + varargs + extraopts), **kwargs)


 "/home/username/miniconda3/envs/spacy/lib/python3.6/site-packages/spacy/cli/pretrain.py", line 239, in pretrain

model, docs, optimizer, objective=loss_func, drop=dropout


 "/home/username/miniconda3/envs/spacy/lib/python3.6/site-packages/spacy/cli/pretrain.py", line 268, in make_update

backprop(gradients, sgd=optimizer)


 "/home/username/miniconda3/envs/spacy/lib/python3.6/site-packages/spacy/_ml.py", line 839, in mlm_backward

return backprop(d_output, sgd=sgd)


 "/home/username/miniconda3/envs/spacy/lib/python3.6/site-packages/thinc/neural/_classes/feed_forward.py", line 53, in continue_update

gradient = callback(gradient, sgd)


 "/home/username/miniconda3/envs/spacy/lib/python3.6/site-packages/thinc/api.py", line 300, in finish_update

d_X = bp_layer(layer.ops.flatten(d_seqs_out, pad=pad), sgd=sgd)


 "/home/username/miniconda3/envs/spacy/lib/python3.6/site-packages/thinc/neural/_classes/feed_forward.py", line 53, in continue_update

gradient = callback(gradient, sgd)


 "/home/username/miniconda3/envs/spacy/lib/python3.6/site-packages/thinc/api.py", line 384, in uniqued_bwd

layer.ops.scatter_add(dY_uniq, layer.ops.asarray(inv, dtype="i"), dY)


 "ops.pyx", line 1087, in thinc.neural.ops.CupyOps.scatter_add
AttributeError: module 'cupy' has no attribute 'scatter_add'
