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

kmail hangs on synchronisation

Tags: None
(comma "," separated)
markum
Registered Member
Posts
165
Karma
1

kmail hangs on synchronisation

Sat Dec 17, 2011 8:52 am
Hi,

I have (kind of) successfully migrated from old Kmail directly to Kmail 4.7.4.
Unfortunately I can not access new mails since Kmail is hanging on synchronisation all the time.
It happens in the same folder, when I cancel, cancelling hangs. I need to restart in order to start again. But then Kmail hangs on the same folder. I assume it might be a message it wont get a long with. Any idea how to solve it, may be find the message it is hanging on?

Markum

EDIT: It's a cached IMAP account.


markum, proud to be a member of KDE forums since 2008-Nov.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: kmail hangs on synchronisation

Sat Dec 17, 2011 10:18 am
Is there any particular characteristic about this folder, like it having a large number of emails in it which could also be the issue?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
markum
Registered Member
Posts
165
Karma
1

Re: kmail hangs on synchronisation

Sat Dec 17, 2011 12:04 pm
bcooksley wrote:Is there any particular characteristic about this folder, like it having a large number of emails in it which could also be the issue?

That depends on what counts as a large number. Its about 4000.
The other thing is that the percentage point of hanging is going slightly down after each hanging from initial 97% now to 19%. The mails have all already been downloaded.

Markum


markum, proud to be a member of KDE forums since 2008-Nov.
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: kmail hangs on synchronisation

Tue Dec 20, 2011 6:47 am
Can you leave it running for a while? Sometimes part of the messages is downloaded after getting the main bits.


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

Re: kmail hangs on synchronisation

Wed Dec 21, 2011 8:59 pm
same issue
markum
Registered Member
Posts
165
Karma
1

Re: kmail hangs on synchronisation

Wed Dec 21, 2011 10:31 pm
einar wrote:Can you leave it running for a while? Sometimes part of the messages is downloaded after getting the main bits.

I can leave it running for a day, no change at all. The funny thing is that I had a testing version on Oneric running on another system in September which had many problems, but at least accessing emails kind of worked. Now it is much worse. I even tried with a clean Kmail. The issue is the same.


markum, proud to be a member of KDE forums since 2008-Nov.
swissinvestor
Registered Member
Posts
17
Karma
0
OS

Re: kmail hangs on synchronisation

Thu Dec 22, 2011 4:00 pm
the same here. After an automatic update from 4.7.2 to 4.7.3 the bloody thing just hangs and no access to emails anymore. Kmail is really becoming a pain in the.. and I wonder why such a broken software is released into the wild. Unacceptable.


markum wrote:
einar wrote:Can you leave it running for a while? Sometimes part of the messages is downloaded after getting the main bits.

I can leave it running for a day, no change at all. The funny thing is that I had a testing version on Oneric running on another system in September which had many problems, but at least accessing emails kind of worked. Now it is much worse. I even tried with a clean Kmail. The issue is the same.


Ubuntu 11.10 64
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: kmail hangs on synchronisation

Fri Dec 23, 2011 12:16 am


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
markum
Registered Member
Posts
165
Karma
1

Re: kmail hangs on synchronisation

Fri Dec 23, 2011 11:21 am
bcooksley wrote:Can those affected by this please check these two bugs?
https://bugs.kde.org/show_bug.cgi?id=279260
https://bugs.kde.org/show_bug.cgi?id=285676

Those bugs don't seem to have something to do with the problem. But I tried something else. I deleted/ renamed the Kmail2 and some Akonadi-related configs and started fresh. Instead of Offline-IMAP, I choose normal IMAP. Then my system got hammered with uncounted "Unbekannter Fehler. (Unable to append item flags.)". After it stopped, I see the folder structure, but I do not see any mails.

Markum


markum, proud to be a member of KDE forums since 2008-Nov.
markum
Registered Member
Posts
165
Karma
1

Re: kmail hangs on synchronisation

Fri Dec 23, 2011 1:21 pm
I started akonadi manually with akonadictl manually and received many messages
"Error during adding a record to table "PimItemFlagRelation" "Duplicate entry '121272-7' for key 'PRIMARY' QMYSQL3: Unable to execute statement"
I found a bug related to this
https://bugs.kde.org/show_bug.cgi?id=274799

Seams like a database corruption. Any idea how to delete the database without getting rid of the adressebook in Akonadi at the same time?


markum, proud to be a member of KDE forums since 2008-Nov.
dargaud
Registered Member
Posts
22
Karma
0
OS

Re: kmail hangs on synchronisation

