-
Notifications
You must be signed in to change notification settings - Fork 673
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Database creation error #5297
Comments
A bit more searching reveals this KaOSx/apps#47 (and a forum post that linked to it ) implying the issue may be a lack of tokenizer support in sqlite 3.11.0 so this may not exclusively be a Clementine issue. It looks like sqlite has disabled their support for user implemented tokenizers in FTS3 (at least without compile flags) (see http://www.sqlite.org/changes.html for 3.11.0) and this may be an ongoing problem with many distributions. |
You can switch to FTS5 or use SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER to re-enable support for custom FTS3/FTS4 tokenizers.
|
About FTS5: |
Thanks. To clarify, my understanding is that this fixes Clementine with SQLite 3.12.0 (probably due in the next month or so) and also places that backport the config option to 3.11? Clementine with unpatched SQLite 3.11 remains an broken, but that is most likely unavoidable and only a temporary issue? |
Yes. (Or switch to FTS5 as mentioned previously.) |
Since SQLite 3.12 is now out (and compiled locally with FTS5 enabled), not clear yet how to fix Clementine. |
Hey! Do we have a patch for FTS5? I cannot get it to work due to my sqlite having fts5 instead of 3/4. |
Original patch by Arfrever This fixes clementine-player#5297
see #5669 |
Before posting
Please follow the steps below and check the boxes with [x] once you did the step.
I haven't done the last step (there isn't a build for my distribution and I'm already using the latest update from git)
System information
Please provide information about your system and the version of Clementine used.
Qt 4.8.7
sqlite version 3.11.0
Expected behaviour / actual behaviour
I'd been having issues with the search function not working for the past month or so (when I typed anything in the library search box no results came up). To try to fix this I removed my ~/.config/Clementine folder in the hope that it would rebuild the database. On trying to start Clementine I get the following output and the program closes
Subsequent attempts to start give a shorter version of the same output (essentially missing the "Applying database schema..." lines)
In case it's relevant, the console output when I try searching (for the letter "h") using my old database file looks like
Steps to reproduce the problem (only for bugs)
Start Clementine with a clean configuration.
The text was updated successfully, but these errors were encountered: