I’m new in Rasa and I think I have the same problem.
The versions of the applications are: Python : 3.7.7 Rasa : 1.9.5 Rasa sdk : 1.9.0 Rasa-x : 0.27.4 I am working Rasa-X Local mode on Windows 10.
My bot works normally on rasa shell, apart from the fact that while running the “rasa run actions” command in another terminal showed the following, without displaying the message “Action endpoint is up and running, on (‘0.0.0.0’, ‘5055’)”:
According to the forum’s answer to my question, this is not considered a problem : Problem with custon action server
About rasa x:
In the 1st terminal I run the command “rasa run actions - actions actions -vv” and the above image appears.
In the 2nd terminal I run the command “rasa x” and initially the messages below appear:
“Starting Rasa X in local mode…
c:\venv-x\lib\site-packages\rasa\core\training\dsl.py:422: UserWarning: Found unknown intent ‘greet’ on line 2. Please, make sure that all intents are listed in your domain yaml. docs=DOCS_URL_DOMAINS,
c:\venv-x\lib\site-packages\rasa\core\training\dsl.py:422: UserWarning: Found unknown intent ‘affirm’ on line 7. Please, make sure that all intents are listed in your domain yaml. docs=DOCS_URL_DOMAINS,
c:\venv-x\lib\site-packages\rasa\core\training\dsl.py:422: UserWarning: Found unknown intent ‘deny’ on line 7. Please, make sure that all intents are listed in your domain yaml. docs=DOCS_URL_DOMAINS,”
…. Displays the same for all intents…
“The server is running at http://localhost:5002/login?username=me&password=lq7q6MCrNdOF
2020-04-04 20:21:52 WARNING sanic.root - Sanic tried to use loop.add_signal_handler but it is not implemented on this platform.
2020-04-04 20:21:52 WARNING sanic.root - Sanic tried to use loop.add_signal_handler but it is not implemented on this platform."
At this point the bot is uploading to the browser (chrome), while the message appears in the 2nd terminal (rasa x) :
“WARNING:rasax.community.services.event_consumers.event_consumer:Could not save event of type ‘action’ with timestamp '1586021042.3033462 for conversation ID ‘5037013a75f54c2da7704a445ebaf2bf’ because it already exists.¨ “
Then, in each user input or response in the bot, the messages of this type appear in the 2nd terminal:
“WARNING:rasax.community.services.event_consumers.event_consumer:Could not save event due to unknown error: 'This Session’s transaction has been rolled back due to a previous exception during flush.
To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (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: (‘5037013a75f54c2da7704a445ebaf2bf’, ‘action’, 1586021042.3033462, None, ‘action_listen’, None, None, None, 0, ‘{“sender_id”: “5037013a75f54c2da7704a445ebaf2bf”, “event”: “action”, “timestamp”: 1586021042.3033462, “name”: “action_listen”, “policy”: null, “confidence”: null}’, None, ‘production’)] (Background on this error at: Error Messages — SQLAlchemy 2.0 Documentation) (Background on this error at: Error Messages — SQLAlchemy 2.0 Documentation)’ ”
During the operation of the bot in the browser, not all responses appear.
For example, in the 1st screenshot the “utter_question_continue” does not appear and in 2nd screenshot the “utter_crdetails” does not appear.
Please help me on resolving these issues.
Thanks.