I am getting following error while restaurant bot example . I have not done any changes-
127.0.0.1 - - [2018-09-14 16:57:06] “POST /conversations/default/execute HTTP/1.1” 200 849 0.003512
ERROR:rasa_core.server:Caught an exception during prediction.
Traceback (most recent call last):
File “/usr/local/lib/python3.5/dist-packages/rasa_core/server.py”, line 385, in continue_training batch_size=batch_size)
File “/usr/local/lib/python3.5/dist-packages/rasa_core/agent.py”, line 425, in continue_training **kwargs)
File “/usr/local/lib/python3.5/dist-packages/rasa_core/policies/ensemble.py”, line 192, in continue_training self.training_trackers.extend(trackers)
AttributeError: ‘NoneType’ object has no attribute ‘extend’
Traceback (most recent call last):
File “/usr/local/lib/python3.5/dist-packages/gevent/pywsgi.py”, line 936, in handle_one_response self.run_application()
File “/usr/local/lib/python3.5/dist-packages/gevent/pywsgi.py”, line 910, in run_application self.process_result()
File “/usr/local/lib/python3.5/dist-packages/gevent/pywsgi.py”, line 894, in process_result for data in self.result:
File “/usr/local/lib/python3.5/dist-packages/werkzeug/wsgi.py”, line 870, in next return self._next()
File “/usr/local/lib/python3.5/dist-packages/werkzeug/wrappers.py”, line 82, in _iter_encoded for item in iterable:
TypeError: ‘Response’ object is not iterable
Fri Sep 14 16:57:06 2018 {‘REMOTE_ADDR’: ‘127.0.0.1’, ‘HTTP_HOST’: ‘localhost:5005’, ‘REMOTE_PORT’: ‘44884’, (hidden keys: 23)} failed with TypeError
127.0.0.1 - - [2018-09-14 16:57:06] “POST /finetune HTTP/1.1” 500 161 0.005085
ERROR:rasa_core.training.online:An exception occurred while recording messages. Traceback (most recent call last):
File “/usr/local/lib/python3.5/dist-packages/rasa_core/training/online.py”, line 362, in record_messages sender_id)
File “/usr/local/lib/python3.5/dist-packages/rasa_core/training/online.py”, line 296, in predict_till_next_listen response.get(“tracker”, {}).get(“events”, []))
File “/usr/local/lib/python3.5/dist-packages/rasa_core/training/online.py”, line 201, in send_finetune r.raise_for_status()
File “/usr/local/lib/python3.5/dist-packages/requests/models.py”, line 935, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http://localhost:5005/finetune
Exception in thread Thread-1:
Traceback (most recent call last):
File “/usr/lib/python3.5/threading.py”, line 914, in _bootstrap_inner self.run()
File “/usr/lib/python3.5/threading.py”, line 862, in run self._target(*self._args, **self._kwargs)
File “/usr/local/lib/python3.5/dist-packages/rasa_core/training/online.py”, line 362, in record_messages sender_id)
File “/usr/local/lib/python3.5/dist-packages/rasa_core/training/online.py”, line 296, in predict_till_next_listen response.get(“tracker”, {}).get(“events”, []))
File “/usr/local/lib/python3.5/dist-packages/rasa_core/training/online.py”, line 201, in send_finetune r.raise_for_status()
File “/usr/local/lib/python3.5/dist-packages/requests/models.py”, line 935, in raise_for_status raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http://localhost:5005/finetune