hello everyone, I am a new user of open source rasa which I really like. However, after installation without problems I suppose, I have difficulty operating rasa x normally by simulating a conversation with the bot. in fact the bot does not react. I can start rasa x but my bot does not respond; with the rasa interactive command everything is going well. but in rasa x The bot is in a constant “action_listen” mode. I have already used two versions of rasa; here are the details and the different errors encountered.
version Rasa 2.2.2 rasa-sdk 2.2.0 rasa-x 0.34.0 python 3.7.9 in windows 10, anaconda navigator
rasa x
tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found
tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Skipping registering GPU devices...
Starting Rasa X in local mode... 🚀
An error occured when trying to send the telemetry event: HTTPSConnectionPool(host='api.segment.io', port=443): Read timed out. (read timeout=2)
2023-11-13 10:46:32 ERROR concurrent.futures - exception calling callback for <Future at 0x2473ea8c908 state=finished raised gaierror>
Traceback (most recent call last): File lib\concurrent\futures\thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs)
\lib\socket.py", line 752, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno 11001] getaddrinfo failed
lib\asyncio\base_events.py", line 479, in _check_closed raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
ERROR concurrent.futures - exception calling callback for <Future at 0x2473e740788 state=finished returned list>
Traceback (most recent call last):
lib\site-packages\apscheduler\util.py", line 93, in astimezone raise TypeError('Only timezones from the pytz library are supported') TypeError: Only timezones from the pytz library are supported
ERROR rasa.core.agent - Could not load model due to Only timezones from the pytz library are supported.
ERROR asyncio - Task was destroyed but it is pending!
task: <Task pending coro=<TCPConnector._resolve_host() done, defined at lib\site-packages\aiohttp\connector.py:774> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at asyncio\futures.py:351, <TaskWakeupMethWrapper object at 0x000002473F228F18>()]>>
[13896] [INFO] Goin' Fast @ http://0.0.0.0:5002
INFO sanic.root - Goin' Fast @ http://0.0.0.0:5002
The server is running at http://localhost:5002/login?username=me&password=D6SGX34Laf1pz
[9424] [INFO] Starting worker [9424]
INFO sanic.root - Starting worker [9424]
ERROR asyncio - Task was destroyed but it is pending!
task: <Task pending coro=<TCPConnector._resolve_host() running at C:\Users\Administra\lib\site-packages\aiohttp\connector.py:830> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at C:\Users\Administra\lib\asyncio\futures.py:351, <TaskWakeupMethWrapper object at 0x00000216700E8918>()]>>
2023-11-13 14:50:20 ERROR asyncio - Task was destroyed but it is pending!
task: <Task pending coro=<TCPConnector._resolve_host() running at C:\Users\Administra\lib\site-packages\aiohttp\connector.py:830> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at C:\Users\Administra\lib\asyncio\futures.py:351, <TaskWakeupMethWrapper object at 0x00000216700E8648>()]>>
WARNING:rasax.community.services.event_consumers.event_consumer:Saving event failed due to an 'IntegrityError'. This means that the event is already stored in the database. The event data was '{"sender_id": "30a77c4dad90480ba0
An error occured when trying to send the telemetry event: HTTPSConnectionPool(host='api.segment.io', port=443): Read timed out. (read timeout=2)
WARNING:rasax.community.services.event_consumers.event_consumer:Saving event failed due to an 'IntegrityError'. This means that the event is already stored in the database. The event data was '{"sender_id": "490ba00cccfb40c59e906014a84cf4f0", "event": "action", "timestamp": 1699868873.5360727, "name": "action_listen", "policy": null, "confidence": null, "action_text": null}'. (sqlite3.IntegrityError) UNIQUE constraint failed: conversation_event.conversation_id, conversation_event.timestamp, conversation_event.type_name
[SQL: INSERT INTO conversation_event (conversation_id, type_name, timestamp, intent_name, action_name, slot_name, slot_value, policy, is_flagged, data, evaluation, rasa_environment) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]
[parameters: ('490ba00cccfb40c59e906014a84cf4f0', 'action', 1699868873.5360727, None, 'action_listen', None, None, None, 0, '{"sender_id": "490ba00cccfb40c59e906014a84cf4f0", "event": "action", "timestamp": 1699868873.5360727, "name": "action_listen", "policy": null, "confidence": null, "action_text": null}', None, 'production')]
(Background on this error at: http://sqlalche.me/e/13/gkpj)
lib\site-packages\rasa\shared\utils\io.py:93: UserWarning: No policy ensemble or domain set. Skipping action prediction and execution.
More info at https://rasa.com/docs/rasa/policies
WARNING:rasax.community.services.event_consumers.event_consumer:Saving event failed due to an 'IntegrityError'. This means that the event is already stored in the database. The event data was '{"sender_id": "b4d74a7e5dc74991afd29fec93e6c917", "event": "action", "timestamp": 1699868923.1361485, "name": "action_listen", "policy": null, "confidence": null, "action_text": null}'. (sqlite3.IntegrityError) UNIQUE constraint failed: conversation_event.conversation_id, conversation_event.timestamp, conversation_event.type_name
[SQL: INSERT INTO conversation_event (conversation_id, type_name, timestamp, intent_name, action_name, slot_name, slot_value, policy, is_flagged, data, evaluation, rasa_environment) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]
[parameters: ('b4d74a7e5dc74991afd29fec93e6c917', 'action', 1699868923.1361485, None, 'action_listen', None, None, None, 0, '{"sender_id": "b4d74a7e5dc74991afd29fec93e6c917", "event": "action", "timestamp": 1699868923.1361485, "name": "action_listen", "policy": null, "confidence": null, "action_text": null}', None, 'production')]
(Background on this error at: http://sqlalche.me/e/13/gkpj)
http://sqlalche.me/e/13/gkpj)
\lib\site-packages\rasa\shared\utils\io.py:93: UserWarning: No policy ensemble or domain set. Skipping action prediction and execution.
I normally access http://localhost:5002/conversations but the bot does not react during the simulation of a conversation
version rasa 2.4.3 rasa x 0.39.3 python 3.7.16 in windows 10, anaconda navigator
>rasa x
W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found
Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...
lib\site-packages\rasa\shared\core\slots.py:274: FutureWarning: UnfeaturizedSlot is deprecated and will be removed in Rasa Open Source 3.0. Please change the type and configure the 'influence_conversation' flag for slot 'fgbgb’ instead. category=FutureWarning,
Starting Rasa X in local mode... 🚀
lib\site-packages\rasa\shared\utils\io.py:96: UserWarning: Issue found in 'C:\Users\ADMINI~1\AppData\Local\Temp\tmpsoic86j1': Found intent 'mood_great' in stories which is not part of the domain. More info at https://rasa.com/docs/rasa/stories
Found intent 'affirm' in stories which is not part of the domain.
More info at https://rasa.com/docs/rasa/stories
WARNING rasax.community.services.insights.insight_service - No new evaluation results.
ERROR concurrent.futures - exception calling callback for <Future at 0x13680d4d748 state=finished raised gaierror>
Traceback (most recent call last):
File lib\concurrent\futures\thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs) lib\socket.py", line 752, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 11001] getaddrinfo failed
During handling of the above exception, another exception occurred:
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
ERROR concurrent.futures - exception calling callback for <Future at 0x13680d4d948 state=finished returned list>
Traceback (most recent call last):
lib\asyncio\base_events.py", line 736, in call_soon_threadsafe
\lib\site-packages\rasax\community\utils\common.py", line 848, in _run_in_process_target
self.timezone = astimezone(timezone)
lib\site-packages\apscheduler\util.py", line 93, in astimezone raise TypeError('Only timezones from the pytz library are supported') TypeError: Only timezones from the pytz library are supported
rasa.core.agent - Could not load model due to Only timezones from the pytz library are supported.
lib\site-packages\rasa\shared\utils\io.py:96: UserWarning: Agent could not be loaded with the provided configuration. Load default agent without any model.
[22892] [INFO] Goin' Fast @ http://0.0.0.0:5002
INFO sanic.root - Goin' Fast @ http://0.0.0.0:5002
The server is running at http://localhost:5002/login?username=me&password=MvG2D0nNIekHE
[22892] [INFO] Starting worker [2292]
INFO sanic.root - Starting worker [2292]
ERROR asyncio - Task was destroyed but it is pending!
task: <Task pending coro=<TCPConnector._resolve_host() running at C:\Users\Administra\lib\site-packages\aiohttp\connector.py:830> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at C:\Users\Administra\lib\asyncio\futures.py:351, <TaskWakeupMethWrapper object at 0x00000216700E8918>()]>>
2023-11-13 14:50:20 ERROR asyncio - Task was destroyed but it is pending!
task: <Task pending coro=<TCPConnector._resolve_host() running at C:\Users\Administra\lib\site-packages\aiohttp\connector.py:830> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at C:\Users\Administra\lib\asyncio\futures.py:351, <TaskWakeupMethWrapper object at 0x00000216700E8648>()]>>
WARNING:rasax.community.services.event_consumers.event_consumer:Saving event failed due to an 'IntegrityError'. This means that the event is already stored in the database. The event data was '{"sender_id": "30a77c4dad90480ba0
WARNING:rasax.community.services.event_consumers.event_consumer:Saving event failed due to an 'IntegrityError'. This means that the event is already stored in the database. The event data was '{"sender_id": "fb9ae792822f4504afa1d04f59aca018", "event": "action", "timestamp": 1699871396.0968318, "name": "action_listen", "policy": null, "confidence": null, "action_text": null}'. (sqlite3.IntegrityError) UNIQUE constraint failed: conversation_event.conversation_id, conversation_event.timestamp, conversation_event.type_name
[SQL: INSERT INTO conversation_event (conversation_id, type_name, timestamp, intent_name, action_name, slot_name, slot_value, policy, is_flagged, data, evaluation, rasa_environment) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]
[parameters: ('fb9ae792822f4504afa1d04f59aca018', 'action', 1699871396.0968318, None, 'action_listen', None, None, None, 0, '{"sender_id": "fb9ae792822f4504afa1d04f59aca018", "event": "action", "timestamp": 1699871396.0968318, "name": "action_listen", "policy": null, "confidence": null, "action_text": null}', None, 'production')]
(Background on this error at: http://sqlalche.me/e/13/gkpj)
\lib\site-packages\rasa\shared\utils\io.py:93: UserWarning: No policy ensemble or domain set. Skipping action prediction and execution.
More info at https://rasa.com/docs/rasa/policies
I normally access http://localhost:5002/conversations but the bot does not react during the simulation of a conversation
Thank you for any support provided