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] Milvus throwing "list index out of range" #2001

Open
kidrah-bhq opened this issue Feb 4, 2025 · 0 comments
Open

[Bug] Milvus throwing "list index out of range" #2001

kidrah-bhq opened this issue Feb 4, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@kidrah-bhq
Copy link

Description

When starting a empty milvus-lite db, error is thrown stating "list index out of range"

Steps to Reproduce

Just following the example in the cookbook for milvus

Agent Configuration (if applicable)

Provide relevant agent configuration.

Expected Behavior

Vector DB should have been created

Actual Behavior

Crash

Screenshots or Logs (if applicable)

agno/vectordb/milvus/milvus.py", line 122, in name_exists
    return len(scroll_result[0]) > 0
               ~~~~~~~~~~~~~^^^
IndexError: list index out of range

Environment

  • OS: Fedora 41
  • Browser (if relevant): N/A
  • Agno Version: 1.0.4
  • External Dependency Versions:pymilvus-2.5.4
  • Additional Environment Details: Python 3.13

Possible Solutions (optional)

Adding a None check here should fix the issue

Additional Context

Add any other context or details about the problem here.

@kidrah-bhq kidrah-bhq added the bug Something isn't working label Feb 4, 2025
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

1 participant