I am not getting entities from a sample text, i.e, entities = None
I am getting below error:
Rasa Actions server:
> Exception occurred while handling uri: 'http://localhost:5055/webhook'
> Traceback (most recent call last):
> File "c:\users\i0805\anaconda3\envs\rasa\lib\site-packages\rasa_sdk\executor.py", line 398, in run
> action(dispatcher, tracker, domain)
> File "C:\Users\i0805\Downloads\project_2\actions\actions.py", line 64, in
> run
> months_to_predict = next(tracker.get_latest_entity_values("time", None))StopIteration
>
> The above exception was the direct cause of the following exception:
>
> Traceback (most recent call last):
> File "c:\users\i0805\anaconda3\envs\rasa\lib\site-packages\sanic\app.py",
> line 939, in handle_request
> response = await response
> File "c:\users\i0805\anaconda3\envs\rasa\lib\site-packages\rasa_sdk\endpoint.py", line 104, in webhook
> result = await executor.run(action_call)
> RuntimeError: coroutine raised StopIteration
rasa shell:
2021-11-26 12:45:59 ERROR rasa.core.processor - Encountered an exception while running action 'action_forecast_avg_risk'.Bot will continue, but the actions events are lost. Please check the logs of your action server for more information.
Traceback (most recent call last):
File "c:\users\i0805\anaconda3\envs\rasa\lib\site-packages\rasa\core\actions\action.py", line 686, in run
json=json_body, method="post", timeout=DEFAULT_REQUEST_TIMEOUT
File "c:\users\i0805\anaconda3\envs\rasa\lib\site-packages\rasa\utils\endpoints.py",
line 173, in request
response.status, response.reason, await response.content.read()
rasa.utils.endpoints.ClientResponseError: 500, Internal Server Error, body='b'<!DOCTYPE html><html lang=en><meta charset=UTF-8><title>\xe2\x9a\xa0\xef\xb8\x8f 500 \xe2\x80\x94 Internal Server Error</title>\n<style>\n html { font-family: sans-serif }\n
h2 { color: #888; }\n .tb-wrapper p { margin: 0 }\n .frame-border {
margin: 1rem }\n .frame-line > * { padding: 0.3rem 0.6rem }\n .frame-line { margin-bottom: 0.3rem }\n .frame-code { font-size: 16px; padding-left: 4ch }\n .tb-wrapper { border: 1px solid #eee }\n .tb-header { background: #eee; padding: 0.3rem; font-weight: bold }\n .frame-descriptor { background: #e2eafb; font-size: 14px }\n </style>\n<h1>\xe2\x9a\xa0\xef\xb8\x8f 500 \xe2\x80\x94 Internal Server Error</h1><p>The server encountered an internal error and cannot complete your request.\n''
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "c:\users\i0805\anaconda3\envs\rasa\lib\site-packages\rasa\core\processor.py", line 773, in _run_action
output_channel, nlg, temporary_tracker, self.domain
File "c:\users\i0805\anaconda3\envs\rasa\lib\site-packages\rasa\core\actions\action.py", line 709, in run
raise RasaException("Failed to execute custom action.") from e
rasa.shared.exceptions.RasaException: Failed to execute custom action.
> Rasa Version : 2.8.15
> Minimum Compatible Version: 2.8.9
> Rasa SDK Version : 2.8.2
> Rasa X Version : 0.42.6
> Python Version : 3.6.13
> Operating System : Windows-10-10.0.19041-SP0