GNOME Bugzilla – Bug 671169
Search fails with "Error invoking Tracker.next_finish()"
Last modified: 2012-06-11 14:37:51 UTC
This happens from the second search on, and it's because when the first search is cancelled, tracker correctly reports G_IO_ERROR_CANCELED, but gnome-documents doesn't recognize it and fails. This is blocked on better GError support in gjs, but it's just so it's known (I found nothing searching for "next_finish")
Created attachment 208827 [details] [review] TrackerController: don't report an exception for G_IO_ERROR_CANCELLED This error will be emitted normally when a query is cancelled (for example because a new one is initiated), so we must not report an error to the user.
Review of attachment 208827 [details] [review]: Makes perfect sense, but we don't have support for this in GJS yet. If you look at error.js:addQueryError() the code already tries to see if the error is a cancelled one. The hack doesn't really work well in all cases though (maybe Tracker translates or tweaks the stock GIO message).
Yes, the problem is that the message is localized. You definitely need to match on error code. (bug 591480 has some gjs code to do so. I've asked to push it for 3.4, waiting for a better implementation in 3.6)
Comment on attachment 208827 [details] [review] TrackerController: don't report an exception for G_IO_ERROR_CANCELLED Marking as reviewed to remove from the patch queue.
*** Bug 674370 has been marked as a duplicate of this bug. ***
*** Bug 675179 has been marked as a duplicate of this bug. ***
I'm affected by this issue also, using the last version in the ArchLinux repos 0.4.1-2. Hope it's get fixed soon cause it makes the app quite useless right now. Regards!
*** Bug 675508 has been marked as a duplicate of this bug. ***
This is now fixed in git master, since support landed in gjs master too.