continuedev / continue

⏩ Continue is the leading open-source AI code assistant. You can connect any models and any context to build custom autocomplete and chat experiences inside VS Code and JetBrains
https://docs.continue.dev/
Apache License 2.0
18.91k stars 1.6k forks source link

[CON-268] SQLITE_IOERR: disk I/O error #2060

Open xiangshoulai opened 2 months ago

xiangshoulai commented 2 months ago

Before submitting your bug report

Relevant environment info

- OS:Darwin x64 21.3.0
- Continue: v0.9.198
- IDE: vscode 1.92.2
- Model:
- config.json:

Description

image Initialize the boot, after which this problem occurs, but not for every window

To reproduce

No response

Log output

No response

CON-268

navels commented 2 months ago

I am hitting this as well in one of my projects. Running Continue: Rebuild Index doesn't seem to do anything.

This seems to have resolved it for now:

rm -rf ~/.continue/index

That should probably be documented in the troubleshooting guide as something to try.

sestinj commented 2 months ago

Thanks all for the report! Starting to look into this now and will hopefully have some answers soon. In the meantime either rm -rf ~/.continue/index or restarting the VS Code window may both be workarounds

robinvalk commented 1 week ago

These errors show up all the time for me. Every new vscode window I open results in the same error. rm -rf ~/.continue/index really isn't a solution because it removes the indexes of all my other open windows...

Is continue only supported to work in a single vscode window at the time?

error when indexing:  Error: SQLITE_IOERR: disk I/O error
--> in Database#exec('CREATE TABLE IF NOT EXISTS tag_catalog (\n' +
  '            id INTEGER PRIMARY KEY AUTOINCREMENT,\n' +
  '            dir STRING NOT NULL,\n' +
  '            branch STRING NOT NULL,\n' +
  '            artifactId STRING NOT NULL,\n' +
  '            path STRING NOT NULL,\n' +
  '            cacheKey STRING NOT NULL,\n' +
  '            lastUpdated INTEGER NOT NULL\n' +
  '        )', [Function (anonymous)])
    at new Promise (<anonymous>)