This forum has been archived. All content is frozen. Please use KDE Discuss instead.

kmail can't search

Tags: None
(comma "," separated)
juantxorena
Registered Member
Posts
7
Karma
0
OS

kmail can't search

Sun May 05, 2013 3:51 pm
Hello everybody,

I have some problems in my laptop with, surprise surprise, kmail and akonadi. When I try to search something, it throws me this error: "The Nepomuk semantic search service is not available. Searching is not possible without it. You can enable it in "System Settings"." It goes without saying that this is correctly activated in the settings. akonadiconsole has an entry called "Akonadi Nepomuk Feeder, which says: "Nepomuk is not operational: Nepomuk is not running." and its status says "Offline, Broken".

The stranger thing is that everything else works: the whole kontact suite works, even the autocompletion with the address book, desktop search works (in dolphin and everything). Everything seems to work except for this particular search in kmail. Logs and stuff doesn't show anything relevant, at least to my eyes.

I'm using kde 4.10.2 in Gentoo.

Thanks and bye.
sinclair
Registered Member
Posts
226
Karma
0
OS

Re: kmail can't search

Mon May 06, 2013 4:17 am
juantxorena wrote:Hello everybody,

I have some problems in my laptop with, surprise surprise, kmail and akonadi. When I try to search something, it throws me this error: "The Nepomuk semantic search service is not available. Searching is not possible without it. You can enable it in "System Settings"." It goes without saying that this is correctly activated in the settings. akonadiconsole has an entry called "Akonadi Nepomuk Feeder, which says: "Nepomuk is not operational: Nepomuk is not running." and its status says "Offline, Broken".

The stranger thing is that everything else works: the whole kontact suite works, even the autocompletion with the address book, desktop search works (in dolphin and everything). Everything seems to work except for this particular search in kmail. Logs and stuff doesn't show anything relevant, at least to my eyes.

I'm using kde 4.10.2 in Gentoo.

Thanks and bye.


Sorry for asking the obvious but did you try to restart the nepomuk feeder in Akonadiconsole? It is a known bug that in 4.10.x it does not start automatically but you have to start it manually one way or other when you boot/log in
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: kmail can't search

Mon May 06, 2013 5:33 am
Also you can force reindexing of the individual folders by right clicking on them, going to the "Maintenance" tab and push "Force new indexing".


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
juantxorena
Registered Member
Posts
7
Karma
0
OS

Mon May 06, 2013 9:28 pm
sinclair wrote:Sorry for asking the obvious but did you try to restart the nepomuk feeder in Akonadiconsole? It is a known bug that in 4.10.x it does not start automatically but you have to start it manually one way or other when you boot/log in


Now that's an interesting development. I positively remember to do this a lot of times before. Right now, after restarting the laptop from hibernation, I have been able to restart it, an now it works in theory, it status is now "Online, Idle", and "Ready to index data." However, the mail search still doesn't work. I would have thought that this problem would be fixed by fixing this nepomuk thing, but it seems deeper than that.

einar wrote:Also you can force reindexing of the individual folders by right clicking on them, going to the "Maintenance" tab and push "Force new indexing".

I can't, since this option is greyed. I have tried to play with the options about this thing but nothing ungreys it.
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: kmail can't search

Wed May 08, 2013 3:03 pm
It looks like you're missing some components. Is Nepomuk working outside of KDE PIM? (Indexing, tagging, rating).


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
juantxorena
Registered Member
Posts
7
Karma
0
OS

Re: kmail can't search

Wed May 08, 2013 8:04 pm
einar wrote:It looks like you're missing some components. Is Nepomuk working outside of KDE PIM? (Indexing, tagging, rating).

I don't know about tagging or rating, but indexing works, so I guess that Nepomuk is correctly instaled. As I said before, even the auto-completion of the recipients works, which AFAIK is the most common issue with nepomuk-akonadi-kmail.
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: kmail can't search

