Comment by simonw
1 year ago
Clearly still in very early days:
uv run --with pylimbo --python 3.13 python
Then:
>>> import limbo
>>> con = limbo.connect("/tmp/content.db")
thread '<unnamed>' panicked at core/schema.rs:186:18:
not yet implemented: Expected CREATE TABLE statement
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
With that environment variable:
stack backtrace:
0: _rust_begin_unwind
1: core::panicking::panic_fmt
2: limbo_core::util::parse_schema_rows
3: _limbo::__pyfunction_connect
4: pyo3::impl_::trampoline::trampoline
Hey Simon! However early you think it is, I can guarantee it is even earlier =)
If this is just a standard sqlite database that you are trying to open, though, I'd have expected it to work.
It's this database from here: https://datasette.io/content.db - it uses the SQLite FTS extension though so it's not surprising there was something in there that caused problems!