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
just tried to open an email in kate and got
Code: Select all
Internal Error
Please send a full bug report at http://bugs.kde.org
Unable to fetch item from backend (collection 0) : 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
papapenguin
Registered Member
Posts
45
Karma
0
OS
the latest
Code: Select all
donald@papapenguin ~ $ akonadictl restart
Unable to register service as "org.freedesktop.Akonadi.Control.lock" Maybe it's already running?
"[
0: /usr/bin/akonadi_control(_Z11akBacktracev+0x34) [0x43d304]
1: /usr/bin/akonadi_control() [0x43d71e]
2: /lib64/libc.so.6(+0x382c0) [0x7fd73e8212c0]
3: /lib64/libc.so.6(gsignal+0x35) [0x7fd73e821245]
4: /lib64/libc.so.6(abort+0x147) [0x7fd73e822557]
5: /usr/lib64/qt4/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x6c) [0x7fd73f82951c]
6: /usr/bin/akonadi_control(_ZN15FileDebugStream9writeDataEPKcx+0x9b) [0x43f52b]
7: /usr/lib64/qt4/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0xb4) [0x7fd73f8c1524]
8: /usr/lib64/qt4/libQtCore.so.4(+0x119e6e) [0x7fd73f8cbe6e]
9: /usr/lib64/qt4/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x3b) [0x7fd73f8d42fb]
10: /usr/bin/akonadi_control(_ZN6QDebugD1Ev+0x3a) [0x41e1da]
11: /usr/bin/akonadi_control(main+0x33b) [0x41afab]
12: /lib64/libc.so.6(__libc_start_main+0xf5) [0x7fd73e80dbc5]
13: /usr/bin/akonadi_control() [0x41b161]
]
"
Error: akonadi_control was started but didn't register at D-Bus session bus.
Make sure your system is set up correctly!
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
It looks like there's something really broken. Can you try to do "akonadictl stop" followed by "akonadictl start"? Can you also check if all distribution packages are installed correctly?


"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
here is the akonadi stop and akonadi restart from earlier
http://pastebin.com/QLV0jwza

here it is from just now...
Code: Select all
donald@papapenguin ~ $ akonadictl stop   
AkonadiAgentServer(6537)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
AkonadiAgentServer(6538)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
AkonadiAgentServer(6539)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
AkonadiAgentServer(6544)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
AkonadiAgentServer(6540)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
akonadi_mixedmaildir_resource_0(6547)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
donald@papapenguin ~ $ akonadi_pop3_resource_0(6549)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
akonadi_pop3_resource_0(6549)/akonadiresource (pop3) SettingsHelper::~SettingsHelper: Settings(0xa62ea0)
Application '/usr/bin/akonadi_pop3_resource' exited normally...
AkonadiAgentServer(6550)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know "/home/donald/.kde4/share/apps/kabc"
AkonadiAgentServer(6550)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
AkonadiAgentServer(6551)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know "/home/donald/.kde4/share/apps/kabc"
AkonadiAgentServer(6551)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
Application '/usr/bin/akonadi_agent_launcher' exited normally...
Application '/usr/bin/akonadi_agent_launcher' exited normally...
Application '/usr/bin/akonadi_agent_launcher' exited normally...
Application '/usr/bin/akonadi_agent_launcher' exited normally...
Application '/usr/bin/akonadi_agent_launcher' exited normally...
Application '/usr/bin/akonadi_maildispatcher_agent' exited normally...
Application '/usr/bin/akonadi_agent_launcher' exited normally...
Application '/usr/bin/akonadi_agent_launcher' exited normally...
Application '/usr/bin/akonadi_agent_launcher' exited normally...
Application '/usr/bin/akonadi_mailfilter_agent' exited normally...
Application '/usr/bin/akonadi_archivemail_agent' exited normally...
QProcess: Destroyed while process is still running.
ProcessControl: Application /usr/bin/akonadi_mixedmaildir_resource stopped unexpectedly ( "Process crashed" )
Application '/usr/bin/akonadi_mixedmaildir_resource' crashed. No restart!
Application '/usr/bin/akonadi_birthdays_resource' exited normally...
Application '/usr/bin/akonadi_nepomuk_feeder' exited normally...
Application 'akonadiserver' exited normally...

