Reply to topic

Unable to add GMail account

jamanfred
Registered Member
Posts
7
Karma
0

Unable to add GMail account

Sun Aug 05, 2018 11:58 pm
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
jamanfred
Registered Member
Posts
7
Karma
0

Re: Unable to add GMail account

Wed Aug 15, 2018 2:35 am
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.
User avatar progdan
KDE Developer
Posts
90
Karma
0
OS

Re: Unable to add GMail account

Wed Aug 15, 2018 9:13 am
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)
jamanfred
Registered Member
Posts
7
Karma
0

Re: Unable to add GMail account

Thu Aug 16, 2018 2:38 pm
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:

Code: Select all
Could not find a package configuration file provided by "ECM" (requested
  version 5.48.0) with any of the following names:

    ECMConfig.cmake
    ecm-config.cmake

  Add the installation prefix of "ECM" to CMAKE_PREFIX_PATH or set "ECM_DIR"
  to a directory containing one of the above files.  If "ECM" provides a
  separate development package or SDK, be sure it has been installed.


Neither ECMConfig.cmake nor ecm-config.cmake exist in this repository.

So, is there a different development repository, or is this all there is?
User avatar progdan
KDE Developer
Posts
90
Karma
0
OS

Re: Unable to add GMail account

Thu Aug 16, 2018 7:00 pm
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)
facu
Registered Member
Posts
1
Karma
0

Re: Unable to add GMail account

Thu Feb 21, 2019 9:19 pm
Hi, try the following. Open KWalletManager > Search for LibKGAPI > Maps > *usercontent.com. Remove all entries from there.
Junfeng Qiao
Registered Member
Posts
1
Karma
0

Re: Unable to add GMail account

Tue Apr 23, 2019 8:35 am
facu wrote:Hi, try the following. Open KWalletManager > Search for LibKGAPI > Maps > *usercontent.com. Remove all entries from there.


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.

 
Reply to topic

Bookmarks



Who is online

Registered users: atopp, Baidu [Spider], Bing [Bot], boudewijn, duns, Exabot [Bot], Google [Bot], Google Adsense [Bot], liderbug, manuelsanchez, TheBeheader, tymond, Yahoo [Bot]