dbcodeio / public

The Power of Databases, The Convenience of VS Code: All in One Place
28 stars 1 forks source link

Unable to download `better-sqlite3-multiple-ciphers` #101

Closed 5macro closed 2 weeks ago

5macro commented 2 weeks ago

The error shown up once using the sample database:

DBCode Network Error GET:https://github.com/m4heshd/better-sqlite3-multiple-ciphers/releases/download/v11.1.2/better-sqlite3-multiple-ciphers-v11.1.2-electron-v128-darwin-x64.tar.gz - UND_ERR_CONNECT_TIMEOUT: fetch failed

It turns out that the better-sqlite3-multiple-ciphers-v11.1.2-electron-v128-darwin-x64.tar.gz doesn't exist.

$ curl https://github.com/m4heshd/better-sqlite3-multiple-ciphers/releases/download/v11.1.2/better-sqlite3-multiple-ciphers-v11.1.2-electron-v128-darwin-x64.tar.gz
Not Found

version: v0.16.1

mikeburgh commented 2 weeks ago

Thanks, is version 0.16.1 the version of the extension you are using ? It's very old, and has since been upgraded to using the packages that are now stored here for the SQLite driver, if you upgrade to the latest version this issue should be fixed.

https://github.com/dbcodeio/public/tree/main/packages/better-sqlite3

5macro commented 2 weeks ago

Thanks @mikeburgh for helping out, yes it was fixed in the new version. I'm gonna close the issue.

mikeburgh commented 1 week ago

Did you get 0.16 from the marketplace awhile ago ? Or somewhere else recently, just want to make sure any places offering old versions get updated.

5macro commented 1 week ago

Did you get 0.16 from the marketplace awhile ago ? Or somewhere else recently, just want to make sure any places offering old versions get updated.

Not really, it's pretty weird that I installed the 0.16.1 a few days ago via the vscode extensions marketplace and have to install the latest one manually by install the specific version.

mikeburgh commented 1 week ago

Yeah that’s very strange!

Are you using vscode or one of the forks like cursor/pear/codium ?

mikeburgh commented 1 week ago

All good, I managed to replicate it myself, it has something to do with when there is a pre release version available. Raising it as a bug with MS, and will avoid pre releases until they fix it.