question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`rasa data validate` fails on example formbot

See original GitHub issue

Rasa Open Source version

3.0.1

Rasa SDK version

3.0.0rc3

Rasa X version

No response

Python version

3.8

What operating system are you using?

OSX

What happened?

cd into rasa/examples/formbot, run rasa data validate and get

UserWarning: The form 'None' is used in the 'submit form' block, but it is not listed in the domain file. You should add it to your domain file!

This seems to break validation of all forms of all bots. Training works, though.

Command / Request

`rasa data validate`

Relevant log output

(rasa-3.0.0) johannes:formbot/ (b055f901954) $ rasa data validate                                                               [18:28:57]
/Users/johannes/rasa/rasa/rasa/shared/utils/io.py:99: UserWarning: The form 'None' is used in the 'submit form' block, but it is not listed in the domain file. You should add it to your domain file!
  More info at https://rasa.com/docs/rasa/forms
Project validation completed with errors.

Definition of done

  • Fix bug

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:6
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
bml1g12commented, Dec 14, 2021

Same issue here

1reaction
cryoffcommented, Dec 13, 2021

I faced the same issue with example pizza bot from this video: https://www.youtube.com/watch?v=YYh1ECnlw9o

And the code is taken from here: https://github.com/RasaHQ/conversational-ai-course-3.x

I am using rasa 3.0.2

Read more comments on GitHub >

github_iconTop Results From Across the Web

Form Validation Not Running for Requested Slots
Hi there, I have a form running that passes validation when I only ... I have followed the formbot pattern in the rasa...
Read more >
How to do rasa nlu, stories data validation and updation ...
Currently, i am using python to add intents, entities etc to nlu.md file. Logic has become complicated. Below is sample code to add...
Read more >
CHANGELOG.mdx · Gitee 极速下载/rasa - Gitee.com
ERROR rasa.core.agent:agent.py:327 Could not load model due to Detected inconsistent loop usage. Trying to schedule a task on a new event loop, but...
Read more >
rasa Changelog
[10430](https://github.com/rasahq/rasa/issues/10430): Fix failed check in `rasa data validate` that verifies forms in rules or stories are consistent with ...
Read more >
How to Validate Form Input in Rasa | Rasa Tutorials - YouTube
... grab the code from this tutorial, you can find it in the "05 Form Validation "-folder here: https://github.com/RasaHQ/ rasa -form- examples.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found