Re: [Tracker] tracker yielding odd results



Since I wrote the email below, I've tried removing tracker (which I compiled from source) and installed the 0.5.3.-1 deb from the edgy repository. I deleted my ~/.Tracker folder, but now when I start up trackerd, it hangs after startup. The log is as follows:

08 Jan 2007, 11:57:22:147 - setting stopword list for language code en
08 Jan 2007, 11:57:22:148 - Using stemmer for language en
08 Jan 2007, 11:57:22:149 -
Tracker configuration options :
08 Jan 2007, 11:57:22:149 - Debug mode enabled :                        no
08 Jan 2007, 11:57:22:150 - Low memory mode :                   no
08 Jan 2007, 11:57:22:150 - Faster indexing :                   no
08 Jan 2007, 11:57:22:150 - Indexing enabled :                  yes
08 Jan 2007, 11:57:22:151 - Watching enabled :                  yes
08 Jan 2007, 11:57:22:151 - File content indexing enabled :     yes
08 Jan 2007, 11:57:22:152 - Thumbnailing enabled :                      no
08 Jan 2007, 11:57:22:152 - Evolution email indexing enabled :  no
08 Jan 2007, 11:57:22:152 - Thunderbird email indexing enabled :        no
08 Jan 2007, 11:57:22:154 - K-Mail indexing enabled :           no

08 Jan 2007, 11:57:22:154 - Tracker indexer parameters :
08 Jan 2007, 11:57:22:154 - Indexer language code :             en
08 Jan 2007, 11:57:22:155 - Minimum index word length :                 3
08 Jan 2007, 11:57:22:155 - Maximum index word length :                 30
08 Jan 2007, 11:57:22:156 - Stemmer enabled :                   yes
08 Jan 2007, 11:57:22:158 - Using Pango word breaking :                 no


08 Jan 2007, 11:57:22:159 - Setting watch directory roots to:
08 Jan 2007, 11:57:22:159 - /home/francois
08 Jan 2007, 11:57:22:159 -
08 Jan 2007, 11:57:22:160 - Using Sqlite version 3.3.5
08 Jan 2007, 11:57:22:160 - Loading prepared queries...
08 Jan 2007, 11:57:22:161 - File loaded in  0.000000 ms
08 Jan 2007, 11:57:22:162 - initialising the indexer
08 Jan 2007, 11:57:22:162 - Opening index /home/francois/.Tracker/databases/Files
08 Jan 2007, 11:57:22:163 - /home/francois/.Tracker/databases/Files index was not
 closed properly - attempting repair

I've made sure that my old index, and indeed the whole .Tracker folder, was deleted before starting up trackerd, even tried rebooting, purging old install, reinstalling, etc, and I get the same results every time. Is this because I'm trying to use tracker on an FUSE filesystem (encfs encrypted folder?)

Thanks for any help,
François





On 1/3/07, zer0halo <zerohalo gmail com> wrote:
I'm running into a problem with tracker only yielding results for the files which it has indexed since the last time trackerd was loaded. I've run several tests and they yield the same results.

Ie:

login
run trackerd. It goes through its paces until log reveals: "All data has been flushed - waiting for new file events..."
copy document to watched folder containing word "impossible"
log shows file being indexed
$ tracker-search impossible
=> the file copied
$ killall trackerd
$ trackerd
$ tracker-search impossible
=> no results

I've tried it with several files, same results.

I'm running Edgy. I have tracker 0.5.3 compiled from source. My files are in an encrypted partition with encfs, so it's a FUSE filesystem. For that reason, I compiled from source rather than using the debs.

I made the following changes to the source as per Jamie's instructions in an earlier thread on this mailing list:

change "MAP_SHARED" to "MAP_PRIVATE" in xdgmimecache.c and depot.c in
src/trackerd directory

Tracker indexed my folders properly. tracker.log reveals no fatal errors that I can see. When trackerd is loaded. tracker-stats shows thousands of documents searched (my whole home folder)

Any clues? Would the change of MAP_SHARED to MAP_PRIVATE have caused this? Should I change it back and then recompile? But would it then work with FUSE (encfs)?

Thank you for any assistance.

--
"Impossible is nothing."



--
"Impossible is nothing."

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]