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

KMail hangs forever "retrieving folder contents" HELP!

Tags: None
(comma "," separated)
User avatar
papapenguin
Registered Member
Posts
45
Karma
0
OS
I'm unhappily revisiting this problem...

I've just upgraded to kontact-4.10.3 and kmail hangs virtually every time while attempting to display emails...I realize there was a change from sqlite to mysql, but mine automatically made the change (I think)
Code: Select all
papapenguin ~ # cat ~/.config/akonadi/akonadiserverrc
[%General]
Driver=QMYSQL
SizeThreshold=4096
ExternalPayload=false

[QMYSQL]
Name=akonadi
Host=
User=
Password=
Options="UNIX_SOCKET=/root/.local/share/akonadi/socket-papapenguin/mysql.socket"
ServerPath=/usr/sbin/mysqld
StartServer=true
papapenguin ~ #

but the behavior is quite strange, for instance, I just opened kontact again, it downloaded a new message and displayed it...I then deleted the message, it displayed the next message quite nicely...so I tried to display an older message with no luck...

I'll say that I did see it did empty my trash bin after letting it sit for about 4 hours...

I've rebuilt akonadi and kdepim and various libraries...

...also noticed that after
Code: Select all
donald@papapenguin ~ $ killall kontact

when reopening kontact, it successfully retrieves messages from server and I can display the very last message retrieved...

I can then successfully move a number of these messages to trash, but if I elect to skip over a message, and try to send the subsequent messages to trash...it hangs up...giving me the 'retrieving folder contents...please wait' message in the message window while displaying 'Moving messages to trash' in the lower left corner...

after 2-4 hours (the status bar in the lower right corner moving back and forth--I guess showing that 'work' is happening), kmail may or may not be able to delete the message...I often get a status message stating 'Moving messages to trash.'

I've created a pastebin of
Code: Select all
donald@papapenguin ~ $ cat ~/.xsession-errors

