Created attachment 67553 [details] IMAP session server error notification stack Version: 4.8 (using Devel) OS: Linux This seems to occur often after resuming from suspend where my Google IMAP account will start streaming "GMail: There is currently no session to the IMAP server available." KMail is not running during this time, nor does it need to be started to trigger it. There are two IMAP accounts configured on this system and only the Google one does this. I have ticked the "Switch offline on KMail shutdown" box and "Check mail on startup" for both accounts. The number of notifications is pretty high, i.e. I have seen the notification counter up in the 30s for this message. It also seems to happen in bursts, meaning it'll output 10+ notifications and then nothing for a short period of time and then 30+ notifications. During this time I can see akonadi and mysqld consuming ~50% of my CPU suggesting that it is checking for e-mail. I would think the "Check mail on startup" means on KMail's startup, but maybe that is an incorrect assumption. Reproducible: Sometimes Steps to Reproduce: 1. Quit KMail/Kontact. 2. Suspend computer. 3. Wake computer. Actual Results: Started to receive the stream of notifications, "GMail: There is currently no session to the IMAP server available." Expected Results: There should have been no stream of notifications, or it should have at least throttled them as repeating the same error over and over again covers the previous one and makes it extremely hard to even see what each message states. It also appears that they occur fast enough that the messages don't even get printed, you just see an empty warning notification stack. I am using Lancelot as my menu, which looks to open a connection to akonadi and could be the trigger that causes the mail check on resume.
Created attachment 67555 [details] xsession-errors file
Can confirm this problem using kubuntu 11.10 and (deb http://ppa.launchpad.net/kubuntu-ppa/beta/ubuntu oneiric main, which is currently 4.7.97 (4.8 RC2) ). I have three connected IMAP accounts and have seen this problem with two of them. I don't use suspend but I think it is triggered in situations where the IMAP servers are not responsive. Either because of heavy network traffic jamming the connection or because of WLAN dropouts. However this is not really reproducible. Once the message spamming starts it seems to never stop even if the connection is fine.
Same problem here, it's really annoying. Once I've lost connection, it keeps poping out, even when connection is available again.
I just experienced this issue as well, with a Gmail account. (This one actually) I found that stopping and restarting akonadi (via tray icon) reset whatever broke and allowed kmail to check mail again. Kubuntu 11.10 amd64, KDE 4.7.4
Can you try again with 4.8? I fixed a large number of issues with resuming from suspend, in the akonadi imap resource.
I'm seeing the same issue under 12.04, KDE 4.8.2, with both a Gmail IMAP account and an Exchange IMAP one. I guess that must happen due to lost connection (mine is not so stable, not sure whether it's due to Kubuntu or my provider, I don't remember the frequent cuts under windows).
*** This bug has been confirmed by popular vote. ***
This happens much less often since upgrading to Kubuntu 12.04.- Kontact and KDE 4.8.3. Seldom happens after resume, occasionally happens in normal operation. I think messages probably due to actual connection problems, as they do not go on forever, and I no longer have to restart akonadi server to stop them.
Also happening in KDE 4.9.1. Not only after resume, but in this case it's the network link going down, trying to connect to the IMAP server, then the network link goes back up, and it tries again, and gets the stream of messages.
Still the very same in KDE-4.10.2
I confirm this as happening since version 4.8.4, running Kubuntu. Running 4.10.3 now and still happening. It happens from time to time and on different IMAP servers, and I never suspend the computer, so that's not the issue.
I don't have this problem any more (currently using KDE 4.10, Kubuntu).
The IMAP resource has a new maintainer, reassigning to him.
still happening on ubuntu, kde 4.8.5
Please reopen if you can reproduce this with kdepim >= 4.11.3
I'm on 4.12.2, running on Funtoo GNU/Linux. I don't get the "There is currently no session to the IMAP server available." message any more - instead I just get messages saying "<mail account>: Connection to server lost" or "<mail account>: Connection lost". Sometimes on Yahoo I also get "Yahoo: Fetch failed, server replied: A000020 BAD FETCH Additional arguments found after last expected argument [ CLIENTBUG ]" It might be relevant that I have 7 accounts including 4 at GMail (personal Gmail, Yahoo, Hotmail, university mail, 3x role accounts all hosted by GMail) and it is generally the GMail and Yahoo accounts that throw errors, not my university account (nor Hotmail, which is on POP).