Running action server throws error

(Mohit Agrawal) #1

rasa run actions.py

WARNING: The TensorFlow contrib module will not be included in TensorFlow 2.0. For more information, please see:

Traceback (most recent call last): File “/Users/mohit/work/env/anaconda3/bin/rasa”, line 11, in load_entry_point(‘rasa’, ‘console_scripts’, ‘rasa’)() File “/Users/mohit/work/research/Chatbot/Rasa/rasa/rasa/main.py”, line 70, in main cmdline_arguments.func(cmdline_arguments) File “/Users/mohit/work/research/Chatbot/Rasa/rasa/rasa/cli/run.py”, line 70, in run rasa.run(**vars(args)) File “/Users/mohit/work/research/Chatbot/Rasa/rasa/rasa/run.py”, line 40, in run model_path = get_model(model) File “/Users/mohit/work/research/Chatbot/Rasa/rasa/rasa/model.py”, line 59, in get_model return unpack_model(model_path) File “/Users/mohit/work/research/Chatbot/Rasa/rasa/rasa/model.py”, line 144, in unpack_model tar = tarfile.open(model_file) File “/Users/mohit/work/env/anaconda3/lib/python3.7/tarfile.py”, line 1578, in open raise ReadError(“file could not be opened successfully”) tarfile.ReadError: file could not be opened successfully

The models do exist in the folder.

(Ella Rohm-Ensing) #2

@agrawal-mohit the correct command for running the action server is rasa run actions. does that work for you?