Wed May 08, 2013 9:02 pm
Completion can work independently from Nepomuk since later 4.9 releases IIRC. Is there anything suspicious in ~/.xsession-errors?


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
juantxorena
Registered Member
Posts
7
Karma
0
OS

Thu May 09, 2013 4:56 pm
einar wrote:Completion can work independently from Nepomuk since later 4.9 releases IIRC. Is there anything suspicious in ~/.xsession-errors?


This file is humongous. I'll check it later when I get some time, but can you point me what I'm looking for? Are there some specific word that appears, like "nepomuk" or something? BTW, I tried to restart "akonadi nepomuk feeder" from the akonadi console but nothing appears in the file.
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: kmail can't search

Thu May 09, 2013 9:55 pm
Errors related to Nepomuk and Akonadi, or stuff about missing libraries would be the first thing to look for.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
juantxorena
Registered Member
Posts
7
Karma
0
OS

Sat May 11, 2013 6:20 pm
I've found some nepomuk errors in the log, but I'm not sure if they are relevant to my problem. First there is this block:
Code: Select all
[/usr/bin/nepomukservicestub] "Error: not an ICC profile, invalid signature"
"Error: read ICCBased color space profile error"
[/usr/bin/nepomukservicestub] "Error: not an ICC profile, invalid signature"
[/usr/bin/nepomukservicestub] "Error: read ICCBased color space profile error"
[/usr/bin/nepomukservicestub] "Error: not an ICC profile, invalid signature"
[/usr/bin/nepomukservicestub] "Error: read ICCBased color space profile error"
[/usr/bin/nepomukservicestub] "Error: not an ICC profile, invalid signature"
[/usr/bin/nepomukservicestub] "Error: read ICCBased color space profile error"
[/usr/bin/nepomukservicestub] "Error: not an ICC profile, invalid signature"
[/usr/bin/nepomukservicestub] "Error: read ICCBased color space profile error"
[/usr/bin/nepomukservicestub] "Error: not an ICC profile, invalid signature"
[/usr/bin/nepomukservicestub] "Error: read ICCBased color space profile error"
[/usr/bin/nepomukservicestub] "Error (2101796): Missing 'endstream' or incorrect stream length"


This one doesn't seem very relevant, but it's an error, not a warning. The following seems more serious:

Code: Select all
[/usr/bin/nepomukservicestub] "Error (2101881): Illegal character <11> in hex string"
"Error (2101882): Illegal character <ba> in hex string"
"Error (2101883): Illegal character <db> in hex string"
[/usr/bin/nepomukservicestub] "Error (2101884): Illegal character <b6> in hex string"
"Error (2101885): Illegal character <b1> in hex string"
"Error (2101886): Illegal character <49> in hex string"
"Error (2101887): Illegal character <ba> in hex string"
"Error (2101888): Illegal character <5e> in hex string"
"Error (2101889): Illegal character <fe> in hex string"
"Error (2101890): Illegal character <bc> in hex string"
"Error (2101891): Illegal character <e8> in hex string"
"Error (2101892): Illegal character <90> in hex string"
"Error (2101893): Illegal character <c1> in hex string"
"Error (2101894): Illegal character <55> in hex string"
"Error (2101896): Illegal character <01> in hex string"


This one goes on and on, with different characters. However, I don't have the slightest ideaabout what this is about and how can I fix it.

Any more suggestions?
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: kmail can't search

Sun May 12, 2013 7:44 am
Those are related to indexing and I doubt they matter. Check your running processes: you should have several instances of "nepomukservicestub". For the system to be properly functional, you need to have:

- nepomukservicestub nepomukstorage [basic functionality]
- nepomukservicestub filewatch [only if you use indexing]
- nepomuksetvicestub queryservice [or something like this: I'm not using 4.10 at the moment and I'm going from memory]


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
juantxorena
Registered Member
Posts
7
Karma
0
OS

