Hi, I’m new to rasa core, i was trying to run rasa core using core agent but getting this error. I’m running action in port 5055.
Code dialogue_management_model.py (1.8 KB)
Error: F:\Development\rasa\restaurant>python .\dialogue_management_model.py
C:\Users\Venky\AppData\Roaming\Python\Python36\site-packages\h5py_init_.py:34: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type. from ._conv import register_converters as _register_converters
C:\program files (x86)\Microsoft Visual Studio\Shared\Python36_64\lib\importlib_bootstrap.py:219: RuntimeWarning: cymem.cymem.Pool size changed, may indicate binary incompatibility. Expected 48 from C header, got 64 from PyObject return f(*args, **kwds)
C:\program files (x86)\Microsoft Visual Studio\Shared\Python36_64\lib\importlib_bootstrap.py:219: RuntimeWarning: cymem.cymem.Address size changed, may indicate binary incompatibility. Expected 24 from C header, got 40 from PyObject return f(*args, **kwds)
C:\Users\Venky\AppData\Roaming\Python\Python36\site-packages\pykwalify\core.py:99: 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) 2018-11-07 19:15:12.776194: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 Bot loaded. Type a message and press enter (use ‘/stop’ to exit): hi
C:\program files (x86)\Microsoft Visual Studio\Shared\Python36_64\lib\site-packages\sklearn\preprocessing\label.py:151: DeprecationWarning: The truth value of an empty array is ambiguous. Returning False, but in future this will result in an error. Use array.size > 0 to check that an array is not empty. if diff: Exception in thread Thread-1: Traceback (most recent call last): File “C:\program files (x86)\Microsoft Visual Studio\Shared\Python36_64\lib\threading.py”, line 916, in _bootstrap_inner self.run() File “C:\program files (x86)\Microsoft Visual Studio\Shared\Python36_64\lib\threading.py”, line 864, in run self._target(*self._args, **self._kwargs) File “C:\Users\Venky\AppData\Roaming\Python\Python36\site-packages\rasa_core\channels\console.py”, line 110, in record_messages for response in bot_responses: File “C:\Users\Venky\AppData\Roaming\Python\Python36\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:\Users\Venky\AppData\Roaming\Python\Python36\site-packages\gevent\pywsgi.py”, line 936, in handle_one_response self.run_application() File “C:\Users\Venky\AppData\Roaming\Python\Python36\site-packages\gevent\pywsgi.py”, line 910, in run_application self.process_result() File “C:\Users\Venky\AppData\Roaming\Python\Python36\site-packages\gevent\pywsgi.py”, line 896, in process_result self.write(data) File “C:\Users\Venky\AppData\Roaming\Python\Python36\site-packages\gevent\pywsgi.py”, line 742, in write self._write_with_headers(data) File “C:\Users\Venky\AppData\Roaming\Python\Python36\site-packages\gevent\pywsgi.py”, line 764, in _write_with_headers self._write(data) File “C:\Users\Venky\AppData\Roaming\Python\Python36\site-packages\gevent\pywsgi.py”, line 724, in _write self._sendall(data) File “C:\Users\Venky\AppData\Roaming\Python\Python36\site-packages\gevent\pywsgi.py”, line 702, in _sendall self.socket.sendall(data) File “C:\Users\Venky\AppData\Roaming\Python\Python36\site-packages\gevent_socket3.py”, line 418, in sendall data_sent += self.send(data_memory[data_sent:], flags) File “C:\Users\Venky\AppData\Roaming\Python\Python36\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 Nov 7 19:15:19 2018 {‘REMOTE_ADDR’: ‘127.0.0.1’, ‘REMOTE_PORT’: ‘59018’, ‘HTTP_HOST’: ‘localhost:5005’, (hidden keys: 23)} failed with ConnectionAbortedError
127.0.0.1 - - [2018-11-07 19:15:19] “POST /webhooks/rest/webhook?stream=true&token= HTTP/1.1” 200 153 0.242748
Appreciated for helping.