Traceback (most recent call last):


 "/usr/lib/python3.4/asyncio/tasks.py", line 233, in _step

result = coro.throw(exc)


 "/home/schwim/bin/hass/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 381, in async_process_entity

new_entity, self, update_before_add=update_before_add


 "/home/schwim/bin/hass/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 212, in async_add_entity

yield from self.hass.async_add_job(entity.update)


 "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__

yield self
# This tells Task to wait for completion.


 "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup

value = future.result()


 "/usr/lib/python3.4/asyncio/futures.py", line 277, in result

raise self._exception


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

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


 "/home/schwim/bin/hass/lib/python3.4/site-packages/homeassistant/components/switch/digitalloggers.py", line 113, in update

self._parent_device.statuslocal[self.outletnumber - 1][2] == 'ON'
TypeError: 'NoneType' object is not subscriptable

Traceback (most recent call last):


 "tools/train_net.py", line 237, in <module>

launch(


 "/root/anaconda3/lib/python3.8/site-packages/detectron2/engine/launch.py", line 62, in launch

main_func(*args)


 "tools/train_net.py", line 225, in main

trainer = Trainer(cfg)


 "tools/train_net.py", line 62, in __init__

data_loader = self.build_train_loader(cfg)


 "tools/train_net.py", line 128, in build_train_loader

return build_detection_train_loader(cfg, mapper)


 "/root/anaconda3/lib/python3.8/site-packages/detectron2/config/config.py", line 201, in wrapped

explicit_args = _get_args_from_config(from_config, *args, **kwargs)


 "/root/anaconda3/lib/python3.8/site-packages/detectron2/config/config.py", line 236, in _get_args_from_config

ret = from_config_func(*args, **kwargs)
TypeError: _train_loader_from_config() takes 1 positional argument but 2 were given
