Hi,
On Rasa X, when I try to create intents using interactive mode I get an exception in the console .I get below error when I interact on the interactive learning tab to test the base model . Could not save event of type ‘action’ with timestamp. Please help on resolving this issue.
The detailed stack trace is WARNING:rasax.community.services.event_consumers.event_consumer:Could not save event of type ‘action’ with timestamp '1584943030.4710948 for conversation ID ‘c2963f1fda6c4fbaaeb35445bfc5c774’ because it already exists. 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: (‘c2963f1fda6c4fbaaeb35445bfc5c774’, ‘action’, 1584943030.4710948, None, ‘action_listen’, None, None, None, 0, ‘{“sender_id”: “c2963f1fda6c4fbaaeb35445bfc5c774”, “event”: “action”, “timestamp”: 1584943030.4710948, “name”: “action_listen”, “policy”: null, “confidence”: null}’, None, ‘production’)] (Background on this error at: http://sqlalche.me/e/gkpj) (Background on this error at: http://sqlalche.me/e/7s2a)’ 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: (‘c2963f1fda6c4fbaaeb35445bfc5c774’, ‘action’, 1584943030.4710948, None, ‘action_listen’, None, None, None, 0, ‘{“sender_id”: “c2963f1fda6c4fbaaeb35445bfc5c774”, “event”: “action”, “timestamp”: 1584943030.4710948, “name”: “action_listen”, “policy”: null, “confidence”: null}’, None, ‘production’)] (Background on this error at: http://sqlalche.me/e/gkpj) (Background on this error at: http://sqlalche.me/e/7s2a)’
Thanks, Nivedita