Code Monkey home page Code Monkey logo

Comments (3)

fazalmajid avatar fazalmajid commented on June 19, 2024

Unfortunately the error says "database disk image is malformed", which does not give much hints as to what is wrong. Is your build of SQLite enabled with fts5? How did you install it? You can find out by running:

echo "pragma compile_options;" | sqlite3 | grep FTS

You've been experiencing a great many problems with this, and I apologize for that. Would you be willing to try a Docker version instead? I never finished it, but hopefully it would yield more deterministic results.

from temboz.

Silthanis avatar Silthanis commented on June 19, 2024

The message is really generic, which is why it took me a while to trace it as far as the ft_au trigger. Unfortunately, I'm not familiar enough with sqlite3 to take it much past that.

It's Debian's stable packaged version of sqlite3, and does appear to be fts5 enabled:

$ echo "pragma compile_options;" | sqlite3 | grep FTS
ENABLE_FTS3
ENABLE_FTS3_PARENTHESIS
ENABLE_FTS3_TOKENIZER
ENABLE_FTS4
ENABLE_FTS5

I generally prefer to avoid Docker if I can. Since I'm just running this for myself at this point it's one thing for me to trust the Debian maintainers with security, but quite another to trust the entire chain of docker images chosen by the developer of each program I run. I understand that Docker is easier on the developer to support and that temboz was written first and foremost to make your life easier rather than harder, though, so if you don't want to go down this road I get it.

This looks to be the last issue though, after which I'm planning to start working on - and hopefully contributing back - a bayesian scoring plugin. scikit-learn looks promising for that. My hope is to use the score for sorting and/or filtering.

from temboz.

fazalmajid avatar fazalmajid commented on June 19, 2024

FYI I just fixed some bugs with the search functionality. I doubt they have any relation with this issue but worth trying out.

from temboz.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.