Code: Select all
donald@papapenguin ~ $ akonadictl start
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
donald@papapenguin ~ $ 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
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")
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
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/")
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/")
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.
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/")
akonadi_nepomuk_feeder(17556) FeederPluginloader::feederPluginsForMimeType: No feeder for type  "text/calendar"  found
akonadi_mixedmaildir_resource_0(17555)/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(17555)/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(17555)/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.
"

donald@papapenguin ~ $


I've seen very similar problems to this post:
http://forums.gentoo.org/viewtopic-t-928462-start-0-postdays-0-postorder-asc-highlight-kmail.html?sid=5391339bbee9c1b5b773a0b8ff44cf16

Last edited by papapenguin on Thu May 23, 2013 9:14 pm, edited 1 time in total.
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
You probably meant "akonadictl" rather than "akonadi".


"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
right...had to edit the post to reflect the change... :<
User avatar
papapenguin
Registered Member
Posts
45
Karma
0
OS
in regards to the gentoo forums post, I renamed
Code: Select all
.kde4/share/apps/nepomuk

to
Code: Select all
.kde4/share/apps/nepomuk.old

restarted my computer and nepomuk actually seems to work...it's now indexing my files, as it hasn't done this for some time...

Kontact began to work flawlessly, until I skipped over an email that I wanted to save and...crash...back to hanging...
User avatar
Primoz
Moderator
Posts
859
Karma
1
OS
So I have no idea what papapenguin's actual problem was. But I have a problem, that can only be described with the title of this thread.
Anyway, my KMail worked mostly okay. The only thing that bothered me was that it got a connection error with GMail from time to time.
Yesterday I had enough of this error and thought, that if I just remove the GMail IMAP client and set it again, everything will work fine.
Well I was wrong.
Now when the GMail folders are trying to sync it just "hangs".
I've tried everything. I deleted all KMail and Akonadi settings, yet still the same. I have no idea what it could be.


Primoz, proud to be a member of KDE forums since 2008-Nov.
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
What version of KDE PIM are you using?


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
User avatar
Primoz
Moderator
Posts
859
Karma
1
OS
4.10.3


Primoz, proud to be a member of KDE forums since 2008-Nov.
User avatar
papapenguin
Registered Member
Posts
45
Karma
0
OS
ok...here's what solved the damned thing...

It turns out that downgrading to stable KDE, akonadi-server and soprano (maybe mediastreamer, but I don't know about that) by changing accept_keywords
Code: Select all
donald@papapenguin ~ $ cat /etc/portage/package.accept_keywords
kde-base/*    -~amd64
app-office/akonadi-server       -~amd64
media-libs/mediastreamer        -~amd64
dev-libs/soprano                -~amd64

donald@papapenguin ~ $


I think that may have done it, because ALL my kmail/akonadi/nepomuk problems seem to have been solved...this was really a systemic problem...
User avatar
Primoz
Moderator
Posts
859
Karma
1
OS
I remembered that I still have a test user, just for this sorts of things...
I set up KMail there (apparently haven't set it up before) and it works, it retrieves all the mail. It takes some time, but it's like 1min or something.
On my account it freezes at 25% and if I restart it, it freezes at 12% and if I restart again, it freezes at 8% and so on, until it freezes at 1%.
So can I just copy paste some setting from the test account to my account and get it fixed or is it something more complex?
Do I need to clear the Akonadi SQL database? I had a suspicion that could be the problem, even I have no idea why.


Primoz, proud to be a member of KDE forums since 2008-Nov.
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
I've been debugging this with another KDE developer who was affected. In this case, check if you have in ~/.config/akonadi a file called agent_config_akonadi_maildir_resource_0_changes.dat or with a similar name (needs to have "maildir" in it). Move the file away (don't delete it, just in case) and see if the problem goes away.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
User avatar
Primoz
Moderator
Posts
859
Karma
1
OS
einar wrote:I've been debugging this with another KDE developer who was affected. In this case, check if you have in ~/.config/akonadi a file called agent_config_akonadi_maildir_resource_0_changes.dat or with a similar name (needs to have "maildir" in it). Move the file away (don't delete it, just in case) and see if the problem goes away.

I do have that file.
Do I need also to remove the IMAP settings in Akonadi, because just moving it away doesn't change anything...
In Akonadi settings it says GMail ready (25%) and nothing is happening,again.


Primoz, proud to be a member of KDE forums since 2008-Nov.
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
No, this looks like a different issue. I'm unable however to reproduce this with IMAP.


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


Bookmarks



Who is online

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