First off, thank you so much for Rasa X, it will make training and supervising so much easier!
I set up a new sample project today and on the first start everything was fine.
Issue After adding some data and setting up the domain I re-trained the bot in the console, but when I tried to start rasa x afterwards I get the following error: rasa-x-constraint-failed-21052019 · GitHub
It is entirely possible that there is something wrong with my configuration or file structure, but “rasa shell”, “rasa train” and “rasa interactive” work as usual and the bot produces the expected results.
Steps to reproduce The full sample project can be found here: Dropbox - samplebot.7z - Simplify your life
- Extract the project
- Ensure rasa-x and all dependencies are installed
- Run rasa x
- Observe the above error
Any help would be much appreciated.
Update: It turns out the issue is very simple: I had the same intent listed twice in the domain file. The shell utilities do not use a database, so they do not care about duplicates. SQL is more restrictive and thus errors out - as it should.
Suggestion: Would it be possible to check for this error case and print a human-friendly error? Easier to find that way
Thank you, Tao