continue icon indicating copy to clipboard operation
continue copied to clipboard

SQLITE_CORRUPT: database disk image is malformed

Open smiling-watermelon opened this issue 1 year ago • 5 comments

Before submitting your bug report

Relevant environment info

- OS: Fedora Linux 40 (Workstation Edition)
- Continue: v0.8.46
- IDE: VS Code 1.92.1
- Model: -
- config.json:
  
 {
  "models": [
    {
      "title": "GPT-4o",
      "provider": "openai",
      "model": "gpt-4o",
      "apiKey": "...",
      "systemMessage": "You are an expert software developer. You give helpful and concise responses."
    },
    {
      "title": "LLama 3",
      "provider": "ollama",
      "model": "llama3-8b",
      "systemMessage": "You are an expert software developer. You give helpful and concise responses. Whenever you write a code block you include the language after the opening ticks."
    }
  ],
  "customCommands": [
    {
      "name": "test",
      "prompt": "{{{ input }}}\n\nWrite a comprehensive set of unit tests for the selected code. It should setup, run tests that check for correctness including important edge cases, and teardown. Ensure that the tests are complete and sophisticated. Give the tests just as chat output, don't edit any file.",
      "description": "Write unit tests for highlighted code"
    }
  ],
  "allowAnonymousTelemetry": true,
  "docs": []
}

Description

When the extension starts, I get this error. I'm not sure what/where this database image is, I couldn't find in the extension folder of Continue.

I'm not sure how I can cause it to be malformed, since last time I've used it, I have exited the editor as usual.

To reproduce

Since Log Output doesn't support pasting images, I'll attach one here. image

Log output

[2024-08-15T05:20:55] [DEBUG] Logging initialized
[2024-08-15T05:20:55] [ERROR] Error adding item to minisearch: t is not iterable TypeError: t is not iterable
    at bc.addAll (https://file+.vscode-resource.vscode-cdn.net/home/woka/.vscode/extensions/continue.continue-0.8.46-linux-x64/gui/assets/index.js:684:8064)
    at https://file+.vscode-resource.vscode-cdn.net/home/woka/.vscode/extensions/continue.continue-0.8.46-linux-x64/gui/assets/index.js:684:23379
[2024-08-15T05:20:55] [ERROR] {}

smiling-watermelon avatar Aug 15 '24 05:08 smiling-watermelon