Hello,
I need help i am kind of desparate, i am getting ERROR asyncio - Task exception was never retrieved whenever I run rasa shell or rasa interactive and talk to my bot. I get no errors when I train the data. I did some changes, a menu and some faq capabilities, after this the bot wont respond. i have tried a clean Venv and rasa installation still getting the same error.
(AV) PS C:\Users\leoaq\chatbot> rasa interactive
Nothing changed. You can use the old model stored at βC:\Users\leoaq\chatbot\models\20210413-120408.tar.gzβ.
2021-04-13 12:31:29 INFO rasa.model - Loading model models\20210413-120408.tar.gzβ¦
c:\users\leoaq\documents\datascience\envs\av\lib\site-packages\rasa\utils\train_utils.py:560: UserWarning: constrain_similarities is set to False
. It is recommended to set it to True
when using cross-entropy loss. It will be set to True
by default, Rasa Open Source 3.0.0 onwards.
rasa.shared.utils.io.raise_warning(
c:\users\leoaq\documents\datascience\envs\av\lib\site-packages\rasa\utils\train_utils.py:533: UserWarning: model_confidence is set to softmax
. It is recommended to try using model_confidence=linear_norm
to make it easier to tune fallback thresholds.
rasa.shared.utils.io.raise_warning(
2021-04-13 12:31:47 INFO root - Rasa server is up and running.
Processed story blocks: 100%|βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 1/1 [00:00<00:00, 999.36it/s, # trackers=1]
Processed rules: 100%|βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 3/3 [00:00<00:00, 3000.22it/s, # trackers=1]
Bot loaded. Visualisation at http://localhost:5006/visualization.html .
Type a message and press enter (press βCtrl-cβ to exit).
? Your input β hola
2021-04-13 12:35:42 ERROR rasa.server - An unexpected error occurred. Error: list index out of range
2021-04-13 12:35:42 ERROR rasa.core.training.interactive - An exception occurred while recording messages.
Traceback (most recent call last):
File βc:\users\leoaq\documents\datascience\envs\av\lib\site-packages\rasa\core\training\interactive.pyβ, line 1496, in record_messages
await _enter_user_message(conversation_id, endpoint)
File βc:\users\leoaq\documents\datascience\envs\av\lib\site-packages\rasa\core\training\interactive.pyβ, line 1340, in _enter_user_message
await send_message(endpoint, conversation_id, message)
File βc:\users\leoaq\documents\datascience\envs\av\lib\site-packages\rasa\core\training\interactive.pyβ, line 157, in send_message
return await endpoint.request(
File βc:\users\leoaq\documents\datascience\envs\av\lib\site-packages\rasa\utils\endpoints.pyβ, line 154, in request
raise ClientResponseError(
rasa.utils.endpoints.ClientResponseError: 500, Internal Server Error, body=βbβ{βversionβ:β2.5.0β,βstatusβ:βfailureβ,βmessageβ:βAn unexpected error occurred. Error: list index out of rangeβ,βreasonβ:βConversationErrorβ,βdetailsβ:{},βhelpβ:null,βcodeβ:500}ββ
2021-04-13 12:35:42 ERROR asyncio - Task exception was never retrieved
future: <Task finished name=βTask-27β coro=<_serve_application..run_interactive_io() done, defined at c:\users\leoaq\documents\datascience\envs\av\lib\site-packages\rasa\core\training\interactive.py:1589> exception=ClientResponseError(β500, Internal Server Error, body='b'{βversionβ:β2.5.0β,βstatusβ:βfailureβ,βmessageβ:βAn unexpected error occurred. Error: list index out of rangeβ,βreasonβ:βConversationErrorβ,βdetailsβ:{},βhelpβ:null,βcodeβ:500}''β)>
Traceback (most recent call last):
File βc:\users\leoaq\documents\datascience\envs\av\lib\site-packages\rasa\core\training\interactive.pyβ, line 1592, in run_interactive_io
await record_messages(
File βc:\users\leoaq\documents\datascience\envs\av\lib\site-packages\rasa\core\training\interactive.pyβ, line 1496, in record_messages
await _enter_user_message(conversation_id, endpoint)
File βc:\users\leoaq\documents\datascience\envs\av\lib\site-packages\rasa\core\training\interactive.pyβ, line 1340, in _enter_user_message
await send_message(endpoint, conversation_id, message)
File βc:\users\leoaq\documents\datascience\envs\av\lib\site-packages\rasa\core\training\interactive.pyβ, line 157, in send_message
return await endpoint.request(
File βc:\users\leoaq\documents\datascience\envs\av\lib\site-packages\rasa\utils\endpoints.pyβ, line 154, in request
raise ClientResponseError(
rasa.utils.endpoints.ClientResponseError: 500, Internal Server Error, body=βbβ{βversionβ:β2.5.0β,βstatusβ:βfailureβ,βmessageβ:βAn unexpected error occurred. Error: list index out of rangeβ,βreasonβ:βConversationErrorβ,βdetailsβ:{},βhelpβ:null,βcodeβ:500}ββ