Sun May 12, 2013 2:19 pm
einar wrote:Those are related to indexing and I doubt they matter. Check your running processes: you should have several instances of "nepomukservicestub". For the system to be properly functional, you need to have:

- nepomukservicestub nepomukstorage [basic functionality]
- nepomukservicestub filewatch [only if you use indexing]
- nepomuksetvicestub queryservice [or something like this: I'm not using 4.10 at the moment and I'm going from memory]


ps axu shows these processes:
Code: Select all
/usr/bin/nepomukcontroller -session 10112153dbe2000136639756700000023900010_1367699067_882884
/usr/bin/nepomukserver
/usr/bin/nepomukservicestub nepomukstorage
/usr/bin/nepomukservicestub nepomukfilewatch
/usr/bin/nepomukservicestub nepomukfileindexer
/usr/bin/akonadi_nepomuk_feeder --identifier akonadi_nepomuk_feeder

The last one catches my eye, is related to the akonadi component that is failing but is different than the rest of them. I'll keep investigating.
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: kmail can't search

Sun May 12, 2013 7:19 pm
Since we need to know more of what the feeder is doing, you should enable debug output. To do so, run "kdebugdialog" and uncheck "disable all debug output", then push "unselect all" (we don't want additional noise from other unrelated apps), write "akonadi_nepomuk" in the search field at the top and tick "akonadi_nepomuk_feeder". Click on OK. This will enable additional output used for debugging.

Then, from a terminal, issue "akonadictl restart". This will restart Akonadi and print its debug output to the terminal, see if there are any clues.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
juantxorena
Registered Member
Posts
7
Karma
0
OS

Sat May 18, 2013 7:54 am
einar wrote:Since we need to know more of what the feeder is doing, you should enable debug output. To do so, run "kdebugdialog" and uncheck "disable all debug output", then push "unselect all" (we don't want additional noise from other unrelated apps), write "akonadi_nepomuk" in the search field at the top and tick "akonadi_nepomuk_feeder". Click on OK. This will enable additional output used for debugging.

Then, from a terminal, issue "akonadictl restart". This will restart Akonadi and print its debug output to the terminal, see if there are any clues.


Sorry for the delay, I have had a hell of a week. I've tried to do this, but the amount of debug messages is still humongous. I've tried to redirect it to a file (using >), but it doesn't work. In any case, this is what it has thrown after trying to perform a search in a imap folder:
Code: Select all
akonadi_nepomuk_feeder(1134)/akonadiserializer (addressee) Akonadi::SerializerPluginAddressee::deserialize: Empty addressee object!
akonadi_nepomuk_feeder(1134)/akonadiserializer (addressee) Akonadi::SerializerPluginAddressee::deserialize: Empty addressee object!
akonadi_nepomuk_feeder(1134)/akonadiserializer (addressee) Akonadi::SerializerPluginAddressee::deserialize: Empty addressee object!
akonadi_nepomuk_feeder(1134)/akonadiserializer (addressee) Akonadi::SerializerPluginAddressee::deserialize: Empty addressee object!
akonadi_nepomuk_feeder(1134)/akonadiserializer (addressee) Akonadi::SerializerPluginAddressee::deserialize: Empty addressee object!
akonadi_nepomuk_feeder(1134)/akonadiserializer (addressee) Akonadi::SerializerPluginAddressee::deserialize: Empty addressee object!
akonadi_nepomuk_feeder(1134)/akonadiserializer (addressee) Akonadi::SerializerPluginAddressee::deserialize: Empty addressee object!
akonadi_nepomuk_feeder(1134)/akonadiserializer (addressee) Akonadi::SerializerPluginAddressee::deserialize: Empty addressee object!
akonadi_nepomuk_feeder(1134)/akonadiserializer (addressee) Akonadi::SerializerPluginAddressee::deserialize: Empty addressee object!
akonadi_nepomuk_feeder(1134)/akonadiserializer (addressee) Akonadi::SerializerPluginAddressee::deserialize: Empty addressee object!
akonadi_nepomuk_feeder(1134) ItemQueue::processBatch: failed to fetch item or item without payload:  5494
akonadi_nepomuk_feeder(1134) ItemQueue::processItem: pipline size:  0 0 9
akonadi_nepomuk_feeder(1134) ItemQueue::fetchJobResult: "Cannot list root collection."
akonadi_nepomuk_feeder(1134) ItemQueue::processBatch: failed to fetch item or item without payload:  5492
akonadi_nepomuk_feeder(1134) ItemQueue::processItem: pipline size:  0 0 8
akonadi_nepomuk_feeder(1134) ItemQueue::fetchJobResult: "Cannot list root collection."
akonadi_nepomuk_feeder(1134) ItemQueue::processBatch: failed to fetch item or item without payload:  5460
akonadi_nepomuk_feeder(1134) ItemQueue::processItem: pipline size:  0 0 7
akonadi_nepomuk_feeder(1134) ItemQueue::fetchJobResult: "Cannot list root collection."
akonadi_nepomuk_feeder(1134) ItemQueue::processBatch: failed to fetch item or item without payload:  5455
akonadi_nepomuk_feeder(1134) ItemQueue::processItem: pipline size:  0 0 6
akonadi_nepomuk_feeder(1134) ItemQueue::fetchJobResult: "Cannot list root collection."
akonadi_nepomuk_feeder(1134) ItemQueue::processBatch: failed to fetch item or item without payload:  5454
akonadi_nepomuk_feeder(1134) ItemQueue::processItem: pipline size:  0 0 5
akonadi_nepomuk_feeder(1134) ItemQueue::fetchJobResult: "Cannot list root collection."
akonadi_nepomuk_feeder(1134) ItemQueue::processBatch: failed to fetch item or item without payload:  5449
akonadi_nepomuk_feeder(1134) ItemQueue::processItem: pipline size:  0 0 4
akonadi_nepomuk_feeder(1134) ItemQueue::fetchJobResult: "Cannot list root collection."
akonadi_nepomuk_feeder(1134) ItemQueue::processBatch: failed to fetch item or item without payload:  5446
akonadi_nepomuk_feeder(1134) ItemQueue::processItem: pipline size:  0 0 3
akonadi_nepomuk_feeder(1134) ItemQueue::fetchJobResult: "Cannot list root collection."
akonadi_nepomuk_feeder(1134) ItemQueue::processBatch: failed to fetch item or item without payload:  5443
akonadi_nepomuk_feeder(1134) ItemQueue::processItem: pipline size:  0 0 2
akonadi_nepomuk_feeder(1134) ItemQueue::fetchJobResult: "Cannot list root collection."
akonadi_nepomuk_feeder(1134) ItemQueue::processBatch: failed to fetch item or item without payload:  5438
akonadi_nepomuk_feeder(1134) ItemQueue::processItem: pipline size:  0 0 1
akonadi_nepomuk_feeder(1134) ItemQueue::fetchJobResult: "Cannot list root collection."
akonadi_nepomuk_feeder(1134) ItemQueue::processBatch: failed to fetch item or item without payload:  5434
akonadi_nepomuk_feeder(1134) ItemQueue::processItem: pipline size:  2 0 0
akonadi_nepomuk_feeder(1134) ItemQueue::processItem: pipline size:  1 1 0
akonadi_nepomuk_feeder(1134) ItemQueue::processBatch: failed to fetch item or item without payload:  1925
akonadi_nepomuk_feeder(1134) ItemQueue::processItem: pipline size:  0 0 1
akonadi_nepomuk_feeder(1134) ItemQueue::fetchJobResult: "Cannot list root collection."
akonadi_nepomuk_feeder(1134) ItemQueue::processBatch: failed to fetch item or item without payload:  1666
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: kmail can't search

Sun May 19, 2013 6:44 pm
I believe the "cannot list root collection" errors are the key of this issue. I'll try to poke a developer to see what can be done about it.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot], Yahoo [Bot]