I enabled the verbose output and I only get always this error: ... processing /usr/kde/3.5/share/applications/kde/desktop.desktop with action TRACKER_ACTION_CHECK and counter 0 ERROR: unknown service Applications processing /usr/kde/3.5/share/applications/kde/kfmclient_dir.desktop with action TRACKER_ACTION_CHECK and counter 0 ERROR: unknown service Applications processing /usr/kde/3.5/share/applications/kde/lanbrowser.desktop with action TRACKER_ACTION_CHECK and counter 0 ERROR: unknown service Applications processing /usr/kde/3.5/share/applications/kde/kfontview.desktop with action TRACKER_ACTION_CHECK and counter 0 ERROR: unknown service Applications processing /usr/kde/3.5/share/applications/kde/kcmhistory.desktop with action TRACKER_ACTION_CHECK and counter 0 ERROR: unknown service Applications ... It runs now for quite some time and still hangs on all these files and gives always this error. Seems that other users have this too: https://bugs.launchpad.net/ubuntu/+source/tracker/+bug/146243
macbook ~ # emerge --info Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo i686) ================================================================= System uname: 2.6.24-gentoo i686 Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz Timestamp of tree: Thu, 03 Apr 2008 12:30:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.4 dev-lang/python: 2.4.4-r9 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=nocona -pipe -ggdb" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=nocona -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug unmerge-orphans userfetch" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/" LINGUAS="de" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/private" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="7zip X a52 aac acl acpi alsa amarok amr amuled apm applet atm automount bash-completion berkdb bluetooth bzip2 cairo cdr cli cracklib crypt cups d dbus dedicated deskbar dga dhcp divx dri dv dvd dvdr dvdread dvi eap-tls enblend encode evo exif extra-algorithms fasttrack ffmpeg firefox flac ftp galago gd gdbm german gif glib glitz gnome gnutella gnutls gpm gsf gtk h323 hal haskell hddtemp hfs iconv icu id3 id3tag ieee1394 injection ipv6 irda isdnlog isight java javascript jit jpeg jpeg2k kqemu latex lcms lirc lm_sensors lua lzo macbook mad madwifi maps midi mmap mmx mng mozdevelop mp2 mp3 mp4 mpeg mtp mudflap musicbrainz nautilus ncurses net network networking networkmanager njb nls nptl nptlonly nsplugin ntfs ogg opengl openmp oss pam pascal pch pcre pdf perl pidgin pmu png pnm posix postgres postscript ps python qt3support qt4 quicktime rar rc5 rdesktop readline real realmedia reflection reiser4 reiserfs rtc samba screen sdl sdl-image sdl-sound sdlaudio server session sftp sharedmem sift smp sourceview speex spell spl sse sse2 ssl ssse3 subversion svg tcpd theora threads threadsafe tiff timidity trayicon truetype unicode unzip usb v4l2 valgrind vcd video vorbis weak-algorithms win32codecs wma wxwindows x264 x86 xanim xattr xcomposite xext xine xml xmlreader xorg xrandr xscreensaver xv xvid zip zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" LIRC_DEVICES="inputlirc macmini" USERLAND="GNU" VIDEO_CARDS="i810 vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
It's a bit strange. I just looked up the source and there you have: static void process_index_entity (Tracker *tracker, FileInfo *info) { ServiceDef *def; gchar *service_info; gchar *str; /*...*/ service_info = tracker_get_service_for_uri (info->uri); if (!service_info) { tracker_error ("ERROR: cannot find service for path %s", info->uri); return; } str = g_utf8_strdown (service_info, -1); def = g_hash_table_lookup (tracker->service_table, str); g_free (str); if (!def) { if (service_info) { tracker_error ("ERROR: unknown service %s", service_info); } else { tracker_error ("ERROR: unknown service"); } g_free (service_info); return; } if (info->is_directory) { info->is_hidden = !def->show_service_directories; tracker_db_index_file (tracker->index_db, info, NULL, NULL); g_free (service_info); return; } else { info->is_hidden = !def->show_service_files; } if (g_str_has_suffix (service_info, "Emails")) { /*...*/ } else if (strcmp (service_info, "Files") == 0) { /*...*/ } else if (strcmp (service_info, "WebHistory") ==0 ) { /*...*/ } else if (g_str_has_suffix (service_info, "Conversations")) { /*...*/ } else if (strcmp (service_info, "Applications") == 0) { /*...*/ } else { /*...*/ } g_free (service_info); } I searched in the whole code for "service_table" and I get: sanity_check_option_values(): tracker->service_table = g_hash_table_new_full (g_str_hash, g_str_equal, NULL, NULL); And some g_hash_table_lookup() to this service_table. But there is no single line of code which adds any entries to this table! The whole code seems broken somehow... Also, if you look at process_index_entity(), the only place where it needs this ServiceDef is to set info->is_hidden. Probably it works correct if you would set info->is_hidden manually to false and you just ignore the check if it founds a ServiceDef. But that seems more than a hack than a real solution. I will try to ask the dev what the meaning of this is...
Just for fun I removed this check. Then I always get this: ... Processing /usr/share/applications/allegro-setup-allegro.desktop with action TRACKER_ACTION_CHECK and counter 0 Service Applications not supported yet Processing /usr/share/applications/file-roller.desktop with action TRACKER_ACTION_CHECK and counter 0 Service Applications not supported yet Processing /usr/share/applications/gnome-appearance-properties.desktop with action TRACKER_ACTION_CHECK and counter 0 Service Applications not supported yet Processing /usr/share/applications/cddb-slave.desktop with action TRACKER_ACTION_CHECK and counter 0 Service Applications not supported yet Processing /usr/share/applications/qtpfsgui.desktop with action TRACKER_ACTION_CHECK and counter 0 Service Applications not supported yet ...
The same problem: ... info->service_type_id = tracker_get_id_for_service (service); if (info->service_type_id == -1) { tracker_log ("Service %s not supported yet", service); return; } ... And: int tracker_get_id_for_service (const char *service) { char *name = g_utf8_strdown (service, -1); ServiceDef *def = g_hash_table_lookup (tracker->service_table, name); g_free (name); if (!def) { return -1; } return def->id; }
*** Bug 216482 has been marked as a duplicate of this bug. ***
Upstream bug was filled here: http://bugzilla.gnome.org/show_bug.cgi?id=526296 It seems that some problems with the current DB results in this bug. Deleting the file ~/.local/share/tracker/data/common.db and running 'trackerd --reindex' after helped, it seems to index correctly now. Perhaps this was because I used tracker-0.6.3 before and perhaps the DBs are incompatible with each other. In this case, there should be a hint in the ebuild of tracker-0.6.6-r1 which checks this.
Tracker 0.6 is gone, 0.7.10 has been added to the tree and live ebuild has been updated to git repository with 0.7 deps. Please give them a shot. I'll start adding back tracker support to apps as patches come in. Thanks for your patience.