You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I've been trying to run the example on the stock market.
I did not change anything important in the example structure, except reconfigured it to work with Azure key/endpoints.
I cannot be a problem, as I did it for my several projects with crewAI and all of them work very well with Azure.
Although I did not use tools using db, until now.
Ai am consistently getting the error:
sqlite3.OperationalError: database is locked
in run
return StockAnalysisCrew().crew().kickoff(inputs=inputs)
....
File "/python3.11/site-packages/crewai/project/annotations.py", line 85, in wrapper
task_instance = task_method(self)
^^^^^^^^^^^^^^^^^
File "python3.11/site-packages/crewai/project/utils.py", line 7, in memoized_func
cache[key] = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/python3.11/site-packages/crewai/project/annotations.py", line 13, in wrapper
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^ /crewAI-examples/stock_analysis/src/stock_analysis/crew.py", line 99, in financial_analysis
agent=self.financial_analyst_agent(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/python3.11/site-packages/crewai/project/utils.py", line 7, in memoized_func
cache[key] = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/crewAI-examples/stock_analysis/src/stock_analysis/crew.py", line 88, in financial_analyst_agent
WebsiteSearchTool(),
^^^^^^^^^^^^^^^^^^^
in the log before this error message, I see the lines with .../python3,11/site-packages like: /python3.11/site-packages/chromadb/config.py", line 403, in start /python3.11/site-packages/chromadb/telemetry/opentelemetry/init.py", line 127, in wrapper
return f(*args, **kwargs)
File "/python3.11/site-packages/chromadb/db/impl/sqlite.py", line 100, in start
self.initialize_migrations()
File "/python3.11/site-packages/chromadb/db/migrations.py", line 140, in initialize_migrations
self.apply_migrations()
File "/python3.11/site-packages/chromadb/telemetry/opentelemetry/init.py", line 127, in wrapper
return f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "/python3.11/site-packages/chromadb/db/migrations.py", line 165, in apply_migrations
self.setup_migrations()
File "/python3.11/site-packages/chromadb/telemetry/opentelemetry/init.py", line 127, in wrapper
return f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "/python3.11/site-packages/chromadb/db/impl/sqlite.py", line 157, in setup_migrations
with self.tx() as cur:
File "~/python3.11/site-packages/chromadb/db/impl/sqlite.py", line 51, in exit
self._conn.commit()
File "/anaconda/envs/mycrewAI/lib/python3.11/site-packages/chromadb/db/impl/sqlite_pool.py", line 31, in commit
self._conn.commit()
what is the origin of this issue and how to fix this issue?
Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
I've been trying to run the example on the stock market.
I did not change anything important in the example structure, except reconfigured it to work with Azure key/endpoints.
I cannot be a problem, as I did it for my several projects with crewAI and all of them work very well with Azure.
Although I did not use tools using db, until now.
Ai am consistently getting the error:
sqlite3.OperationalError: database is locked
in run
return StockAnalysisCrew().crew().kickoff(inputs=inputs)
....
File "
/python3.11/site-packages/crewai/project/annotations.py", line 85, in wrapper
/python3.11/site-packages/chromadb/db/migrations.py", line 165, in apply_migrationstask_instance = task_method(self)
^^^^^^^^^^^^^^^^^
File "
python3.11/site-packages/crewai/project/utils.py", line 7, in memoized_func/python3.11/site-packages/crewai/project/annotations.py", line 13, in wrappercache[key] = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
/crewAI-examples/stock_analysis/src/stock_analysis/crew.py", line 99, in financial_analysis/python3.11/site-packages/crewai/project/utils.py", line 7, in memoized_funcagent=self.financial_analyst_agent(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "
cache[key] = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/
crewAI-examples/stock_analysis/src/stock_analysis/crew.py", line 88, in financial_analyst_agent
/python3.11/site-packages/chromadb/telemetry/opentelemetry/init.py", line 127, in wrapperWebsiteSearchTool(),
^^^^^^^^^^^^^^^^^^^
in the log before this error message, I see the lines with .../python3,11/site-packages like:
/python3.11/site-packages/chromadb/config.py", line 403, in start
/python3.11/site-packages/chromadb/db/migrations.py", line 140, in initialize_migrations/python3.11/site-packages/chromadb/telemetry/opentelemetry/init.py", line 127, in wrapper/python3.11/site-packages/chromadb/db/impl/sqlite.py", line 100, in startreturn f(*args, **kwargs)
File "
self.initialize_migrations()
File "
self.apply_migrations()
File "
return f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "
self.setup_migrations()
File "
/python3.11/site-packages/chromadb/telemetry/opentelemetry/init.py", line 127, in wrapper/python3.11/site-packages/chromadb/db/impl/sqlite.py", line 157, in setup_migrationsreturn f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "
with self.tx() as cur:
File "~/python3.11/site-packages/chromadb/db/impl/sqlite.py", line 51, in exit
self._conn.commit()
File "/anaconda/envs/mycrewAI/lib/python3.11/site-packages/chromadb/db/impl/sqlite_pool.py", line 31, in commit
self._conn.commit()
what is the origin of this issue and how to fix this issue?
Thanks!
The text was updated successfully, but these errors were encountered: