Forms not registered in actions server

I was migrating rasa to rasa-x but i found actions forms was not registered. I am using 2 different forms with 2 separate file, but forms not registered while starting server.

below is the rasa core log

Your input -> i want to register
2019-05-22 14:41:52 ERROR rasa.core.processor - Encountered an exception while running action ‘registration_form’. Bot will continue, but the actions events are lost. Make sure to fix the exception in your custom code. Your input -> i want to register
Please tell me your name Your input -> i am ameen
2019-05-22 14:46:33 WARNING rasa.core.processor - Action ‘registration_form’ set a slot type ‘username’ that it never set during the training. This can throw of the prediction. Make sure to include training examples in your stories for the different types of slots this action can return. Remember: you need to set the slots manually in the stories by adding ‘- slot{“username”: “ameen”}’ after the action.

below is actions server log

(ejenv) ameen@syscon-optiplex-3046:~/Documents/ej-bot$ python -m rasa_sdk 2019-05-22 14:45:22 INFO rasa_sdk.endpoint - Starting action endpoint server… 2019-05-22 14:45:22 INFO rasa_sdk.endpoint - Action endpoint is up and running. on (‘’, 5055) ^CKeyboardInterrupt 2019-05-22T09:16:02Z Traceback (most recent call last): File “/home/ameen/anaconda3/lib/python3.6/”, line 193, in _run_module_as_main “main”, mod_spec) File “/home/ameen/anaconda3/lib/python3.6/”, line 85, in _run_code exec(code, run_globals) File “/home/ameen/Documents/ej-bot/ejenv/lib/python3.6/site-packages/rasa_sdk/”, line 30, in main() File “/home/ameen/Documents/ej-bot/ejenv/lib/python3.6/site-packages/rasa_sdk/”, line 26, in main main_from_args(cmdline_args) File “/home/ameen/Documents/ej-bot/ejenv/lib/python3.6/site-packages/rasa_sdk/”, line 18, in main_from_args run(args.actions, args.port, args.cors) File “/home/ameen/Documents/ej-bot/ejenv/lib/python3.6/site-packages/rasa_sdk/”, line 134, in run http_server.serve_forever() File “/home/ameen/Documents/ej-bot/ejenv/lib/python3.6/site-packages/gevent/”, line 369, in serve_forever self._stop_event.wait() File “src/gevent/”, line 127, in gevent._event.Event.wait File “src/gevent/”, line 192, in gevent.__abstract_linkable.AbstractLinkable._wait File “src/gevent/”, line 165, in gevent.__abstract_linkable.AbstractLinkable._wait_core File “src/gevent/”, line 169, in gevent.__abstract_linkable.AbstractLinkable._wait_core File “src/gevent/”, line 60, in gevent.__greenlet_primitives.SwitchOutGreenletWithLoop.switch File “src/gevent/”, line 60, in gevent.__greenlet_primitives.SwitchOutGreenletWithLoop.switch File “src/gevent/”, line 64, in gevent.__greenlet_primitives.SwitchOutGreenletWithLoop.switch File “src/gevent/__greenlet_primitives.pxd”, line 35, in gevent.__greenlet_primitives._greenlet_switch KeyboardInterrupt

kindly help me in this, is anything i am doing wrong. Thanks…

Which commands did you run?

I am using rasa shell for core server and for action server python -m rasa_sdk --actions actions

@azharameen can you try running the action server with rasa run actions? Also, you say

I am using 2 different forms with 2 separate file

what are the names of your action files?

@erohmensing thanks for solution, I have put my action form files in separate folder named actions. and now its working fine. I am using files and, now i moved both files to actions folder.

Thanks for the help… :slight_smile:

@azharameen glad you got your problem solved. We’d love to get some feedback on your experience with Rasa X so far: Product Feedback - Rasa X