Tracker Indexing

Asked by jyk

Hi,

In gutsy, I paid attention to a strange behaviour of indexing tool. While beagle used to work pretty well in feisty, tracker does not produce index for some directories (that have been added to the indexing path of course) even after a few days.

Maybe it is important to point out that I changed the "Documents" folder in the Home directory. Now "Documents" is a symbolic link to one of the directories that are not indexed by tracker.

Some hints?

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
jyk
Solved:
Last query:
Last reply:
Revision history for this message
Rodrigo Donado (frezeeer) said :
#1

Hi:

try stoping the demon, and turning back on, it worked for me. Something similar happend when I added new directories at first it did not start doing anything. the demon was in idle.
but after restarting it it has worked perfectly.
you can check its progress with
tail -f ~/.local/share/tracker/tracker.log

Revision history for this message
jyk (jykaminski) said :
#2

Thanks a lot for your answer.

However i have two further questions:

1- How can I stop and restart the daemon, without ending the trackerd progress?

2- I tried tail -f .local/share/tracker/tracker.log, I received:
11 Oct 2007, 13:31:54:518 - ERROR: whilst scanning summary file

The same message is given is I do less .local/share/tracker/tracker.log

Is this expected?

Thanks.

Revision history for this message
jyk (jykaminski) said :
#3

After some search on the web, I understood that how to stop and start the daemon.

I run the following sequence:
a-
$start-stop-daemon --stop -v --name trackerd
Stopped trackerd (pid 5760).

b-
$ start-stop-daemon --start -v --exec /usr/bin/trackerd
Starting /usr/bin/trackerd...

Tracker version 0.6.3 Copyright (c) 2005-2007 by Jamie McCracken (<email address hidden>)

This program is free software and comes without any warranty.
It is licensed under version 2 or later of the General Public License which can be viewed at http://www.gnu.org/licenses/gpl.txt

Initialising tracker...
Could not set idle IO priority...attempting best effort 7 priority
Throttle level is 0
ERROR: whilst scanning summary file

Then after a while, I stopped the process by ctrl+x.

Can someone explain me the problem?

Thanks.

Revision history for this message
Cornel (cornel-me) said :
#4

Hi

I'm interested in this problem as well. On my laptop tracker doesn't index files unless I stop the daemon and then restart it with "trackerd -R &" every time I turn it on. If I don't do this it will index only the files created in the current session. Here is the output from tail -f ~/.local/share/tracker/tracker.log:

$ tail -f ~/.local/share/tracker/tracker.log
12 Oct 2007, 11:06:22:048 - ERROR: could not get file id for /usr/share/gdm//applications/gdmsetup.desktop - unable to continue indexing this file
12 Oct 2007, 11:06:22:050 - ERROR: execution of prepared query CreateService failed due to constraint failed with return code 19
12 Oct 2007, 11:06:22:050 - ERROR: CreateService uri is /usr/share/gdm//applications/gdmflexiserver.desktop
12 Oct 2007, 11:06:22:050 - ERROR: could not get file id for /usr/share/gdm//applications/gdmflexiserver.desktop - unable to continue indexing this file
12 Oct 2007, 11:06:22:052 - ERROR: execution of prepared query CreateService failed due to constraint failed with return code 19
12 Oct 2007, 11:06:22:052 - ERROR: CreateService uri is /usr/share/gdm//applications/gdmflexiserver-xnest.desktop
12 Oct 2007, 11:06:22:052 - ERROR: could not get file id for /usr/share/gdm//applications/gdmflexiserver-xnest.desktop - unable to continue indexing this file
12 Oct 2007, 11:06:41:356 - ERROR: execution of prepared query CreateService failed due to constraint failed with return code 19
12 Oct 2007, 11:06:41:356 - ERROR: CreateService uri is /usr/share//applications/gnome-power-preferences.desktop
12 Oct 2007, 11:06:41:356 - ERROR: could not get file id for /usr/share//applications/gnome-power-preferences.desktop - unable to continue indexing this file

If you need other information please ask.

Revision history for this message
jyk (jykaminski) said :
#5

Hi,

I have re-installed all tracker related packages. It started the indexing process from zero. Now every thing is working. Indexing is very efficient.

Thanks.