- Rasa Version : 2.0.2
- Rasa SDK Version : 2.1.2
- Rasa X Version : 0.33.2
- Python Version : 3.7.0
- Operating System :
AttributeError: ‘NoneType’ object has no attribute ‘setdefault’ in rasa i am getting this error while training ?? anyone able to help me, thanks in advance…
hi @prakashr - can you please share a minimal example that causes this error? does it happen with the moodbot (which you create with
rasa init ? )
While training and the problem resolved by installing the rasa again… thank you for the reply… @amn41
Please note that this generic error message can be cause due to missing/incorrect indent as well.
For example in the domain.yml file if you code
and miss adding the indent in the line 2 then during rasa train one will get similar error message.
So please check your updated files for such errors, to spot the cause.
yah this helped, we need to mention those in domain.yml
Faced two times,
first it was indent issue in one of the .yml file.
i was using this, so i changed it to
and it worked
I tried this and this works too,