Version: 4.8 (using Devel) OS: Linux kmail search doesn't work. I'm not sure what the correct product/component to file this bug against. But here goes. I tried some troubleshooting to see where the bug is. I started a new user and imported my old emails. kmail search won't find anything when I query a search. I opened akonadiconsole and deleted the akonadi nepomuk feeder and added it again. the folders Junk, archlinux and drags are empty. it seems to stop at clementine folder. I get the following in a terminal: akonadi_nepomuk_feeder(15594)/nepomuk (library) {anonymous}::GlobalModelContainer::init: Connecting to local socket "/tmp/ksocket-hussam/nepomuk-socket" akonadi_nepomuk_feeder(15594) XSyncBasedPoller::XSyncBasedPoller: 3 1 akonadi_nepomuk_feeder(15594) XSyncBasedPoller::XSyncBasedPoller: XSync seems available and ready akonadi_nepomuk_feeder(15594) XSyncBasedPoller::setUpPoller: XSync Inited akonadi_nepomuk_feeder(15594) XSyncBasedPoller::setUpPoller: Supported, init completed akonadi_nepomuk_feeder(15594) Akonadi::NepomukFeederAgent::NepomukFeederAgent: DisableIdleDetection: false akonadi_nepomuk_feeder(15594) FeederQueue::continueIndexing: Known subscriber "akonadi_nepomuk_feeder" subscribes again akonadi_nepomuk_feeder(15594) FeederQueue::continueIndexing: Database "akonadi" opened using driver "QMYSQL" akonadi_nepomuk_feeder(15594) FeederQueue::processNextCollection: Indexing collection "Junk" akonadi_nepomuk_feeder(15594) FeederQueue::processNextCollection: Indexing collection "drafts" akonadi_nepomuk_feeder(15594) FeederQueue::processNextCollection: Indexing collection "ArchLinux" akonadi_nepomuk_feeder(15594) FeederQueue::processNextCollection: Indexing collection "Clementine" akonadi_nepomuk_feeder(15594) FeederQueue::itemHeadersReceived: 3 akonadi_nepomuk_feeder(15594)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file "/usr/share/apps/akonadi/plugins/serializer/akonadi_serializer_mail.desktop" for ("message/rfc822", "message/news", "text/x-vnd.akonadi.note") @ ("legacy", "default", "KMime::Message*") akonadi_nepomuk_feeder(15594)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file "/usr/share/apps/akonadi/plugins/serializer/akonadi_serializer_microblog.desktop" for ("application/x-vnd.kde.microblog") @ ("legacy", "default", "Microblog::StatusItem") akonadi_nepomuk_feeder(15594)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file "/usr/share/apps/akonadi/plugins/serializer/akonadi_serializer_kcal.desktop" for ("text/calendar", "application/x-vnd.akonadi.note", "application/x-vnd.kde.notes") @ ("legacy", "KCal::Incidence*") akonadi_nepomuk_feeder(15594)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file "/usr/share/apps/akonadi/plugins/serializer/akonadi_serializer_kalarm.desktop" for ("application/x-vnd.kde.alarm", "application/x-vnd.kde.alarm.active", "application/x-vnd.kde.alarm.archived", "application/x-vnd.kde.alarm.template") @ ("default", "KAlarmCal::KAEvent") akonadi_nepomuk_feeder(15594)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file "/usr/share/apps/akonadi/plugins/serializer/akonadi_serializer_kcalcore.desktop" for ("text/calendar", "application/x-vnd.akonadi.note", "application/x-vnd.kde.notes") @ ("default", "KCalCore::Incidence*") akonadi_nepomuk_feeder(15594)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file "/usr/share/apps/akonadi/plugins/serializer/akonadi_serializer_bookmark.desktop" for ("application/x-xbel") @ ("legacy", "default", "KBookmark") akonadi_nepomuk_feeder(15594)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file "/usr/share/apps/akonadi/plugins/serializer/akonadi_serializer_addressee.desktop" for ("text/vcard", "text/directory") @ ("legacy", "default", "KABC::Addressee") akonadi_nepomuk_feeder(15594)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file "/usr/share/apps/akonadi/plugins/serializer/akonadi_serializer_contactgroup.desktop" for ("application/x-vnd.kde.contactgroup") @ ("legacy", "default", "KABC::ContactGroup") akonadi_nepomuk_feeder(15594)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-hussam/ksycoca4" akonadi_nepomuk_feeder(15594)/kdecore (trader) KMimeTypeTrader::query: query for mimeType "message/rfc822" , "AkonadiNepomukFeeder" : returning 1 offers akonadi_nepomuk_feeder(15594) FeederPluginloader::feederPluginsForMimeType: created new plugin akonadi_nepomuk_feeder(15594) ItemQueue::continueProcessing: indexing completed akonadi_nepomuk_feeder(15594) FeederQueue::processNextCollection: Indexing collection "FreeDesktop" akonadi_nepomuk_feeder(15594)/kdecore (trader) KMimeTypeTrader::query: query for mimeType "inode/directory" , "AkonadiNepomukFeeder" : returning 0 offers akonadi_nepomuk_feeder(15594) FeederPluginloader::feederPluginsForMimeType: No feeder for type "inode/directory" found akonadi_nepomuk_feeder(15594) FeederQueue::itemHeadersReceived: 4 akonadi_nepomuk_feeder(15594) FeederQueue::processItemQueue: not Online, stopping processing so I deleted the contents of clementine folder and just hangs on next folder. Reproducible: Always Steps to Reproduce: open kmail, click search and enter a search query Expected Results: kmail search should show valid results.
If I run a search, I get the following in a terminal. AgentManager::removeSearch 51 Database "akonadi" opened using driver "QMYSQL" AgentManager::addSearch "select distinct ?r ?reqProp1 (bif:concat(bif:search_excerpt(bif:vector('clementine'), ?v2))) as ?_n_f_t_m_ex_ where { { ?r <http://akonadi-project.org/ontologies/aneo#akonadiItemId> ?reqProp1 . ?r <http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#messageSubject> ?v2 . FILTER(bif:contains(?v2, "'clementine'")) . ?r a <http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Email> . } . ?r <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#userVisible> ?v1 . FILTER(?v1>0) . }" "SPARQL" 51
so the cause of the bug is FeederPluginloader::feederPluginsForMimeType: No feeder for type "inode/directory" found ?
Please retry with akonadi >= 1.7.0
seems to work now so I will close as works for me.
Created attachment 69338 [details] serching is turned on, but kmail thinks it's turned off Closing? Now searching even doesn't start :-)
reopened.
The searching itself has been fixed in the upcomping 4.9 release together with the latest released akonadi 1.7.90. As to your problem, it looks like the feeder is not set online (you can check that in akonadiconsole), also make sure that indexing is enabled in Settings -> Desktop Search -> Enable Email Indexer