FS#41416 - [evolution-data-server] Google calendar cannot be synced anymore

Attached to Project: Arch Linux
Opened by Frederic Bezies (fredbezies) - Thursday, 31 July 2014, 20:43 GMT
Last edited by Jan de Groot (JGC) - Thursday, 25 June 2015, 04:51 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description: Since last evolution-data-server upgrade, google calendar are not synced. When I open evolution, I got this message :

"Impossible de se connecter à « Agenda » : Impossible d'ouvrir l'agenda : Authentification requise" which give in english :

"Unable to connect to "Agenda": Unable to open the calendar: Authentication Required"

I see this on my both computer.


Additional info:
evolution-data-server 3.12.4-2

Steps to reproduce: just upgrade to evolution-data-server 3.12.4-2 with a google calendar account.
This task depends upon

Closed by  Jan de Groot (JGC)
Thursday, 25 June 2015, 04:51 GMT
Reason for closing:  Fixed
Additional comments about closing:  Should be fixed in current evolution/gnome-online-accounts versions.
Comment by Frederic Bezies (fredbezies) - Friday, 01 August 2014, 08:04 GMT
I've done a fresh install in a VirtualBox machine... And same bug, same problem. Calendar cannot be opened, related to some authentication failure.
Comment by Oscar Garcia (ogarcia) - Saturday, 02 August 2014, 12:14 GMT
Same problem. Fresh laptop install. Configure fine my Google account in Gnome Online Accounts but Evolution calendar gives me the same error.
Comment by Frederic Bezies (fredbezies) - Sunday, 03 August 2014, 11:36 GMT
Tried to build both evolution-data-server and evolution with debug enabled, and here is what I get when I launch evolution from command line :

[fred@fredo-arch ~]$ evolution &
[1] 16622
[fred@fredo-arch ~]$
** (evolution:16622): CRITICAL **: categories_icon_theme_hack: assertion 'filename != NULL && *filename != '\0'' failed
No bp log location saved, using default.
[000:000] Cpu: 16.6.2, x2, 2700Mhz, 3957MB
[000:000] Computer model: Not available
[000:000] Browser XEmbed support present: 1
[000:000] Browser toolkit is Gtk2.
[000:009] Using Gtk2 toolkit
[000:038] Warning(optionsfile.cc:47): Load: Could not open file, err=2
[000:038] No bp log location saved, using default.
[000:039] Cpu: 16.6.2, x2, 2700Mhz, 3957MB
[000:039] Computer model: Not available
[000:039] Browser XEmbed support present: 1
[000:039] Browser toolkit is Gtk2.
[000:039] Using Gtk2 toolkit
No bp log location saved, using default.
[000:000] Cpu: 16.6.2, x2, 2700Mhz, 3957MB
[000:000] Computer model: Not available
[000:045] Warning(optionsfile.cc:47): Load: Could not open file, err=2
[000:045] No bp log location saved, using default.
[000:046] Cpu: 16.6.2, x2, 2700Mhz, 3957MB
[000:046] Computer model: Not available
[000:046] Browser XEmbed support present: 1
[000:046] Browser toolkit is Gtk2.
[000:046] Using Gtk2 toolkit
[000:005] Warning(optionsfile.cc:47): Load: Could not open file, err=2
[000:005] No bp log location saved, using default.
[000:006] Cpu: 16.6.2, x2, 2700Mhz, 3957MB
[000:006] Computer model: Not available
[000:014] Warning(optionsfile.cc:47): Load: Could not open file, err=2
[000:015] No bp log location saved, using default.
[000:015] Cpu: 16.6.2, x2, 2700Mhz, 3957MB
[000:015] Computer model: Not available
java version "1.7.0_65"
OpenJDK Runtime Environment (IcedTea 2.5.1) (Arch Linux build 7.u65_2.5.1-3-x86_64)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)

(evolution:16622): evolution-util-CRITICAL **: eti_get_accessible: assertion 'eti' failed

(evolution:16622): evolution-util-CRITICAL **: eti_get_accessible: assertion 'eti' failed

(evolution:16622): evolution-util-CRITICAL **: eti_get_accessible: assertion 'eti' failed

(evolution:16622): evolution-util-CRITICAL **: eti_get_accessible: assertion 'eti' failed

(evolution:16622): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(evolution:16622): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(evolution:16622): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(evolution:16622): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(evolution:16622): evolution-util-CRITICAL **: eti_get_accessible: assertion 'eti' failed

(evolution:16622): evolution-util-CRITICAL **: eti_get_accessible: assertion 'eti' failed

(evolution:16622): evolution-util-CRITICAL **: eti_get_accessible: assertion 'eti' failed

(evolution:16622): evolution-util-CRITICAL **: eti_get_accessible: assertion 'eti' failed

(evolution:16622): evolution-util-CRITICAL **: eti_get_accessible: assertion 'eti' failed

(evolution:16622): evolution-util-CRITICAL **: eti_get_accessible: assertion 'eti' failed

(evolution:16622): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(evolution:16622): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(evolution:16622): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(evolution:16622): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(evolution:16622): evolution-util-CRITICAL **: eti_get_accessible: assertion 'eti' failed

(evolution:16622): evolution-util-CRITICAL **: eti_get_accessible: assertion 'eti' failed

If you have any idea to find what is breaking google calendar support, I'm opened to it.
Comment by Jan de Groot (JGC) - Tuesday, 05 August 2014, 09:16 GMT
Please try last eds and evo packages.
Comment by Frederic Bezies (fredbezies) - Tuesday, 05 August 2014, 09:38 GMT
Bug is still there. Again : authentication required when opening evolution.

Error log in console :

