rasa-site-bot icon indicating copy to clipboard operation
rasa-site-bot copied to clipboard

errors

Open Gowthamtriton opened this issue 5 years ago • 2 comments

File "/home/gowtham/anaconda3/lib/python3.7/site-packages/flask/app.py", line 2309, in call return self.wsgi_app(environ, start_response) File "/home/gowtham/anaconda3/lib/python3.7/site-packages/flask/app.py", line 2295, in wsgi_app response = self.handle_exception(e) File "/home/gowtham/anaconda3/lib/python3.7/site-packages/flask/app.py", line 1741, in handle_exception reraise(exc_type, exc_value, tb) File "/home/gowtham/anaconda3/lib/python3.7/site-packages/flask/_compat.py", line 35, in reraise raise value File "/home/gowtham/anaconda3/lib/python3.7/site-packages/flask/app.py", line 2292, in wsgi_app response = self.full_dispatch_request() File "/home/gowtham/anaconda3/lib/python3.7/site-packages/flask/app.py", line 1815, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/gowtham/anaconda3/lib/python3.7/site-packages/flask/app.py", line 1718, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/gowtham/anaconda3/lib/python3.7/site-packages/flask/_compat.py", line 35, in reraise raise value File "/home/gowtham/anaconda3/lib/python3.7/site-packages/flask/app.py", line 1813, in full_dispatch_request rv = self.dispatch_request() File "/home/gowtham/anaconda3/lib/python3.7/site-packages/flask/app.py", line 1799, in dispatch_request return self.view_functionsrule.endpoint File "/home/gowtham/PycharmProjects/site-bot/bot/app.py", line 66, in chat response_text = get_random_response(intent) File "/home/gowtham/PycharmProjects/site-bot/bot/app.py", line 18, in get_random_response print (response[intent]) KeyError: None

I got this error while running Ui

Gowthamtriton avatar May 01 '19 14:05 Gowthamtriton

I got the same error like @Gowthamtriton have got..

@bhavaniravi can u please help us in solving this

Subhashree-hariprashath avatar May 02 '19 12:05 Subhashree-hariprashath

Can you print what your intent is and see if the key is in random response

bhavaniravi avatar May 02 '19 15:05 bhavaniravi