FS#55054 - [tracker] search doesn't work with sqlite 3.20.0

Attached to Project: Arch Linux
Opened by Jake Dane (jakedane) - Sunday, 06 August 2017, 18:32 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 07 August 2017, 06:10 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
After upgrading from sqlite 3.19.3 to 3.20.0 tracker can no longer find files, which makes searching in the Activities overview of Gnome Shell not show results from Files.

Reported to upstream, where it is acknowledged a change in the code is needed to make tracker work with sqlite 3.20.0. Upstream provided a patch for tracker 1.99.1 (which is work-in-progress for tracker 2.0 for the upcoming GNOME 3.26 release) but not for tracker 1.12.1 that Arch Linux has. Could the patch be backported to the tracker packages in Arch Linux?

See https://bugzilla.gnome.org/show_bug.cgi?id=785883#c2 for the upstream patch.


Additional info:
* tracker 1.12.1-1
* libtracker-sparql 1.12.1-1


Steps to reproduce:
Upgrade sqlite to 3.20.0. Run `tracker search -f something` to do a tracker file search from the terminal. This returns the error: "Could not get search results, no such tokenizer: TrackerTokenizer".

Downgrading to sqlite 3.19.3 resolves the issue.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 07 August 2017, 06:10 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#55046 
Comment by Eli Schwartz (eschwartz) - Sunday, 06 August 2017, 19:45 GMT
Sorry, this bug was closed in error. ;) In the future, you can request that a bug be reopened on the bug details page if you feel a mistake was made. :)
Comment by Jake Dane (jakedane) - Monday, 07 August 2017, 05:57 GMT
A patch is available from upstream that works with tracker 1.12.1 and 1.99.1: https://bugzilla.gnome.org/attachment.cgi?id=357074&action=diff. At compile time it detects whether sqlite version 3.20.0 or newer is installed and then uses the correct code for that.

I've tested this just now on Arch Linux' tracker 1.12.1-1 and it resolves the issue.

Loading...