Traceback (most recent call last):


 "/usr/src/app/homeassistant/helpers/entity_platform.py", line 128, in _async_setup_platform

SLOW_SETUP_MAX_WAIT, loop=hass.loop)


 "/usr/local/lib/python3.6/asyncio/tasks.py", line 358, in wait_for

return fut.result()


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

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


 "/usr/src/app/homeassistant/components/sensor/nederlandse_spoorwegen.py", line 65, in setup_platform

for departure in config.get(CONF_ROUTES):
TypeError: 'NoneType' object is not iterable

Traceback (most recent call last):


 "/Applications/PyCharm CE.app/Contents/helpers/pydev/pydevd.py", line 1599, in <module>

globals = debugger.run(setup['file'], None, None, is_module)


 "/Applications/PyCharm CE.app/Contents/helpers/pydev/pydevd.py", line 1026, in run

pydev_imports.execfile(file, globals, locals)
# execute the script


 "/Volumes/Huayong/baidu/paddlepaddle/Seg/seg_train.py", line 96, in <module>

train(net, class_num)


 "/Volumes/Huayong/baidu/paddlepaddle/Seg/seg_train.py", line 79, in train

'label': 1})


 "/Library/Python/2.7/site-packages/paddle/v2/trainer.py", line 169, in train

in_args = feeder(data_batch)


 "/Library/Python/2.7/site-packages/py_paddle/dataprovider_converter.py", line 282, in __call__

return self.convert(dat, argument)


 "/Library/Python/2.7/site-packages/paddle/v2/data_feeder.py", line 133, in convert

return DataProviderConverter.convert(self, reorder_data(dat), argument)


 "/Library/Python/2.7/site-packages/py_paddle/dataprovider_converter.py", line 277, in convert

scanner.finish_scan(argument)


 "/Library/Python/2.7/site-packages/py_paddle/dataprovider_converter.py", line 211, in finish_scan

ids = swig_paddle.IVector.create(self.__ids__, self.data_in_gpu)


 "/Library/Python/2.7/site-packages/py_paddle/swig_paddle.py", line 1344, in create

return _swig_paddle.IVector_create(*args)
NotImplementedError: Wrong number or type of arguments for overloaded function 'IVector_create'.
