Open smiling-watermelon opened 3 months ago
Note, found it after reading the source code, it's in:
~/.continue/index
I've removed the tab-autocomplete database (and related files), for now the app seems to be working properly.
I'd suggest handling this type of error, and show which database is malformed, at least.
Switch to the latest Pre-Release 0.9.197
in the extension view for Continue (top right).
Also stop VSCode, delete the entire ~/.continue/index
folder (it will get rebuilt automatically) and start VSCode again.
If this problem appears again, please post here.
(BTW: This is the first corrupt SQLite db file I see, this is very rare. Are you sure nothing else is interfering on your system? SQLite and their db files are extremely widely used and extremely stable. To corrupt a SQLite db file extraordinary things usually happen, none of which Continue is capable of.)
Switch to the latest Pre-Release
0.9.197
in the extension view for Continue (top right).Also stop VSCode, delete the entire
~/.continue/index
folder (it will get rebuilt automatically) and start VSCode again.If this problem appears again, please post here.
(BTW: This is the first corrupt SQLite db file I see, this is very rare. Are you sure nothing else is interfering on your system? SQLite and their db files are extremely widely used and extremely stable. To corrupt a SQLite db file extraordinary things usually happen, none of which Continue is capable of.)
encountered same problem as described in the issue, upgrading to pre-release solved the problem
encountered same problem as described in the issue, upgrading to pre-release solved the problem
You also saw a corrupt SQLite db file? This should absolutely never happen IMHO. Can you please post your system specs roughly, which OS version, which VSCode/Continue version (before you upgraded), etc?
I'm pretty reliably able to corrupt the SQLite DB by adding or removing files outside of VSC within a previously indexed path, then moving the Window back to somewhere that includes that folder. Took me a while to get there, but that's the behavior I'm able to re-create at this point. Of note, VSC can be open or closed, and it will still corrupt the db when trying to refresh.
Before submitting your bug report
Relevant environment info
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.
Log output