You are not logged in.

#1 2012-04-30 01:03:25

Renato_Ferreira
Member
Registered: 2010-11-04
Posts: 11

Search and gnome-documents won't find local files

Hello all,

I can't say for sure whether this behavior started before or after I upgraded to GNOME 3.4. Anyway, this issue is that neither gnome-documents nor the default search from the Activities menu (does that still exist?) can find any of my local files. While I get no results at all from the Activities overview, the Documents application only shows my Google Docs documents. I have already checked tracker-preferences, and all the options seem ok (seeking all relevant directories, always refreshing). Have already tried calling tracker-control -rs and rebooting, too.

Is anyone else having this issue, not being able to perform searches on local files?

Thank you in advance.

EDIT: also, I have noticed that the tracker process (tracker-miner-fs) is using nearly 1GB of memory, causing the whole system to slow down.

Last edited by Renato_Ferreira (2012-04-30 02:16:21)

Offline

#2 2012-04-30 07:31:58

jakobcreutzfeldt
Member
Registered: 2011-05-12
Posts: 1,033

Re: Search and gnome-documents won't find local files

Have you installed xdg-user-dirs and run xdg-user-dirs-update? That's necessary for Tracker to start finding your documents.


edit: I've added this to the wiki since it's a problem that seems to come up a lot (indeed, it had me stumped for a while too).
https://wiki.archlinux.org/index.php/GN … ocal_files

Last edited by jakobcreutzfeldt (2012-04-30 07:43:30)

Offline

#3 2012-04-30 22:03:02

Renato_Ferreira
Member
Registered: 2010-11-04
Posts: 11

Re: Search and gnome-documents won't find local files

Unfortunately, I had already tried doing this without success. For some reason, my local files aren't being detected.

Offline

#4 2012-05-01 09:37:36

jakobcreutzfeldt
Member
Registered: 2011-05-12
Posts: 1,033

Re: Search and gnome-documents won't find local files

Hmm...what's the output of

$ tracker-control --status

?

Maybe try

$ tracker-control --hard-reset
$ tracker-control --start

Offline

#5 2012-05-01 20:26:31

vjjustin
Member
Registered: 2012-02-22
Posts: 20

Re: Search and gnome-documents won't find local files

There seem to be a bug in tracker. Atleast for me, after enabling the google docs, it stopped displaying the local files. Even after disabling the google accounts, it never showed those files again.
The bug report: https://bugzilla.gnome.org/show_bug.cgi?id=665210

You can also try cheking the log /home/yourname/.local/share/tracker/tracker-extract.log to verify there are no errors.

Offline

#6 2012-05-01 20:35:12

Renato_Ferreira
Member
Registered: 2010-11-04
Posts: 11

Re: Search and gnome-documents won't find local files

Looks like the tracker stops at some point in my home directory:

renato@renato  ~
$ tracker-control --status
Store:
01 May 2012, 17:28:06:  ✓     Store                 - Idle

Miners:
01 May 2012, 17:28:06:  ✓     Flickr                - Idle
01 May 2012, 17:28:06:    1%  File System           - Crawling recursively directory 'file:///home/renato/Documents'
01 May 2012, 17:28:06:  ✓     Applications          - Idle

EDIT:

Found this error in tracker-extract.log:

01 May 2012, 17:35:07: Tracker-Warning **: Call to gst_discoverer_discover_uri() failed: Your GStreamer installation is missing a plug-in.

It appears multiple times. I did some research here, but the only response I found was "install gstreamer0.10-plugins". However, I've already got all of them installed.

Last edited by Renato_Ferreira (2012-05-01 20:43:24)

Offline

#7 2012-05-04 01:50:46

rsking84
Member
Registered: 2011-05-09
Posts: 17

Re: Search and gnome-documents won't find local files

I'm having very similar problems. Local documents do not appear in my search results, and tracker-control --status appears stuck at 1% on my home directory.

Before installing/configuring xdg-user-dirs I had the same gstreamer errors in tracker-extract.log, but those appear resolved. Now I have a LOT of errors similar to the following:

03 May 2012, 21:44:38: Tracker-Critical **: Extraction task for 'file:///home/ryan/Documents/Desktop/Impact%20of%20Climate%20Change%20Water%20Industry.pdf' went rogue and took more than 20 seconds. Forcing exit.

and

03 May 2012, 21:46:30: Tracker-Warning **: Content extraction of PDF Timed out

EDIT: spoke too soon; it appears my local files are just taking a long time to index. tracker-control --status now indicates progress and some of the docs are starting to populate search results. HOWEVER, I'm still having the above errors with .pdf files.  Do I need some supporting package (an unlisted dependency) to index .pdf files?

Last edited by rsking84 (2012-05-04 01:54:37)

Offline

Board footer

Powered by FluxBB