After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 751979 - evolution-3.16.3: error about Contacts syncing shown: resource not found: https://developers.google.com/accounts/docs/AuthForInstalledApps
evolution-3.16.3: error about Contacts syncing shown: resource not found: htt...
Status: RESOLVED DUPLICATE of bug 749974
Product: evolution
Classification: Applications
Component: general
3.16.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
: 758581 762790 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2015-07-05 10:11 UTC by Pacho Ramos
Modified: 2016-02-29 15:30 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pacho Ramos 2015-07-05 10:11:02 UTC
I keep getting this error from time to time:
Failed to connect to 'Contactos'
No se encontró el recurso solicitado: https://developers.google.com/accounts/docs/AuthForInstalledApps


(the translation would be:
Contactos = Contacts
No se encontró... = Requested resource didn't found

In terminal I don't see any error related with this issues. That contacts account I think that comes from my pachoramos@gmail.com account, that was added with gnome online accounts and looks to work ok otherwise.

I am running evolution-3.16.3, this evolution-data-server snapshot (the last one today for 3.16 branch):
https://git.gnome.org/browse/evolution-data-server/snapshot/evolution-data-server-d3587d1e064ff46406a3bd137ebdd3625c339001.tar.xz

and gnome-online-accounts-3.16.3

Thanks a lot for your help
Comment 1 Milan Crha 2015-07-07 09:21:22 UTC
(In reply to Pacho Ramos from comment #0)
> That contacts account I think that comes from my gmail account, that was
> added with gnome online accounts and looks to work ok otherwise.

Thanks for a bug report. The GNOME Online Accounts use OAuth2, which doesn't produce that error. Could you look into the Contacts view, how many GMail accounts you've shown there, please? There should be ideally only one Contacts from your GMail.

Another option is that the corresponding ESource has set a wrong authentication method, ClientLogin, instead of OAuth2. You can search
   ~/.cache/evolution/sources
for one mentioning your GMail email address and [Address Book] section. It'll be the one from the Contacts view in the Evolution. The folder name you find it in corresponds to a .source file in
   ~/.config/evolution/sources
which is used as the parent source, and it should be a [Collection] with a reference to GNOME Online Accounts.
Comment 2 Pacho Ramos 2015-07-07 18:17:58 UTC
Ah, I see there are various Contacts there:
- One for pachoramos@gmail.com account (that is the one I configured using GOA). That looks to work ok
- Another for pachoramos1@gmail.com account -> that looks to be the one showing that error. That account was added from evolution as that is the only way that allows me to use POP3 because GOA doesn't allow that. 

Isn't possible for evolution to, even using its POP3 account, get *only* the contacts from GOA?

Thanks
Comment 3 Pacho Ramos 2015-07-07 18:18:30 UTC
Another suggestion would be to make the error message show the account that is causing it ;)
Comment 4 Milan Crha 2015-07-09 14:16:37 UTC
(In reply to Pacho Ramos from comment #2)
> Isn't possible for evolution to, even using its POP3 account, get *only* the
> contacts from GOA?

Sure, it is. Just create the account again, but at the last page, at the summary, do not check to add also Contacts and Calendars. Have these handled by the GOA.

(In reply to Pacho Ramos from comment #3)
> Another suggestion would be to make the error message show the account that
> is causing it ;)

Right, that's already done in the development version.

*** This bug has been marked as a duplicate of bug 749974 ***
Comment 5 Pacho Ramos 2015-07-13 17:43:05 UTC
Thanks a lot :D

Wouldn't be possible to not allow people to add "Contacts and Calendars" when gmail account is added? (looks like evolution is able to know how to tweak settings simply from "@gmail.com", then, maybe it could also prevent people from adding Contacts and Calendars from here taking advantage of this)
Comment 6 Milan Crha 2015-07-13 20:18:58 UTC
Calendars are fine, for now, it's only the Contacts part. I was thinking of disabling it, but didn't get to it yet. Well, until now.

Created commit 6adcf74 in evo master (3.17.4+)
Created commit 53dc4e4 in evo gnome-3-16 (3.16.5+)
Comment 7 Milan Crha 2015-11-24 10:58:29 UTC
*** Bug 758581 has been marked as a duplicate of this bug. ***
Comment 8 Milan Crha 2016-02-29 15:30:18 UTC
*** Bug 762790 has been marked as a duplicate of this bug. ***