![]() ![]() The above exception was the direct cause of the following exception:įile "/home/namex/environments/rasa/lib/python3.6/site-packages/rasax/community/services/event_service.py", line 924, in continuously_consumeįile "/home/namex/environments/rasa/lib/python3.6/site-packages/rasax/community/services/event_service.py", line 893, in consumeįile "/home/namex/environments/rasa/lib/python3.6/site-packages/rasax/community/services/event_service.py", line 885, in runĮvent, sender_id=sender_id, event_number=event_numberįile "/home/namex/environments/rasa/lib/python3.6/site-packages/rasax/community/services/event_service.py", line 70, in save_event Sqlite3.OperationalError: database is locked Will retry in 5sįile "/home/namex/environments/rasa/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1244, in _execute_contextįile "/home/namex/environments/rasa/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 550, in do_execute Here is the message I get running interactive learning from rasa x: Caught an exception while consuming events. If I run it from command line interface with rasa interactive, everything is working fine. I have the same issue running interactive learning from rasa x. ![]() (sqlite3.OperationalError) database is locked Original exception was: (raised as a result of Query-invoked autoflush consider using a session.no_autoflush block if this flush is occurring prematurely) To begin a new transaction with this Session, first issue Session.rollback(). : This Session's transaction has been rolled back due to a previous exception during flush. Mapper=self._bind_mapper(), clause=querycontext.statement, **kwįile "/lib/python3.7/site-packages/sqlalchemy/orm/query.py", line 3332, in _connection_from_sessionįile "/lib/python3.7/site-packages/sqlalchemy/orm/session.py", line 1123, in connectionįile "/lib/python3.7/site-packages/sqlalchemy/orm/session.py", line 1129, in _connection_for_bindįile "/lib/python3.7/site-packages/sqlalchemy/orm/session.py", line 407, in _connection_for_bindįile "/lib/python3.7/site-packages/sqlalchemy/orm/session.py", line 294, in _assert_active Querycontext, self._connection_from_session, close_with_result=Trueįile "/lib/python3.7/site-packages/sqlalchemy/orm/query.py", line 3354, in _get_bind_args Return self._execute_and_instances(context)įile "/lib/python3.7/site-packages/sqlalchemy/orm/query.py", line 3339, in _execute_and_instances Return self.event_store.get_latest_event_timestamp_and_event_number()[įile "/lib/python3.7/site-packages/rasax/community/services/event_service.py", line 213, in get_latest_event_timestamp_and_event_numberĮxisting = (ConversationStatistic).first()įile "/lib/python3.7/site-packages/sqlalchemy/orm/query.py", line 3215, in firstįile "/lib/python3.7/site-packages/sqlalchemy/orm/query.py", line 3007, in _getitem_įile "/lib/python3.7/site-packages/sqlalchemy/orm/query.py", line 3317, in _iter_ Self.event_number = self._init_event_number()įile "/lib/python3.7/site-packages/rasax/community/services/event_service.py", line 883, in _init_event_number Will retry in 5sįile "/lib/python3.7/site-packages/rasax/community/services/event_service.py", line 924, in continuously_consumeįile "/lib/python3.7/site-packages/rasax/community/services/event_service.py", line 879, in _init_ Ĭaught an exception while consuming events. Getting a bug when running rasa x interactive learning, it gets stuck in this loop.
0 Comments
Leave a Reply. |