Added Gmail resource. It authenticates just fine. However, it always stays in 'Ready' state (seen on Akonadi Configuration dialog) and never starts working. Also, nothing appears on folder list. Checking mail manually does not trigger anything. Reproducible: Always Steps to Reproduce: 1. Add a gmail resource to kmail Actual Results: Resource adds, authenticates fine, but nevers fetches folders/emails. Expected Results: It should start fetching folders and emails Following error appears in xsession-errors file: akonadi_gmail_resource_3(2140)/kdepimlibs (kimap) KIMAP::LoginJobPrivate::startAuthentication: sasl_client_start failed with: -1
If I look in the resource Schedulers page of akonadiconsole, then I can see that the gmail resource seems to be "hanging" in the step Custom-startConnect. At least this one stays on the status running .
fwiw, I don't see the sasl error. The resource just complains about a missing slot (No such slot PasswordRequesterInterface::onAuthFinished(KGAPI2::AccountPtr,bool) in /kde/src/4/pim/kdepim-runtime/resources/gmail/gmailpasswordrequester.cpp:47) and nothing happens (no visible account in KMail and nothing in the akonadiconsole browser view).
I can confirm the problem and I have a fix, but first Christian and I have to come up with a solution how to implement it in Gmail/IMAP resource.
Git commit 7e632ebfc186aeed6e4936da9e337e91f71bbe02 by Dan Vrátil. Committed on 16/07/2014 at 11:48. Pushed by dvratil into branch 'KDE/4.14'. Gmail resource: fix resource not being able to authenticate This was caused by IMAP resource parts and Gmail resource parts using different instance of Settings, which caused mess in configuration. FIXED-IN: 4.13.90 M +1 -1 resources/gmail/CMakeLists.txt M +38 -33 resources/gmail/gmailconfigdialog.cpp M +5 -2 resources/gmail/gmaillinkitemstask.cpp M +3 -1 resources/gmail/gmaillinkitemstask.h M +6 -4 resources/gmail/gmailpasswordrequester.cpp M +4 -1 resources/gmail/gmailpasswordrequester.h M +15 -4 resources/gmail/gmailresource.cpp M +5 -0 resources/gmail/gmailresource.h M +16 -66 resources/gmail/gmailsettings.cpp M +4 -10 resources/gmail/gmailsettings.h M +14 -14 resources/imap/settings.h http://commits.kde.org/kdepim-runtime/7e632ebfc186aeed6e4936da9e337e91f71bbe02
Git commit 90e98f05b5838c2497690170d92561ec66f7f680 by Dan Vrátil. Committed on 16/07/2014 at 13:05. Pushed by dvratil into branch 'KDE/4.14'. Gmail resource: Add missing Q_OBJECT macro M +2 -0 resources/gmail/gmailpasswordrequester.h http://commits.kde.org/kdepim-runtime/90e98f05b5838c2497690170d92561ec66f7f680