Mark Florian wrote: > On Tue, 2006-11-07 at 13:38 +0000, Jamie McCracken wrote: >> please check the file in nautilus (which also uses xdgmime) to see how >> it identifies it. > > Nautilus identifies the file as mimetype text/plain. > >> also try opening it in gedit - if its invalid utf8 then it wont be able >> to and therefore tracker was right to ignore it. > > Opening it in gedit poses no problems at all. In fact, I think it was > created in gedit... > >> also rerun with --enable-debug to see more detailed info in log > > Done. The log says this after creating a copy (called 'other') of the > problematic file: > > 07 Nov 2006, 22:06:38:735 - File /home/markrian/Desktop/other has > finished changing > 07 Nov 2006, 22:06:38:739 - file /home/markrian/Desktop/other is > indexable > 07 Nov 2006, 22:06:38:739 - /home/markrian/Desktop/other is not a text > file > 07 Nov 2006, 22:06:38:741 - saving basic metadata for *new* > file /home/markrian/Desktop/other with mime unknown and service t > ype 8 > 07 Nov 2006, 22:06:38:746 - file /home/markrian/Desktop/other is > indexable > 07 Nov 2006, 22:06:38:750 - 0 files are pending with count 0 > 07 Nov 2006, 22:06:44:139 - Total entities index : 1379 > 07 Nov 2006, 22:06:44:139 - Please wait while remaining data is flushed > to the inverted word index. This may take some time... > 07 Nov 2006, 22:06:44:141 - flushing data (2 words left) - please wait > 07 Nov 2006, 22:06:44:142 - flushing data (1 words left) - please wait > 07 Nov 2006, 22:06:44:143 - flushing data (0 words left) - please wait > 07 Nov 2006, 22:06:44:143 - All data has been flushed - waiting for new > file events... > > It seems odd that tracker thinks it's indexable, but isn't a text file, > and has an unknown mimetype, doesn't it? >
indexable means its not a directory or not something that should not have its contents checked to see if its plain text. we do extra sniffing of unknown types like nautilus does to determine if they are plain text. I think I have found a bug bit not sure if it fixes your case - please retry with cvs version (with --enable-debug) -- Mr Jamie McCracken http://jamiemcc.livejournal.com/ _______________________________________________ tracker-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/tracker-list
