-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
getting following error while testing django example #635
Comments
Using Mac Os/anaconda 2.7 |
Hi @kumarneeraj2005, based on the information you have provided I cannot determine how you encountered this problem. Can you provide a list of steps that I can use to recreate this issue? |
@kumarneeraj2005 I think the app is working, the response contains "hi" which is "correct". I think what you're noticing is that the serialization of the api is not valid json, the api returns a json structure with the "text" node pointing to python serialized (as opposed to json) so you get in the app the data that you show. This is why the app shows the following: |
@gunthercox awesome, thanks, I also fixed it in my local copy, but I'm glad to hear there's a new version, the project has a lot of interesting ideas. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
django.core.exceptions.ImproperlyConfigured: Requested setting CHATTERBOT, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
hi
{'text': u'hi', 'created_at': datetime.datetime(2017, 2, 24, 17, 15, 31, 350875, tzinfo=), 'extra_data': {}, 'in_response_to': [{'text': u'Hi', 'occurrence': 1}, {'text': u'Hello', 'occurrence': 1}]}
The text was updated successfully, but these errors were encountered: