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

[solved] Can't read my emails with KMail

Tags: None
(comma "," separated)
daitheflu
Registered Member
Posts
11
Karma
0
OS
Hi there,

A few weeks ago, my KMail suddenly stopped displaying messages. The list seems to be ok. But clicking on a list entry doesn't display the message. I just get a "please wait..." (or whatever) message.

I've tried several things that I found here and there. The only one that seems to have an effect is :
1. quit KMail (with kquitapp kmail)
2. stop Akonadi (akonadictl stop),
3. wait...
4. trash everything in ~/.local/share/akonadi
5. run nepomukcleaner,
6. start akonadi,
7. wait....
8. start KMail.
9. re-configure KMail to map the directories on my 3 IMAP accounts.

Generally, that will work... for the next 5-10 minutes.
Here is the output of akonadictl start :

[22:18:16]francois@sleipnir:~$ akonadictl status
Akonadi Control: stopped
Akonadi Server: stopped
Akonadi Server Search Support: available (backend: Virtuoso)
[22:18:25]francois@sleipnir:~$ akonadictl start
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
[22:18:30]francois@sleipnir:~$ search paths: ("/usr/local/sbin", "/usr/local/bin", "/usr/bin", "/usr/bin/vendor_perl", "/usr/bin/core_perl", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin")
akonadi.collectionattributetable OK
akonadi.collectionmimetyperelation OK
akonadi.collectionpimitemrelation OK
akonadi.collectiontable OK
akonadi.flagtable OK
akonadi.mimetypetable OK
akonadi.parttable OK
akonadi.pimitemflagrelation OK
akonadi.pimitemtable OK
akonadi.resourcetable OK
akonadi.schemaversiontable OK
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
search paths: ("/usr/local/sbin", "/usr/local/bin", "/usr/bin", "/usr/bin/vendor_perl", "/usr/bin/core_perl")
search paths: ("/home/francois/.kde4/lib/kde4/plugins/", "/usr/lib/kde4/plugins/", "/usr/lib/qt4/plugins", "/usr/bin", "/usr/lib/kde4/plugins", "/home/francois/.kde4/lib/kde4/", "/usr/lib/kde4/")
akonadi_imap_resource_1(1490)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
akonadi_imap_resource_0(1489)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
akonadi_nepomuk_feeder(1495) ItemQueue::fetchJobResult: Not all items were fetched: 96 100
akonadi_nepomuk_feeder(1495) ItemQueue::batchJobResult: Error while storing graph: "http://www.semanticdesktop.org/ontologies/2007/08/15/nao#prefSymbol has a max cardinality of 1. Provided 1 values - <nepomuk:/res/871cb34c-2614-40f6-b16e-bd883228199e>. Existing - <nepomuk:/res/2c4db14e-bda1-453a-a18a-7e2f63749734>"
akonadi_nepomuk_feeder(1495) ItemQueue::batchJobResult: Error while storing graph: "http://www.semanticdesktop.org/ontologies/2007/08/15/nao#prefSymbol has a max cardinality of 1. Provided 1 values - <nepomuk:/res/871cb34c-2614-40f6-b16e-bd883228199e>. Existing - <nepomuk:/res/2c4db14e-bda1-453a-a18a-7e2f63749734>"
akonadi_imap_resource_2(1491)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
akonadi_nepomuk_feeder(1495) ItemQueue::batchJobResult: Error while storing graph: "http://www.semanticdesktop.org/ontologies/2007/08/15/nao#prefSymbol has a max cardinality of 1. Provided 1 values - <nepomuk:/res/871cb34c-2614-40f6-b16e-bd883228199e>. Existing - <nepomuk:/res/2c4db14e-bda1-453a-a18a-7e2f63749734>"
akonadi_nepomuk_feeder(1495) ItemQueue::batchJobResult: Error while storing graph: "http://www.semanticdesktop.org/ontologies/2007/08/15/nao#prefSymbol has a max cardinality of 1. Provided 1 values - <nepomuk:/res/871cb34c-2614-40f6-b16e-bd883228199e>. Existing - <nepomuk:/res/2c4db14e-bda1-453a-a18a-7e2f63749734>"
akonadi_imap_resource_0(1489)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
akonadi_nepomuk_feeder(1495) ItemQueue::batchJobResult: Error while storing graph: "http://www.semanticdesktop.org/ontologies/2007/08/15/nao#prefSymbol has a max cardinality of 1. Provided 1 values - <nepomuk:/res/871cb34c-2614-40f6-b16e-bd883228199e>. Existing - <nepomuk:/res/2c4db14e-bda1-453a-a18a-7e2f63749734>"
akonadi_nepomuk_feeder(1495) ItemQueue::batchJobResult: Error while storing graph: "http://www.semanticdesktop.org/ontologies/2007/08/15/nao#prefSymbol has a max cardinality of 1. Provided 1 values - <nepomuk:/res/871cb34c-2614-40f6-b16e-bd883228199e>. Existing - <nepomuk:/res/2c4db14e-bda1-453a-a18a-7e2f63749734>"
akonadi_nepomuk_feeder(1495) ItemQueue::batchJobResult: Error while storing graph: "http://www.semanticdesktop.org/ontologies/2007/08/15/nao#prefSymbol has a max cardinality of 1. Provided 1 values - <nepomuk:/res/871cb34c-2614-40f6-b16e-bd883228199e>. Existing - <nepomuk:/res/2c4db14e-bda1-453a-a18a-7e2f63749734>"
akonadi_nepomuk_feeder(1495) ItemQueue::batchJobResult: Error while storing graph: "http://www.semanticdesktop.org/ontologies/2007/08/15/nao#prefSymbol has a max cardinality of 1. Provided 1 values - <nepomuk:/res/871cb34c-2614-40f6-b16e-bd883228199e>. Existing - <nepomuk:/res/2c4db14e-bda1-453a-a18a-7e2f63749734>"
akonadi_nepomuk_feeder(1495) ItemQueue::batchJobResult: Error while storing graph: "http://www.semanticdesktop.org/ontologies/2007/08/15/nao#prefSymbol has a max cardinality of 1. Provided 1 values - <nepomuk:/res/871cb34c-2614-40f6-b16e-bd883228199e>. Existing - <nepomuk:/res/2c4db14e-bda1-453a-a18a-7e2f63749734>"
akonadi_nepomuk_feeder(1495) ItemQueue::batchJobResult: Error while storing graph: "http://www.semanticdesktop.org/ontologies/2007/08/15/nao#prefSymbol has a max cardinality of 1. Provided 1 values - <nepomuk:/res/871cb34c-2614-40f6-b16e-bd883228199e>. Existing - <nepomuk:/res/2c4db14e-bda1-453a-a18a-7e2f63749734>"
akonadi_nepomuk_feeder(1495) ItemQueue::batchJobResult: Error while storing graph: "http://www.semanticdesktop.org/ontologies/2007/08/15/nao#prefSymbol has a max cardinality of 1. Provided 1 values - <nepomuk:/res/871cb34c-2614-40f6-b16e-bd883228199e>. Existing - <nepomuk:/res/2c4db14e-bda1-453a-a18a-7e2f63749734>"

[snip: there are like thousands of lines like these]

akonadi_imap_resource_1(1490)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
akonadi_imap_resource_2(1491)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
ItemRetrieverException : Unable to retrieve item from resource: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
ItemRetrieverException : Unable to retrieve item from resource: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.



I also tried to modify some config files, to configure my accounts with/without TLS, etc, etc...
I'm using ArchLinux with everything up-to-date.

Any idea how I can get back a working KMail ?

Thanks :)

