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

Vault indexing error #983

Open
2 tasks
dougkeiller opened this issue Dec 30, 2024 · 1 comment
Open
2 tasks

Vault indexing error #983

dougkeiller opened this issue Dec 30, 2024 · 1 comment

Comments

@dougkeiller
Copy link

  • Disable all other plugins besides Copilot (required)
  • Screenshot of note + Copilot chat pane + dev console added (required)

Copilot version:

(Bug report without the above will be closed)

Describe how to reproduce
A clear and concise description of what the bug is. Clear steps to reproduce the behavior

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
Add screenshots to help explain your problem. Please turn on debug mode in Copilot settings, turn off other plugins to leave only Copilot dev messages as necessary.

Additional context
Add any other context about the problem here.

Error saving database: RangeError: Invalid string length
at JSON.stringify ()
at ChunkedStorage.saveDatabase (plugin:copilot:134081:16)
at async DBOperations.saveDB (plugin:copilot:134430:7)
at async IndexOperations.indexVaultToVectorStore (plugin:copilot:161358:13)
at async refreshVaultContext (plugin:copilot:159887:7)
plugin:copilot:134436 Error saving Orama database: CustomError: Failed to save database: Invalid string length
at ChunkedStorage.saveDatabase (plugin:copilot:134167:13)
at async DBOperations.saveDB (plugin:copilot:134430:7)
at async IndexOperations.indexVaultToVectorStore (plugin:copilot:161358:13)
at async refreshVaultContext (plugin:copilot:159887:7)
plugin:copilot:161563 Error indexing file undefined: CustomError: Failed to save database: Invalid string length
at ChunkedStorage.saveDatabase (plugin:copilot:134167:13)
at async DBOperations.saveDB (plugin:copilot:134430:7)
at async IndexOperations.indexVaultToVectorStore (plugin:copilot:161358:13)
at async refreshVaultContext (plugin:copilot:159887:7)
plugin:copilot:134166 Error saving database: RangeError: Invalid string length
at JSON.stringify ()
at ChunkedStorage.saveDatabase (plugin:copilot:134081:16)
at async DBOperations.saveDB (plugin:copilot:134430:7)
at async IndexOperations.indexVaultToVectorStore (plugin:copilot:161358:13)
at async refreshVaultContext (plugin:copilot:159887:7)
plugin:copilot:134436 Error saving Orama database: CustomError: Failed to save database: Invalid string length
at ChunkedStorage.saveDatabase (plugin:copilot:134167:13)
at async DBOperations.saveDB (plugin:copilot:134430:7)
at async IndexOperations.indexVaultToVectorStore (plugin:copilot:161358:13)
at async refreshVaultContext (plugin:copilot:159887:7)
plugin:copilot:161563 Error indexing file undefined: CustomError: Failed to save database: Invalid string length
at ChunkedStorage.saveDatabase (plugin:copilot:134167:13)
at async DBOperations.saveDB (plugin:copilot:134430:7)
at async IndexOperations.indexVaultToVectorStore (plugin:copilot:161358:13)
at async refreshVaultContext (plugin:copilot:159887:7)
plugin:copilot:134166 Error saving database: RangeError: Invalid string length
at JSON.stringify ()
at ChunkedStorage.saveDatabase (plugin:copilot:134081:16)
at async DBOperations.saveDB (plugin:copilot:134430:7)
at async IndexOperations.indexVaultToVectorStore (plugin:copilot:161370:7)
at async refreshVaultContext (plugin:copilot:159887:7)
plugin:copilot:134436 Error saving Orama database: CustomError: Failed to save database: Invalid string length
at ChunkedStorage.saveDatabase (plugin:copilot:134167:13)
at async DBOperations.saveDB (plugin:copilot:134430:7)
at async IndexOperations.indexVaultToVectorStore (plugin:copilot:161370:7)
at async refreshVaultContext (plugin:copilot:159887:7)
plugin:copilot:161587 Fatal error during indexing: CustomError: Failed to save database: Invalid string length
at ChunkedStorage.saveDatabase (plugin:copilot:134167:13)
at async DBOperations.saveDB (plugin:copilot:134430:7)
at async IndexOperations.indexVaultToVectorStore (plugin:copilot:161370:7)
at async refreshVaultContext (plugin:copilot:159887:7)

@logancyang
Copy link
Owner

Can you try increasing the number of partitions under QA settings? If you have a large vault, try 4, 8, or even more partitions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants