Traceback (most recent call last):


 "C:\Users\diarm\AppData\Local\Programs\Python\Python38-32\lib\site-packages\discord\client.py", line 312, in _run_event

await coro(*args, **kwargs)
TypeError: on_message() missing 1 required positional argument: 'message'
Traceback (most recent call last):


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

main(args)


 "train.py", line 78, in main

trainer.dummy_train_step([dummy_batch])


 "/home/roberto.dessi/new_fairseq/fairseq/trainer.py", line 326, in dummy_train_step

self.train_step(dummy_batch, dummy_batch=True)


 "/home/roberto.dessi/new_fairseq/fairseq/trainer.py", line 176, in train_step

ignore_grad


 "/home/roberto.dessi/new_fairseq/fairseq/tasks/fairseq_task.py", line 169, in train_step

loss, sample_size, logging_output = criterion(model, sample)


 "/home/roberto.dessi/.virtualenvs/work/lib/python3.6/site-packages/torch/nn/modules/module.py", line 477, in __call__

result = self.forward(*input, **kwargs)


 "/home/roberto.dessi/new_fairseq/fairseq/criterions/cross_entropy.py", line 30, in forward

net_output = model(**sample['net_input'])
TypeError: 'NoneType' object is not subscriptable
