FS#57954 - [gnome-online-accounts] google account not fully working (calendar, chat, possibly more)

Attached to Project: Arch Linux
Opened by Kacper Kopczyński (capsel) - Sunday, 25 March 2018, 17:59 GMT
Last edited by David Thurstenson (thurstylark) - Saturday, 12 March 2022, 18:59 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
I've installed system today. I did not restore any kind of backup home directory.
I've tried to add my two google accounts using online accounts - no errors (popups, red text...). E-mail become visible, so did contacts, but not calendar. empathy complains that it can't login.

All switches in account preferences are set to "on" there is no switch named chat.

Additional info:
* package version(s)
extra/gnome-online-accounts 3.27.92+3+gdde33649-1 [installed]
extra/libaccounts-glib 1.23-2 [installed]
extra/accountsservice 0.6.45-1 [installed]

Steps to reproduce:
- clean your home directory or setup new user.
- add google account
This task depends upon

Closed by  David Thurstenson (thurstylark)
Saturday, 12 March 2022, 18:59 GMT
Reason for closing:  Fixed
Comment by Kostas Kardaras (coxackie) - Thursday, 29 March 2018, 06:32 GMT
Same thing happens to me - fresh install, no events on calendar showing for my google account.
Comment by Paul Ignatenko (pignatenko) - Friday, 30 March 2018, 00:39 GMT
I can confirm this. Using 2 accounts Google calendars don't get synced on a new install.

However I found a work around here are the steps.

#0 Make sure you have your calendars selected here: https://calendar.google.com/calendar/syncselect

#1 set up GOA google account

#2 pacman -Syu evolution

#3 Run evolution.

#4 Nothing should work (this is normal)

#5 Close System Settings, pkill evolution; pkill goa / make sure no evolution/ goa services are running

#6 Open System Settings and make sure your account is still there

#7. pkill goa

#8 Navigate to .config/evolution/sources

#9 Find your evolution calendar for your Google account file by running grep Calendar *

Your output should look like

file.source:CalendarUrl=https://apidata.googleusercontent.com/caldav/v2/<ACCOUNT@GMAIL.COM>/user
file.source:CalendarEnabled=true
file.source:CalendarUrl=
file.source:CalendarAutoSchedule=false

This is the file you want.

#10 Edit the file and find the Authentication section, make sure your Method line looks like Method=0Auth2

#11 Start Evolution, your calendars should now start loading/syncing. Wait for them to load and sync.

#12 Start gnome-calendar, your calendars should now exist there.

#13 Close evolution and gnome-calendar. Logout or pkill evolution; pkill goa.

#14 Open gnome-calendar and make sure everything is still there.
Comment by Paul Ignatenko (pignatenko) - Friday, 30 March 2018, 01:00 GMT
Empathy won't work because hangouts doesn't support 3rd parties anymore.
Comment by Kostas Kardaras (coxackie) - Friday, 30 March 2018, 09:54 GMT
I can confirm that editing Method=OAuth2 in the Authentication section of the file found in step #9 of pignatenko's instructions above works. (NB: the "O" in "OAuth2" is an "Oh", not a zero). Not sure if this is a GOA bug, but it appears that the resolution is easy - hopefully a patch will appear soon.
Comment by Kacper Kopczyński (capsel) - Friday, 30 March 2018, 10:04 GMT
I can confirm solution to Calendars.
Empathy shows my gmail accounts in list of accounts despite the fact that there is no "chat" switch in GOA properties.
Is there a way to add hangout account to empathy?
Comment by Kacper Kopczyński (capsel) - Friday, 30 March 2018, 10:12 GMT
Empathy worked with gmail account on ubuntu last week.
Comment by mattia (nTia89) - Saturday, 12 March 2022, 09:02 GMT
I cannot reproduce the bug. Does recent version fixed your issue?

Loading...