Last edited by daitheflu on Sun Nov 24, 2013 7:51 pm, edited 1 time in total.
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: Can't read my emails with KMail

Thu Nov 14, 2013 6:29 am
Does that work if you disable Nepomuk temporarily? I'm guessing there are some issues with its database, by looking at the output you provided.


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

Re: Can't read my emails with KMail

Mon Nov 18, 2013 10:30 pm
Hi,

Thanks einar for your answer :)

Does that work if you disable Nepomuk temporarily?

Well, not really. Each time I stop Nepomuk (via System Administration > Desktop Search), KMail relaunches it...

I'm guessing there are some issues with its database, by looking at the output you provided.

I agree.
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: Can't read my emails with KMail

Tue Nov 19, 2013 11:40 pm
It shouldn't be restarted. Can you try issuing a "nepomukctl stop" and retry to view a mail?


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

Re: Can't read my emails with KMail

Wed Nov 20, 2013 10:18 pm
Hey,

Thanks, that was the command I was looking for.
Unfortunately, the result is the same : nothing is happening. I don't know if KMail does something or not. But the message doesn't show :(

I also got this message (I started KMail from the command line) for one of my 3 IMAP accounts :
collection has not resource: Collection ID: 23 remote ID: "imap://user@myserver.mydomain.com/"
name: ""
url: KUrl("akonadi://?collection=23")
parent: 0 ""
resource: ""
rights: QFlags(0x1|0x2|0x4|0x8|0x10|0x20)
contents mime type: ()
isVirtual: false
CachePolicy:
inherit: true
interval: -1
timeout: -1
sync on demand: false
local parts: ()
CollectionStatistics:
count: -1
unread count: -1
size: -1
Thanks again for the help, I really appreciate it :)
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: Can't read my emails with KMail

Thu Nov 21, 2013 11:38 am
Perhaps clearing the cache might help. Bear in mind that doing so will cause all mail to be redownloaded.

Should you want to proceed anyway, launch "akonadiconsole" and locate the "Browser" tab. Right click on the account name you will see and select "Clear Akonadi Cache". Start a new sync of the mail and see if it works.

Alternatively you could try fixing errors. Run "akonadictl fsck" to attempt a repair of the internal data structure (bear in mind it does not output information and just starts a background process, so you won't be informed of its updates).


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

Re: Can't read my emails with KMail

Fri Nov 22, 2013 11:07 am
Hey,

Well, sadly none of your suggestions worked :(

I finally stopped akonadi, removed all directories related to Akonadi (~/.local/share/akonadi and ~/.config/akonadi) and restarted KMail.
I reconfigured all my accounts and things are running smoothly since then. I hope it will survive the suspend mode.

Thanks again for your help.

I have an additional question. This REALLY isn't a troll, I just want to understand and see if I can help somewhere : what is missing to make KMail + Akonadi work really properly ?


Bookmarks



Who is online

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