I'm using the following version of rasa-core 0.11.3, rasa-nlu 0.13.3, python 3.6.4, in windows 10 x64bitOS,
When i'm running dialogue_management_model.py after this command "python -m rasa_core_sdk.endpoin -actions actions", i got the following error
Epoch 300/300
31/31 [==============================] - 0s 97us/step - loss: 0.2635 - acc: 0.9677 - val_loss: 0.2599 - val_acc: 1.0000
C:\ProgramData\Anaconda3\lib\site-packages\rasa_nlu\extractors\entity_synonyms.py:85: UserWarning: Failed to load synonyms file from './models/nlu/default/weathernlu\entity_synonyms.json'
"".format(entity_synonyms_file))
C:\ProgramData\Anaconda3\lib\site-packages\pykwalify\core.py:100: UnsafeLoaderWarning:
The default 'Loader' for 'load(stream)' without further arguments can be unsafe.
Use 'load(stream, Loader=ruamel.yaml.Loader)' explicitly if that is OK.
Alternatively include the following in your code:
In most other cases you should consider using 'safe_load(stream)'
data = yaml.load(stream)
Bot loaded. Type a message and press enter (use '/stop' to exit):
hi
Exception in thread Thread-8:
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\threading.py", line 916, in _bootstrap_inner
self.run()
File "C:\ProgramData\Anaconda3\lib\threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "C:\ProgramData\Anaconda3\lib\site-packages\rasa_core\channels\console.py", line 110, in record_messages
for response in bot_responses:
File "C:\ProgramData\Anaconda3\lib\site-packages\rasa_core\channels\console.py", line 67, in send_message_receive_stream
stream=True) as r:
AttributeError: enter
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\gevent\pywsgi.py", line 936, in handle_one_response
self.run_application()
File "C:\ProgramData\Anaconda3\lib\site-packages\gevent\pywsgi.py", line 910, in run_application
self.process_result()
File "C:\ProgramData\Anaconda3\lib\site-packages\gevent\pywsgi.py", line 896, in process_result
self.write(data)
File "C:\ProgramData\Anaconda3\lib\site-packages\gevent\pywsgi.py", line 742, in write
self._write_with_headers(data)
File "C:\ProgramData\Anaconda3\lib\site-packages\gevent\pywsgi.py", line 764, in _write_with_headers
self._write(data)
File "C:\ProgramData\Anaconda3\lib\site-packages\gevent\pywsgi.py", line 724, in _write
self._sendall(data)
File "C:\ProgramData\Anaconda3\lib\site-packages\gevent\pywsgi.py", line 702, in _sendall
self.socket.sendall(data)
File "C:\ProgramData\Anaconda3\lib\site-packages\gevent_socket3.py", line 418, in sendall
data_sent += self.send(data_memory[data_sent:], flags)
File "C:\ProgramData\Anaconda3\lib\site-packages\gevent_socket3.py", line 391, in send
return _socket.socket.send(self._sock, data, flags)
ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine
Wed Sep 19 11:13:24 2018 {'REMOTE_ADDR': '127.0.0.1', 'REMOTE_PORT': '52203', 'HTTP_HOST': 'localhost:5005', (hidden keys: 23)} failed with ConnectionAbortedError
I'm using the following version of rasa-core 0.11.3, rasa-nlu 0.13.3, python 3.6.4, in windows 10 x64bitOS,
When i'm running dialogue_management_model.py after this command "python -m rasa_core_sdk.endpoin -actions actions", i got the following error
Epoch 300/300 31/31 [==============================] - 0s 97us/step - loss: 0.2635 - acc: 0.9677 - val_loss: 0.2599 - val_acc: 1.0000 C:\ProgramData\Anaconda3\lib\site-packages\rasa_nlu\extractors\entity_synonyms.py:85: UserWarning: Failed to load synonyms file from './models/nlu/default/weathernlu\entity_synonyms.json' "".format(entity_synonyms_file)) C:\ProgramData\Anaconda3\lib\site-packages\pykwalify\core.py:100: UnsafeLoaderWarning: The default 'Loader' for 'load(stream)' without further arguments can be unsafe. Use 'load(stream, Loader=ruamel.yaml.Loader)' explicitly if that is OK. Alternatively include the following in your code:
import warnings warnings.simplefilter('ignore', ruamel.yaml.error.UnsafeLoaderWarning)
In most other cases you should consider using 'safe_load(stream)' data = yaml.load(stream) Bot loaded. Type a message and press enter (use '/stop' to exit): hi Exception in thread Thread-8: Traceback (most recent call last): File "C:\ProgramData\Anaconda3\lib\threading.py", line 916, in _bootstrap_inner self.run() File "C:\ProgramData\Anaconda3\lib\threading.py", line 864, in run self._target(*self._args, **self._kwargs) File "C:\ProgramData\Anaconda3\lib\site-packages\rasa_core\channels\console.py", line 110, in record_messages for response in bot_responses: File "C:\ProgramData\Anaconda3\lib\site-packages\rasa_core\channels\console.py", line 67, in send_message_receive_stream stream=True) as r: AttributeError: enter
Traceback (most recent call last): File "C:\ProgramData\Anaconda3\lib\site-packages\gevent\pywsgi.py", line 936, in handle_one_response self.run_application() File "C:\ProgramData\Anaconda3\lib\site-packages\gevent\pywsgi.py", line 910, in run_application self.process_result() File "C:\ProgramData\Anaconda3\lib\site-packages\gevent\pywsgi.py", line 896, in process_result self.write(data) File "C:\ProgramData\Anaconda3\lib\site-packages\gevent\pywsgi.py", line 742, in write self._write_with_headers(data) File "C:\ProgramData\Anaconda3\lib\site-packages\gevent\pywsgi.py", line 764, in _write_with_headers self._write(data) File "C:\ProgramData\Anaconda3\lib\site-packages\gevent\pywsgi.py", line 724, in _write self._sendall(data) File "C:\ProgramData\Anaconda3\lib\site-packages\gevent\pywsgi.py", line 702, in _sendall self.socket.sendall(data) File "C:\ProgramData\Anaconda3\lib\site-packages\gevent_socket3.py", line 418, in sendall data_sent += self.send(data_memory[data_sent:], flags) File "C:\ProgramData\Anaconda3\lib\site-packages\gevent_socket3.py", line 391, in send return _socket.socket.send(self._sock, data, flags) ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine Wed Sep 19 11:13:24 2018 {'REMOTE_ADDR': '127.0.0.1', 'REMOTE_PORT': '52203', 'HTTP_HOST': 'localhost:5005', (hidden keys: 23)} failed with ConnectionAbortedError