Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] ERROR Error searching for documents: [WinError 5] Cannot delete directory AGNOv1.0.8 #2048

Open
pleabargain opened this issue Feb 8, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@pleabargain
Copy link

Description

ERROR Error searching for documents: [WinError 5] Cannot delete directory
when running agno\cookbook\getting_started\04_agent_with_storage.py
out of the box

Steps to Reproduce

python 04_agent_with_storage.py

Environment

Windows 11)

  • Agno Version: (e.g. v1.0.0)
    agno 1.0.8

Do you want to start a new session? [y/N]: y
You are about to chat with an agent!
Started Session

😎 User : history of sticky rice
ERROR Error searching for documents: [WinError 5] Cannot delete directory
'C:/Users/denni/Documents/agno/cookbook/getting_started/tmp/lancedb/recipe_knowledge.lance/_indices/fts': Cannot delete
directory entry
'C:/Users/denni/Documents/agno/cookbook/getting_started/tmp/lancedb/recipe_knowledge.lance/_indices/fts': . Detail:
[Windows error 5] Access is denied.

@pleabargain pleabargain added the bug Something isn't working label Feb 8, 2025
@pleabargain pleabargain changed the title [Bug] ERROR Error searching for documents: [WinError 5] Cannot delete directory [Bug] ERROR Error searching for documents: [WinError 5] Cannot delete directory AGNOv1.0.8 Feb 8, 2025
@pritipsingh
Copy link
Contributor

Hey @pleabargain please pass debug_mode=True in your agent configuration and let us know if knowledge base was loaded properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants