tracker plugin responds with corrupted path when additional folders are indexed

Bug #371207 reported by aurel42 on 2009-05-03
26
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Do Plugins
Low
Alex Launi

Bug Description

I've started using gnome-do on Ubuntu 9.04. I configured Tracker (tracker-search-tool 0.6.93-0ubuntu2) to index my home dir /home/marc and an additional directory, /storage.

When I search for a term in gnome-do, the menu will display "Defaulting to files service" at the top, followed by the result count, followed by the actual search results. While I move the cursor through the list, one of the plugins will consistently report problems with the paths of the files, e.g.:

Pastebin.PastebinAction "Send to Pastebin" encountered an error in SupportsItem:
 Could not find file " /storage/data/ebooks/file1.pdf"..
Pastebin.PastebinAction "Send to Pastebin" encountered an error in SupportsItem:
 Could not find file " /storage/data/ebooks/file2.pdf"..

Please note the superfluous blanks prepended to the path.

When I select "Open" on one of the search results, I get this error message:

Error showing url: Error stating file '/home/marc/ /storage/data/ebooks/file1.pdf': No such file or directory

...and nothing happens (ie. the file is not opened anywhere).

Package versions (Ubuntu 9.04):
gnome-do 0.8.1.3-0ubuntu2
gnome-do-plugins 0.8.1.3+dfsg-0ubuntu3
tracker-search-tool 0.6.93-0ubuntu2

Please let me know if I need to provide additional information.

Changed in do-plugins:
status: New → Confirmed
Alexey Nedilko (alexey.nedilko) wrote :

I confirm the bug and confirm the patch fixes it. Thanks, aurel42!

asdir (dirkroettgers) wrote :

How do I apply the patch? Or should I wait for an update (using Ubuntu 9.04)?

Chris S. (cszikszoy) on 2009-05-13
Changed in do-plugins:
assignee: nobody → Chris S. (cszikszoy)
importance: Undecided → Low
tags: added: tracker-plugin
tags: added: community-plugins
Alex Launi (alexlauni) on 2009-05-17
Changed in do-plugins:
assignee: Chris S. (cszikszoy) → Alex Launi (alexlauni)
milestone: none → 0.8.2
status: Confirmed → Fix Committed
mac.ryan (macryan) wrote :

I go with asdir in asking for a hint on how to proceed for applying the patch:

find -name TrackerSearch.cs

got no results on my system, and I could not find a source package for gnome-do-plugins either, in the repos... Any hint greately appreciated!

Alexey Nedilko (alexey.nedilko) wrote :

Hi mac.ryan!

Tracker plugin has been re-implemented using D-Bus interface (see https://bugs.launchpad.net/do-plugins/+bug/376837 for more info), and got released in 0.8.2. So 1) this patch is no more relevant to the latest code, and 2) Tracker search should now work properly.

If you're experiencing problems with Tracker search, please file a separate bug for this.

Thanks,
Alexey Nedilko

mac.ryan (macryan) wrote :

Hi Alex,

thanks for the prompt reply. Ok for point 1) but as for point 2), even activating proposed and backports, gnome-do does not get updated to any version later than: 0.8.1.3 for gnome-do and 1.0 for tracker-plugin (and therefore the functionality results still broken, as it behaves like this bug reports.

Maybe I misunderstood something? Would you mind to point me in the right direction?

Thank you!
Mac.

Alexey Nedilko (alexey.nedilko) wrote :

Mac,

Sorry for not stating this clear, 0.8.2 is available in PPA:
https://launchpad.net/~do-core/+archive/ppa

Alex.

mac.ryan (macryan) wrote :

Thanks a lot. Works like a charm! :)

Alex Launi (alexlauni) on 2009-07-25
Changed in do-plugins:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers