Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

errors #15

Open
Gowthamtriton opened this issue May 1, 2019 · 2 comments
Open

errors #15

Gowthamtriton opened this issue May 1, 2019 · 2 comments

Comments

@Gowthamtriton
Copy link

Gowthamtriton commented May 1, 2019

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

@Subhashree-hariprashath
Copy link

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

@bhavaniravi can u please help us in solving this

@bhavaniravi
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants