Registered Member
|
I'm trying to add a GMail account to KMail, but after the popup where I sign in to GMail and enable access to Akonadi Resources for Google Services, it says, "Authorizing token. This should take just a moment..." and after 20-30 seconds the popup disappears and proceeds to the "Secure your Communication" dialog. After proceeding, the account setup finishes, but the account does not appear in KMail.
At the Configure KMail screen, there is a message under my GMail account: "Could not read the password: user rejected wallet access" I've added one other GMail account successfully. After dealing with the same problem on the first account for a while, I signed in to GMail via a browser and found an email with a "security alert" in my inbox. I've added GMail accounts to KMail before and never had to deal with a security alert (I get one every time I add an account to an email client and have added this same account to another installation of KMail), but I went and confirmed that the activity was mine. I retried adding the first GMail account and the "Authorizing token" message went away after less than a second. The first account was successfully added. With this second account I've even tried answering the security alert and answering that the activity was mine, but I still get this error trying to add the account. Is this a bug? Is anyone else having this problem? System information: KMail 5.7.3 Fedora 28 |
Registered Member
|
Anyone? Still unable to add my second account. When the "Authorizing token" screen disappears, a "Resource Google Mail (my_email) is broken" message appears in the bottom right of my screen.
Even setting KDE Wallet to prompt on each attempt to access the wallet, then approving every request, results in a "User denied wallet access" error message. |
KDE Developer
|
Make sure to provide your full email address (with the @gmail.com suffix) in the "username" field in the account settings dialog.
We improved this for the next release.
Daniel Vrátil | www.dvratil.cz | dvratil@kde.org
IRC: dvratil on Freenode (#kde, #kontact, #akonadi, #fedora-kde) |
Registered Member
|
Is there a git repository or something similar where we can keep up with the development process? I was only able to find this page on the KDE UserBase Wiki (https://userbase.kde.org/KMail/Linux) last updated in 2013, which links to a server with files that, for the most part, haven't been updated since 2011.
I was also able to find this page on kde.org (https://www.kde.org/applications/office/kontact/development), 5 links deep into the site, but when I cloned the repo I couldn't find any compilation instructions, just a bunch of comments between developers. The repository is not viewable (anongit.kde.org gives a 403 forbidden error) and the TODO document included specifies things to be taken care of before KDE 3.2 is released. Since KDE 4 was released in 2008, this document points to this repository also being out of date. There is a docbook included in the doc directory, but cmake fails to build even a single part of the documentation due to "Unknown CMake command 'kdoctools_create_handbook'." It looks like the documentation's copyright hasn't been updated since 2005 and the docbook itself hasn't been updated since 2016. Running cmake on the top level directory results in:
Neither ECMConfig.cmake nor ecm-config.cmake exist in this repository. So, is there a different development repository, or is this all there is? |
KDE Developer
|
Hi,
there's https://community.kde.org/KDE_PIM which is reasonably up-to-date. To compile the whole suite and run it in parallel with your distribution installation, I highly recommend using the Docker container which already has dependencies and the environment set up and all you need to do is to compile the PIM stack. Feel free to talk to us on the kde-pim mailing list if you run into any troubles with the Docker or generally with getting the thing up and running (it's a bit of a beast and things don't always go smothly )
Daniel Vrátil | www.dvratil.cz | dvratil@kde.org
IRC: dvratil on Freenode (#kde, #kontact, #akonadi, #fedora-kde) |
Registered Member
|
Hi, try the following. Open KWalletManager > Search for LibKGAPI > Maps > *usercontent.com. Remove all entries from there.
|
Registered Member
|
Thanks! I have been puzzled by this weird behavior for a year. And finally, your solution solved my problem. Thank you for sharing the trick. |
KDE Developer
|
The same error happened to me today (using release/21.04 branch) after wiping out my akonadi DB (due to the mariadb bug mentioned in https://bugs.archlinux.org/task/68681)
Recreating the gmail resource led to that error about "user rejected wallet access" (completely untrue). Deleting the LIBKGAPI entries in kwalletmanager5 fixed it. @Dan: could the re-creation of the resource or more generally the staleness of the wallet entries be detected, for a better user experience? At least the handling of the wallet error code could be improved somewhere |
Registered users: Bing [Bot], claydoh, gfielding, Google [Bot], markhm, sethaaaa, Sogou [Bot], Yahoo [Bot]