http://pastebin.com/g69payJG
killed kontact, opened it again, deleted some messages, latest xsession error while kontact hangs...
http://pastebin.com/HCH5LYaU\
...does anyone have an idea to this problem and how to fix it?
User avatar
papapenguin
Registered Member
Posts
45
Karma
0
OS
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
It looks like the migration from sqlite to MySQL caused errors. Can you check with a fresh account and pristine configuration (don't just delete your config, create a new one on a new user account)?


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
User avatar
papapenguin
Registered Member
Posts
45
Karma
0
OS
thanks einar...

...since I'm not so smart with this sort of thing, could you either walk me through it, or point me in the right direction to do it?

thanks,
User avatar
papapenguin
Registered Member
Posts
45
Karma
0
OS
...ok, just noticed that under

Settings -> Configure Kontact -> Identities

The default was not my identity, but Unnamed...so I changed it and it all worked...

...for a while...

after deleting 20 messages or so, it got caught on one and now back to the same old story...
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
Using your distribution tools, create a new user login. Log out from your current user, then into this new user. Open KMail in this new environment, and set it up like your normal mail account. See if you still experience the hangs.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
User avatar
papapenguin
Registered Member
Posts
45
Karma
0
OS
...ok...I'll try this...

...do you think downgrading from 4.10.3 to 4.10.2 will help?

or is even advisable?

since this is the stable version, or do you think this would break more libraries and cause more damage than good?
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
You should try first with a new user account, because there are way too many variables involved. In my opinion, I'm not sure the downgrade will fix your issue.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
User avatar
papapenguin
Registered Member
Posts
45
Karma
0
OS
not to muddy the situation, but I've noticed this strange behavior too...

in Kontact -> Settings -> Configure Kontact -> (Mail) Accounts -> Receiving

it shows my POP3 account as active,

--but also shows mail synchronizing email folder 0%

this doesn't ever change, and I cannot delete it...I've deleted a folder, just to see if the next folder would sync, but it will not

This seems to be an Akonadi problem, as that is the program that syncs folders, right?
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
Let's try this: close down KMail, open a terminal, type "akonadictl restart" then wait till it restarts, then run KMail.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
User avatar
papapenguin
Registered Member
Posts
45
Karma
0
OS
I had run akonadictl stop and akonadictl start, but not akonadictl restart...this gave some interesting output...
Code: Select all
donald@papapenguin ~ $ akonadictl restart
donald@papapenguin ~ $ Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
search paths:  ("/usr/local/bin", "/usr/bin", "/bin", "/opt/bin", "/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3", "/usr/lib64/subversion/bin", "/usr/games/bin", "/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/bin", "/usr/bin", "/bin", "/opt/bin", "/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.3", "/usr/lib64/subversion/bin", "/usr/games/bin")
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
search paths:  ("/usr/lib64/kde4/plugins", "/home/donald/.kde4/lib64/kde4/plugins/", "/usr/lib64/kde4/plugins/", "/usr/lib64/qt4/plugins", "/usr/bin", "/home/donald/.kde4/lib64/kde4/", "/usr/lib64/kde4/")
search paths:  ("/usr/lib64/kde4/plugins", "/home/donald/.kde4/lib64/kde4/plugins/", "/usr/lib64/kde4/plugins/", "/usr/lib64/qt4/plugins", "/usr/bin", "/home/donald/.kde4/lib64/kde4/", "/usr/lib64/kde4/")
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
search paths:  ("/usr/lib64/kde4/plugins", "/home/donald/.kde4/lib64/kde4/plugins/", "/usr/lib64/kde4/plugins/", "/usr/lib64/qt4/plugins", "/usr/bin", "/home/donald/.kde4/lib64/kde4/", "/usr/lib64/kde4/")
search paths:  ("/usr/lib64/kde4/plugins", "/home/donald/.kde4/lib64/kde4/plugins/", "/usr/lib64/kde4/plugins/", "/usr/lib64/qt4/plugins", "/usr/bin", "/home/donald/.kde4/lib64/kde4/", "/usr/lib64/kde4/")
search paths:  ("/usr/lib64/kde4/plugins", "/home/donald/.kde4/lib64/kde4/plugins/", "/usr/lib64/kde4/plugins/", "/usr/lib64/qt4/plugins", "/usr/bin", "/home/donald/.kde4/lib64/kde4/", "/usr/lib64/kde4/")
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
search paths:  ("/usr/lib64/kde4/plugins", "/home/donald/.kde4/lib64/kde4/plugins/", "/usr/lib64/kde4/plugins/", "/usr/lib64/qt4/plugins", "/usr/bin", "/home/donald/.kde4/lib64/kde4/", "/usr/lib64/kde4/")
search paths:  ("/usr/lib64/kde4/plugins", "/home/donald/.kde4/lib64/kde4/plugins/", "/usr/lib64/kde4/plugins/", "/usr/lib64/qt4/plugins", "/usr/bin", "/home/donald/.kde4/lib64/kde4/", "/usr/lib64/kde4/")
search paths:  ("/usr/lib64/kde4/plugins", "/home/donald/.kde4/lib64/kde4/plugins/", "/usr/lib64/kde4/plugins/", "/usr/lib64/qt4/plugins", "/usr/bin", "/home/donald/.kde4/lib64/kde4/", "/usr/lib64/kde4/")
akonadi_nepomuk_feeder(3498) FeederPluginloader::feederPluginsForMimeType: No feeder for type  "text/calendar"  found
akonadi_mixedmaildir_resource_0(3497)/akonadiresource (maildir): "NO [LRCONFLICT] Resource akonadi_mixedmaildir_resource_0 tries to modify item 22127 ({032a9b0d-8958-4b3d-8a96-b184981f1096}) (in collection 63) with dirty payload, aborting STORE.
"
akonadi_mixedmaildir_resource_0(3497)/akonadiresource (maildir): "NO [LRCONFLICT] Resource akonadi_mixedmaildir_resource_0 tries to modify item 20109 ({06bd3ce6-0603-40b0-b3e4-1239b08e55f7}) (in collection 60) with dirty payload, aborting STORE.
"
akonadi_mixedmaildir_resource_0(3497)/akonadiresource (maildir): "NO [LRCONFLICT] Resource akonadi_mixedmaildir_resource_0 tries to modify item 5691 (1307818808.2876.baY67:2,S) (in collection 42) with dirty payload, aborting STORE.
"
akonadi_nepomuk_feeder(3498) ItemQueue::batchJobResult: Error while storing graph:  "http://www.semanticdesktop.org/ontologies/2007/03/22/nco#org has a max cardinality of 1. Provided 1 values - <nepomuk:/res/a6b9c774-a08d-47f2-bcb4-4485274da475>. Existing - <nepomuk:/res/81810121-01d8-41c4-b464-146137a85dd7>"
akonadi_nepomuk_feeder(3498) ItemQueue::batchJobResult: Error while storing graph:  "http://www.semanticdesktop.org/ontologies/2007/03/22/nco#org has a max cardinality of 1. Provided 1 values - <nepomuk:/res/81810121-01d8-41c4-b464-146137a85dd7>. Existing - <nepomuk:/res/a6b9c774-a08d-47f2-bcb4-4485274da475>"
akonadi_nepomuk_feeder(3498) ItemQueue::batchJobResult: Error while storing graph:  "http://www.semanticdesktop.org/ontologies/2007/03/22/nco#org has a max cardinality of 1. Provided 1 values - <nepomuk:/res/81810121-01d8-41c4-b464-146137a85dd7>. Existing - <nepomuk:/res/a6b9c774-a08d-47f2-bcb4-4485274da475>"

donald@papapenguin ~ $

then I started kontact, deleted some messages, then quit kontact
Code: Select all
donald@papapenguin ~ $ akonadi_pop3_resource_0(3499)/kio (KIOJob) KIO::TransferJob::slotData: mimeType() not emitted when sending first data!; job URL = KUrl("pop3://donald%40soundexperiment.org@pop.secureserver.net:110/index") data size = 9
akonadi_pop3_resource_0(3499)/kio (KIOJob) KIO::TransferJob::slotData: mimeType() not emitted when sending first data!; job URL = KUrl("pop3://donald%40soundexperiment.org@pop.secureserver.net:110/uidl") data size = 57
 MailFilterAgent::itemAdded : 43743
 itemsReceiviedForFiltering********************************************** : 43743  resource : "akonadi_mixedmaildir_resource_0"
 MailFilterAgent::itemAdded : 43744
 itemsReceiviedForFiltering********************************************** : 43744  resource : "akonadi_mixedmaildir_resource_0"
 MailFilterAgent::itemAdded : 43745
 itemsReceiviedForFiltering********************************************** : 43745  resource : "akonadi_mixedmaildir_resource_0"
 MailFilterAgent::itemAdded : 43746
 itemsReceiviedForFiltering********************************************** : 43746  resource : "akonadi_mixedmaildir_resource_0"
 MailFilterAgent::itemAdded : 43747
 itemsReceiviedForFiltering********************************************** : 43747  resource : "akonadi_mixedmaildir_resource_0"
 MailFilterAgent::itemAdded : 43748
 itemsReceiviedForFiltering********************************************** : 43748  resource : "akonadi_mixedmaildir_resource_0"
 MailFilterAgent::itemAdded : 43749
 MailFilterAgent::itemAdded : 43750
 itemsReceiviedForFiltering********************************************** : 43749  resource : "akonadi_mixedmaildir_resource_0"
 itemsReceiviedForFiltering********************************************** : 43750  resource : "akonadi_mixedmaildir_resource_0"
 MailFilterAgent::itemAdded : 43751
 itemsReceiviedForFiltering********************************************** : 43751  resource : "akonadi_mixedmaildir_resource_0"
 MailFilterAgent::itemAdded : 43752
 itemsReceiviedForFiltering********************************************** : 43752  resource : "akonadi_mixedmaildir_resource_0"
 MailFilterAgent::itemAdded : 43753
 itemsReceiviedForFiltering********************************************** : 43753  resource : "akonadi_mixedmaildir_resource_0"
 MailFilterAgent::itemAdded : 43754
 itemsReceiviedForFiltering********************************************** : 43754  resource : "akonadi_mixedmaildir_resource_0"
 MailFilterAgent::itemAdded : 43755
 itemsReceiviedForFiltering********************************************** : 43755  resource : "akonadi_mixedmaildir_resource_0"
akonadi_pop3_resource_0(3499)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
akonadi_pop3_resource_0(3499)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:

donald@papapenguin ~ $

then restarted kontact, deleted 1 message and it started hanging...
Code: Select all
donald@papapenguin ~ $ akonadi_pop3_resource_0(3499)/kio (KIOJob) KIO::TransferJob::slotData: mimeType() not emitted when sending first data!; job URL = KUrl("pop3://donald%40soundexperiment.org@pop.secureserver.net:110/index") data size = 0
akonadi_pop3_resource_0(3499)/kio (KIOJob) KIO::TransferJob::slotData: mimeType() not emitted when sending first data!; job URL = KUrl("pop3://donald%40soundexperiment.org@pop.secureserver.net:110/uidl") data size = 0
akonadi_pop3_resource_0(3499)/kio (KIOJob) KIO::TransferJob::slotData: mimeType() not emitted when sending first data!; job URL = KUrl("pop3://donald%40soundexperiment.org@pop.secureserver.net:110/download/") data size = 0
akonadi_pop3_resource_0(3499)/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.

User avatar
einar
Administrator
Posts
3402
Karma
7
OS
Are you using any filters for POP?


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
User avatar
papapenguin
Registered Member
Posts
45
Karma
0
OS
I don't think so...I just used the send/receive servers provided by my email service
User avatar
papapenguin
Registered Member
Posts
45
Karma
0
OS
I decided to rebuild KDE, and when it finished, KMail seemed to work...I viewed and deleted 75 emails...but on email #76...it began to hang again...now it hangs every time I open it...here's the latest akonadi message:

http://pastebin.com/ytEBwSJ8
User avatar
papapenguin
Registered Member
Posts
45
Karma
0
OS
I just tried again to log in as another, then access kmail...

the first thing I notice is that there is no kontact in my start menu...only kmail

then when I try to import messages to kmail, I 'show hidden folders' and try to access kde.4 and get an error window that says 'folder does not exist or is not accessible'

I can access other folders, just not any kde folders (kde, or kde.3)


Bookmarks



Who is online

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