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 454068 - Tracker version 0.5.4 ignores his configuration file
Tracker version 0.5.4 ignores his configuration file
Status: RESOLVED FIXED
Product: tracker
Classification: Core
Component: General
unspecified
Other All
: Normal normal
: ---
Assigned To: Jamie McCracken
Jamie McCracken
Depends on:
Blocks:
 
 
Reported: 2007-07-05 20:00 UTC by Marc Devries
Modified: 2007-09-07 12:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Marc Devries 2007-07-05 20:00:59 UTC
Please describe the problem:
the settings in ~/.Tracker/tracker.cfg are not taken into account.
my settings are (part of)
WatchDirectoryRoots=/home/marc/MyStuff;
NoWatchDirectory=/home/marc/bin;/home/marc/temp;



Steps to reproduce:
1. write tracker.cfg as described above
2. start trackerd
3. 


Actual results:
Tracker starts indexing the whole home directory instead of the specified WatchDirectoryRoots, and does not ignore the NoWatchDirectory

Expected results:
I'd expect that he indexes only WatchDirectoryRoots, and ignores NoWatchDirectory

Does this happen every time?
yes

Other information:
Comment 1 Marc Devries 2007-07-05 20:02:09 UTC
Nice program guys, keep up the excellent work ;) THANK YOU !!!
Comment 2 Tshepang Lekhonkhobe 2007-07-06 06:31:30 UTC
Could you stop trackerd, delete .Tracker/databases ?, and restart it again.
Comment 3 Marc Devries 2007-07-06 09:10:33 UTC
I stopped trackerd, deleted .Tracker/databases, and started trackerd again. Same result.

Four your info I include full text of tracker.cfg

#WatchDirectoryRoots=/path/to/directory_1;/path/to/directory_2
WatchDirectoryRoots=/home/marc/MyStuff;


#NoWatchDirectory=/home/marc/bin;/home/marc/books;/home/marc/Documents;/home/marc/downloads;/home/marc/LinuxDoc;/home/marc/mp3;/home/marc/PDF;/home/marc/scratch;/home/marc/temp;

Cheers,





Comment 4 Tshepang Lekhonkhobe 2007-07-06 12:28:04 UTC
Pretty strange, but you may try out svn version if you want, and I wonder why you commented out NoWatchDirectory:

* install subversion
* svn co http://svn.gnome.org/svn/tracker/trunk tracker
* cd tracker
* ./autogen.sh
* ...
Comment 5 Jamie McCracken 2007-09-07 12:06:34 UTC
cant replicate on 0.6.2 so closing

if problem persists in latest version then pls reopen