Fri Dec 23, 2011 2:00 pm
Every kubuntu update 11.04 -> 11.10 has been a nightmare for kmail. The first PC is now okay and I thought the 2nd was also, but this morning the mail hangs as well:
Code: Select all
$ kmail
QPixmap::handle(): Pixmap is not an X11 class pixmap
"/usr/bin/kmail(11598)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
"/usr/bin/kmail(11598)" Soprano: "QLocalSocket::connectToServer: Invalid name"
"/usr/bin/kmail(11598)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"                                                                                                                   
"/usr/bin/kmail(11598)" Soprano: "QLocalSocket::connectToServer: Invalid name"                                                               
"/usr/bin/kmail(11598)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"                                                                                                                   
"/usr/bin/kmail(11598)" Soprano: "QLocalSocket::connectToServer: Invalid name"                                                               
"/usr/bin/kmail(11598)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"                                                                                                                   
"/usr/bin/kmail(11598)" Soprano: "Unsupported operation (2)": "Invalid model"                                                               
"/usr/bin/kmail(11598)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"                                                                                                                   
"/usr/bin/kmail(11598)" Soprano: "Unsupported operation (2)": "Invalid model"                                                               
"/usr/bin/kmail(11598)" Soprano: "Unsupported operation (2)": "Invalid model"                                                               
"/usr/bin/kmail(11598)" Soprano: "Invalid iterator."                                                                                         
"/usr/bin/kmail(11598)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"                                                                                                                   
"/usr/bin/kmail(11598)" Soprano: "QLocalSocket::connectToServer: Invalid name"                                                               
"/usr/bin/kmail(11598)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"                                                                                                                   
"/usr/bin/kmail(11598)" Soprano: "Unsupported operation (2)": "Invalid model"                                                               
"/usr/bin/kmail(11598)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"                                                                                                                   
"/usr/bin/kmail(11598)" Soprano: "Unsupported operation (2)": "Invalid model"                                                               
"/usr/bin/kmail(11598)" Soprano: "Unsupported operation (2)": "Invalid model"                                                               
"/usr/bin/kmail(11598)" Soprano: "Invalid iterator."                                                                                         
"/usr/bin/kmail(11598)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"                                                                                                                   
"/usr/bin/kmail(11598)" Soprano: "QLocalSocket::connectToServer: Invalid name"                                                               
QPixmap::handle(): Pixmap is not an X11 class pixmap                                                                                         
"/usr/bin/kmail(11598)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"                                                                                                                   
"/usr/bin/kmail(11598)" Soprano: "QLocalSocket::connectToServer: Invalid name"                                                               
"/usr/bin/kmail(11598)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
"/usr/bin/kmail(11598)" Soprano: "QLocalSocket::connectToServer: Invalid name"
"/usr/bin/kmail(11598)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
"/usr/bin/kmail(11598)" Soprano: "Unsupported operation (2)": "Invalid model"
"/usr/bin/kmail(11598)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
"/usr/bin/kmail(11598)" Soprano: "Unsupported operation (2)": "Invalid model"
"/usr/bin/kmail(11598)" Soprano: "Unsupported operation (2)": "Invalid model"
"/usr/bin/kmail(11598)" Soprano: "Invalid iterator."
"/usr/bin/kmail(11598)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
"/usr/bin/kmail(11598)" Soprano: "QLocalSocket::connectToServer: Invalid name"
kmail2(11598): Error while fetching items.  103 "Unknown error. (Cannot list root collection.)"

$ $ kmail --version
Qt: 4.7.4
KDE Development Platform: 4.7.3 (4.7.3)
KMail: 4.7.3


In some folders I can see the messages, while in others it hangs without showing anything, and canceling hangs as well.
Kmail2 is one of the worse piece of software I've had the displeasure to use. The problem is that I don't know any other mail reader that can import a kmail store...
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: kmail hangs on synchronisation

Sat Dec 24, 2011 6:45 am
@dargaud: Your issue looks like it might be Nepomuk related.

@markum: The database is only a cache, so it can be removed without problems. Please move ~/.local/share/akonadi/ elsewhere without Akonadi running.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
swissinvestor
Registered Member
Posts
17
Karma
0
OS

Re: kmail hangs on synchronisation

Sat Dec 24, 2011 10:47 am
surprise surprise. After 4 days of having lost the ability to read any emails, the "synchronising .. please wait" screen suddenly vanished and I could read my emails again.

I have ca 125 MB in my Inbox and altogether ca 10 GB of data.

I have no clue why it works again, and stopped fiddling around either. So it may just need 4 days to syncronize??

Whatever: Kmail has really become a pain in..



Ubuntu 11.10 64-bit with Kontact 4.7.3
swissinvestor
Registered Member
Posts
17
Karma
0
OS

Kmail2/Kontact - avoid at all cost

Tue Dec 27, 2011 8:02 pm
I have to correct my statement. Kmail worked for a while but now I am back to having no access to emails anymore. This will surely be the final nail to find a new home for my emails.

Again, it is "retrieving folder contents.. please wait" forever?

I am now really furious about how the Kmail developers treat/disrespect users and believe this is the main problem for this now unusable software, part of the explanation is here:
http://dilfridge.blogspot.com/2011/09/w ... tions.html

It is outrageous to throw such a broken piece of software at users.

I sadly have to agree with this verdict: AVOID AT ALL COST:
http://www.techradar.com/news/software/ ... ?artc_pg=2
dargaud
Registered Member
Posts
22
Karma
0
OS

Re: kmail hangs on synchronisation

Tue Dec 27, 2011 11:33 pm
I fully agree: IMAP is a FAIL. Imports from Kmail1 are a FAIL. Search is a FAIL (there's not even the option of which folder to search anymore). Those perpetual "wait while folder is loading" are a FAIL.

The main question now is "how do I migrate my mail store to something else" ? Anything else...


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], mesutakcan, Sogou [Bot]