A0 v1.10 sqlite3.OperationalError: database is locked
Hi All, I updated my A0 yesterday from 1.09 to 1.10 and today my my A0 is stuck with the following error:
sqlite3.OperationalError: database is locked Traceback (m...
sqlite3.OperationalError: database is locked
Traceback (most recent call last):
Traceback (most recent call last):
File "/a0/helpers/extension.py", line 176, in _run_async
data["result"] = await data["result"]
^^^^^^^^^^^^^^^^^^^^
File "/a0/agent.py", line 596, in handle_exception
raise exception # exception handling is done by extensions
^^^^^^^^^^^^^^^
File "/a0/agent.py", line 401, in monologue
prompt = await self.prepare_prompt(loop_data=self.loop_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/a0/helpers/extension.py", line 183, in _run_async
result = _process_result(data)
^^^^^^^^^^^^^^^^^^^^^
File "/a0/helpers/extension.py", line 143, in _process_result
raise exc
File "/a0/helpers/extension.py", line 176, in _run_async
data["result"] = await data["result"]
^^^^^^^^^^^^^^^^^^^^
File "/a0/agent.py", line 551, in prepare_prompt
await extension.call_extensions_async(
File "/a0/helpers/extension.py", line 235, in call_extensions_async
await result
File "/a0/plugins/_office/extensions/python/message_loop_prompts_after/_55_include_office_canvas_context.py", line 13, in execute
context = canvas_context.build_context()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/a0/plugins/_office/helpers/canvas_context.py", line 9, in build_context
documents = wopi_store.get_open_documents(limit=max_items)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/a0/plugins/_office/helpers/wopi_store.py", line 236, in get_open_documents
with connect() as conn:
File "/opt/pyenv/versions/3.12.4/lib/python3.12/contextlib.py", line 137, in __enter__
return next(self.gen)
^^^^^^^^^^^^^^
File "/a0/plugins/_office/helpers/wopi_store.py", line 103, in connect
conn.execute("PRAGMA journal_mode=WAL")
Actions taken so far:
I have open up a new session, however the result is the same.
Restarted A0 using the WEB frontend, same result
restarted the docker container, same result
Please advise what additional steps/task I should take/perform
Thanks a million in advance for your help and support
0
2 comments
Per Brangenfelt
1
A0 v1.10 sqlite3.OperationalError: database is locked
Agent Zero
skool.com/agent-zero
Agent Zero AI framework
Leaderboard (30-day)
Powered by