Re: [Tracker] Can't search by filename?



2006/11/1, Jamie McCracken <jamiemcc blueyonder co uk>:
Mark Florian wrote:
> I'm experiencing this behaviour as well, using the 0.0.5 debs Jamie
> provided.
>
> On Tue, 2006-10-31 at 22:40 +0100, Mikkel Kamstrup Erlandsen wrote:
>> It appears that I cannot find files by filename. Sometimes directories
>> show up but now always. File names never show up.
>>
>> Ie. I have a file ~/myfile.txt and search for any of "myfile", or
>> "myfile.txt", but get no results. Am I losing my mind?
>>

I suspect the problem is almost certainly the lack of threadsafe sqlite
in debian/dapper/edgy and probably elsewhere too (the default setting
for sqlite is not thread safe and there is no way to tell in the api or
elsewhere whether thats the case)

I am currently adding extra mutexes to tracker to make it threadsafe
regardless of whether sqlite is compiled with --enable-threadsafe or not.

Will get you something to test tomorrow.

p.s. you can tell if it has not finished indexing if you never get the
"optoimizing database please wait" message at the end of the first index
and crawl. This means the extraction thread has hung (although other
threads still work though) or corrupted data caused by said lack of
thread safety.

With or without the typo? :-D Nonetheless "grep 'database please wait' ~/.Tracker/*" didn't return anything, so you're prolly right.

Cheers,
Mikkel
 

--
Mr Jamie McCracken
http://jamiemcc.livejournal.com/




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