[fred@fredo-arch ~]$ evolution &
[1] 1140
[fred@fredo-arch ~]$
** (evolution:1140): CRITICAL **: categories_icon_theme_hack: assertion 'filename != NULL && *filename != '\0'' failed
No bp log location saved, using default.
[000:000] Cpu: 16.6.2, x2, 2700Mhz, 3957MB
[000:000] Computer model: Not available
[000:000] Browser XEmbed support present: 1
[000:000] Browser toolkit is Gtk2.
[000:007] Using Gtk2 toolkit
[000:035] Warning(optionsfile.cc:47): Load: Could not open file, err=2
[000:035] No bp log location saved, using default.
[000:036] Cpu: 16.6.2, x2, 2700Mhz, 3957MB
[000:036] Computer model: Not available
[000:036] Browser XEmbed support present: 1
[000:036] Browser toolkit is Gtk2.
[000:036] Using Gtk2 toolkit
No bp log location saved, using default.
[000:000] Cpu: 16.6.2, x2, 2700Mhz, 3957MB
[000:000] Computer model: Not available
[000:043] Warning(optionsfile.cc:47): Load: Could not open file, err=2
[000:043] No bp log location saved, using default.
[000:043] Cpu: 16.6.2, x2, 2700Mhz, 3957MB
[000:043] Computer model: Not available
[000:043] Browser XEmbed support present: 1
[000:043] Browser toolkit is Gtk2.
[000:043] Using Gtk2 toolkit
[000:006] Warning(optionsfile.cc:47): Load: Could not open file, err=2
[000:006] No bp log location saved, using default.
[000:006] Cpu: 16.6.2, x2, 2700Mhz, 3957MB
[000:006] Computer model: Not available
[000:014] Warning(optionsfile.cc:47): Load: Could not open file, err=2
[000:014] No bp log location saved, using default.
[000:015] Cpu: 16.6.2, x2, 2700Mhz, 3957MB
[000:015] Computer model: Not available
java version "1.7.0_65"
OpenJDK Runtime Environment (IcedTea 2.5.1) (Arch Linux build 7.u65_2.5.1-3-x86_64)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)

(evolution:1140): evolution-util-CRITICAL **: eti_get_accessible: assertion 'eti' failed

(evolution:1140): evolution-util-CRITICAL **: eti_get_accessible: assertion 'eti' failed

(evolution:1140): evolution-util-CRITICAL **: eti_get_accessible: assertion 'eti' failed

(evolution:1140): evolution-util-CRITICAL **: eti_get_accessible: assertion 'eti' failed

(evolution:1140): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(evolution:1140): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(evolution:1140): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(evolution:1140): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(evolution:1140): evolution-util-CRITICAL **: eti_get_accessible: assertion 'eti' failed

(evolution:1140): evolution-util-CRITICAL **: eti_get_accessible: assertion 'eti' failed

(evolution:1140): evolution-util-CRITICAL **: eti_get_accessible: assertion 'eti' failed

(evolution:1140): evolution-util-CRITICAL **: eti_get_accessible: assertion 'eti' failed

(evolution:1140): evolution-util-CRITICAL **: eti_get_accessible: assertion 'eti' failed

(evolution:1140): evolution-util-CRITICAL **: eti_get_accessible: assertion 'eti' failed

(evolution:1140): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(evolution:1140): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(evolution:1140): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(evolution:1140): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(evolution:1140): evolution-util-CRITICAL **: eti_get_accessible: assertion 'eti' failed

(evolution:1140): evolution-util-CRITICAL **: eti_get_accessible: assertion 'eti' failed

Eds and evo packages ?

[fred@fredo-arch ~]$ pacman -Qi evolution | grep Version
Version : 3.12.4-2
[fred@fredo-arch ~]$ pacman -Qi evolution-data-server | grep Version
Version : 3.12.4-3

I even removed my previous google account and recreate it. No changes :(
Comment by Frederic Bezies (fredbezies) - Tuesday, 05 August 2014, 13:10 GMT
Here is what I tried. As it is an authentication problem, I downgraded libtasn (last upgrade of this package is near the beginning of empty dropdown display). No luck.

I tried to rebuild p11-kit (which depends on libtasn), and then gcr, gnome-online-accounts, eds and evolution. No more luck.

Maybe debug packages can help ?
Comment by Oscar Garcia (ogarcia) - Tuesday, 05 August 2014, 13:22 GMT
It works for me. @fredbezies, may be uninstall/reinstall packages and reconfiguración?
Comment by Frederic Bezies (fredbezies) - Tuesday, 05 August 2014, 13:41 GMT
@ogarcia : problem is that I can reproduce my bug using another distribution. Something is bad somewhere. But what ?

Cleaned up my profile from command line. Nothing is changed. Everything is up to date. So, any other idea besides moving gnome to /dev/null ?

I wanted to be sure this was not a testing related bug on my both computers. So, I installed archlinux and gnome *only* with stable repositories. And the bug is here.

Any idea ?
Comment by Frederic Bezies (fredbezies) - Tuesday, 05 August 2014, 14:28 GMT
Screenshot of my last try, with Archlinux and gnome, based on stable repositories. Any idea, cause it could not be related to my real computer here.
   001.png (276.2 KiB)
Comment by Frederic Bezies (fredbezies) - Tuesday, 05 August 2014, 17:58 GMT
Found a workaround for this nasty bug.

Looks like this bug is triggered when you're trying to synchronize a google calendar set up with online account wizard.

If you add by hand a google calendar account, display is working again. Weird !

I noticed that when I followed this howto : https://wiki.archlinux.org/index.php/Evolution#Gmail_Calendar

A little tweaking on bug "title" is now required, I think.

Loading...