Traceback (most recent call last):


 "/usr/local/bin/svtplay-dl", line 4, in <module>

__import__('pkg_resources').run_script('svtplay-dl==1.7', 'svtplay-dl')


 "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 719, in run_script

self.require(requires)[0].run_script(script_name, ns)


 "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1504, in run_script

exec(code, namespace, namespace)


 "/usr/local/lib/python2.7/dist-packages/svtplay_dl-1.7-py2.7.egg/EGG-INFO/scripts/svtplay-dl", line 7, in <module>

svtplay_dl.main()


 "/usr/local/lib/python2.7/dist-packages/svtplay_dl-1.7-py2.7.egg/svtplay_dl/__init__.py", line 444, in main

get_media(url, options)


 "/usr/local/lib/python2.7/dist-packages/svtplay_dl-1.7-py2.7.egg/svtplay_dl/__init__.py", line 178, in get_media

get_one_media(stream, options)


 "/usr/local/lib/python2.7/dist-packages/svtplay_dl-1.7-py2.7.egg/svtplay_dl/__init__.py", line 225, in get_one_media

for i in streams:


 "/usr/local/lib/python2.7/dist-packages/svtplay_dl-1.7-py2.7.egg/svtplay_dl/service/tv4play.py", line 117, in get

for n in list(streams.keys()):
AttributeError: 'NoneType' object has no attribute 'keys'

Traceback (most recent call last):


 "train.py", line 330, in <module>

main(params)


 "train.py", line 290, in main

trainer.mt_step(lang, lang, params.lambda_ae)


 "/workspace/XLM/src/trainer.py", line 821, in mt_step

self.optimize(loss, ['encoder', 'decoder'])


 "/workspace/XLM/src/trainer.py", line 131, in optimize

loss.backward()


 "/opt/conda/lib/python3.6/site-packages/torch/tensor.py", line 96, in backward

torch.autograd.backward(self, gradient, retain_graph, create_graph)


 "/opt/conda/lib/python3.6/site-packages/torch/autograd/__init__.py", line 90, in backward

allow_unreachable=True)
# allow_unreachable flag


 "/opt/conda/lib/python3.6/site-packages/torch/nn/parallel/distributed.py", line 314, in distributed_data_parallel_hook

self._queue_reduction(bucket_idx)


 "/opt/conda/lib/python3.6/site-packages/torch/nn/parallel/distributed.py", line 344, in _queue_reduction

dev_grads_batch_coalesced = _flatten_dense_tensors(dev_grads_batch)


 "/opt/conda/lib/python3.6/site-packages/torch/_utils.py", line 151, in _flatten_dense_tensors

flat = torch.cat([t.contiguous().view(-1) for t in tensors], dim=0)


 "/opt/conda/lib/python3.6/site-packages/torch/_utils.py", line 151, in <listcomp>

flat = torch.cat([t.contiguous().view(-1) for t in tensors], dim=0)
AttributeError: 'NoneType' object has no attribute 'contiguous'
