After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 697809 - trackerfox 0.16 fails on 'upgraded' systems
trackerfox 0.16 fails on 'upgraded' systems
Status: RESOLVED FIXED
Product: tracker
Classification: Core
Component: Miners
0.16.x
Other Windows
: Normal normal
: ---
Assigned To: tracker-general
Depends on:
Blocks:
 
 
Reported: 2013-04-11 15:28 UTC by Dominique Leuenberger
Modified: 2013-04-13 13:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
firefox/thunderbird: prefer tracker 0.16 over tracker 0.14 (1.78 KB, patch)
2013-04-11 18:27 UTC, Dominique Leuenberger
committed Details | Review

Description Dominique Leuenberger 2013-04-11 15:28:25 UTC
If you happen to have 'old' libraries of tracker 0.14 on your system, then update to tracker 0.16 (make install), then the shared objects can live next to each other (which is valid).

Due to the gschema change, though, the 0.14 libs can fail (expected).

surprisingly, though, trackerfox 0.16 'favors' libtracker-sparql-0.14.so.0 on a system.. this sounds outright wrong..

when we install tracker 0.16 and the tracker extension for firefox, from version 0.16, the only expected behavior is to use the libs from tracker 0.16.

The issue is:
https://git.gnome.org/browse/tracker/tree/src/plugins/firefox/chrome/content/bindings.js#n5
Comment 1 Dominique Leuenberger 2013-04-11 15:28:51 UTC
the same is valid for the thunderbird extension.
Comment 2 Martyn Russell 2013-04-11 18:15:09 UTC
Hello Dominique, yea, that's because we check 0.14.x then 0.16.x in that order. We should likely try the later first because it's less likely to exist. A patch would be welcome :)

Is this ONLY about firefox/thunderbird plugins?

See the code here:

https://git.gnome.org/browse/tracker/tree/src/plugins/firefox/chrome/content/bindings.js

https://git.gnome.org/browse/tracker/tree/src/plugins/thunderbird/chrome/content/bindings.js
Comment 3 Dominique Leuenberger 2013-04-11 18:16:57 UTC
Martyn,

I've only seen this code in the plugins for firefox and thunderbird in this form..

I'd argue that if I install the 0.16 tarball I will have the 0.16 libs installed, so it's questionable if it's worthy to even try 0.14 libs.

Patch can come in a few minutes..
Comment 4 Dominique Leuenberger 2013-04-11 18:27:07 UTC
Created attachment 241290 [details] [review]
firefox/thunderbird: prefer tracker 0.16 over tracker 0.14
Comment 5 Dominique Leuenberger 2013-04-13 13:24:05 UTC
Thanks.. patch has been pushed
https://git.gnome.org/browse/tracker/commit/?id=f7bcf44