sqlite-vec icon indicating copy to clipboard operation
sqlite-vec copied to clipboard

datasette-sqlite-vec plugin fails to register hook

Open simonw opened this issue 1 year ago • 2 comments

The datasette-sqlite-vec plugin isn't currently registering the plugin hooks correctly. Should be a small fix.

simonw avatar Aug 02 '24 16:08 simonw

I think the bug is over in sqlite-dist - somewhere around here: https://github.com/asg017/sqlite-dist/blob/f4e43b3a708e23fde716fc2cb04123fc1ff1f522/src/pip.rs#L316

simonw avatar Aug 02 '24 16:08 simonw

This workaround works:

datasette --load-extension "$(python -c 'print(__import__("sqlite_vec").loadable_path())')"

simonw avatar Aug 02 '24 20:08 simonw

@simonw Datasette and sqlite-utils bindings have been fixed in v0.1.1, let me know if it doesnt work for you! https://github.com/asg017/sqlite-vec/releases/tag/v0.1.1

asg017 avatar Aug 06 '24 00:08 asg017