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 737799 - Error while updating google address book
Error while updating google address book
Status: RESOLVED FIXED
Product: libgdata
Classification: Platform
Component: Google Contacts service
0.16.x
Other Linux
: Normal major
: ---
Assigned To: libgdata-maint
libgdata-maint
Depends on:
Blocks:
 
 
Reported: 2014-10-02 19:40 UTC by Ankur Sinha (FranciscoD)
Modified: 2014-11-16 13:38 UTC
See Also:
GNOME target: ---
GNOME version: 3.13/3.14



Description Ankur Sinha (FranciscoD) 2014-10-02 19:40:07 UTC
evolution-data-server-3.12.6-1.fc21.x86_64
gnome-online-accounts-3.14.0-1.fc21.x86_64

I noticed that contacts that I'd added over my android phone weren't showing up in evolutions contact list. When I went over to the addressbook view and right clicked to refresh my default google address book, I got the following error:


The backend for this address book was unable to parse this query. GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._e_2dclient_2derror_2dquark.Code16: Invalid request URI or header, or unsupported nonstandard parameter: <?xml version="1.0" encoding="UTF-8"?>
<errors xmlns="http://schemas.google.com/g/2005">
 <error>
  <domain>GData</domain>
  <code>invalid</code>
  <internalReason>Bad updated-min timestamp format: 2014-09-20T00:12:28.000001 00:00</internalReason>
 </error>
</errors>


I'm not sure what's causing it, but it seems to be 100% reproducible. I checked the contacts app, and my contacts aren't there either. I'm not sure if this is an e-d-s or g-o-a bug.

Thanks,
Ankur
Comment 1 Matthew Barnes 2014-10-02 21:54:04 UTC
Sounds like bug 732809, though the <internalReason> is slightly different.
Comment 2 Philip Withnall 2014-10-02 23:04:20 UTC
What version of libgdata are you using?
Comment 3 Stephen Gallagher 2014-10-02 23:20:35 UTC
I can confirm the issue with libgdata-0.16.0-1.fc21.x86_64
Comment 4 Ankur Sinha (FranciscoD) 2014-10-10 10:09:56 UTC
Hello,

Any updates on this? Any patches we could test? It'll be nice to get a fix in before Fedora 21 hits beta :)

Thanks,
Ankur
Comment 5 Ankur Sinha (FranciscoD) 2014-10-10 10:13:14 UTC
Note: If I go to evolution and add a google addressbook manually, it seems to work. This issue is therefore limited to contacts when they come via a G-O-A google account.
Comment 6 Ankur Sinha (FranciscoD) 2014-10-10 13:22:41 UTC
Looks like I spoke too soon - it sets up the addressbook just right - and gets all the contacts, but when it tries to *refresh*, it throws the same error.
Comment 7 Philip Withnall 2014-11-08 23:28:50 UTC
Ankur, does this issue still occur for you? Google recently made some changes which should have fixed it: https://code.google.com/a/google.com/p/apps-api-issues/issues/detail?id=3595
Comment 8 Ankur Sinha (FranciscoD) 2014-11-09 12:13:56 UTC
Hi Philip,

Yeah. I still seem to be getting it:

The backend for this address book was unable to parse this query. GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._e_2dclient_2derror_2dquark.Code16: Invalid request URI or header, or unsupported nonstandard parameter: <?xml version="1.0" encoding="UTF-8"?>
<errors xmlns="http://schemas.google.com/g/2005">
 <error>
  <domain>GData</domain>
  <code>invalid</code>
  <internalReason>Bad updated-min timestamp format: 2014-11-09T12:08:35.000001 00:00</internalReason>
 </error>
</errors>

Just to be sure, I removed my Google account using GOA and set it up again, but I still got the error.

Thanks,
Ankur
Comment 9 Philip Withnall 2014-11-09 22:18:51 UTC
OK, I’ve reverted to the old date format which libgdata was using, which should hopefully fix this issue (I certainly can’t reproduce it any more). Please re-open this report if the issue persists after 0.16.1 is released.

commit 732017e4e5235e28c578cc3367fa0c4548b65495
Author: Philip Withnall <philip@tecnocode.co.uk>
Date:   Sat Nov 8 23:33:28 2014 +0000

    core: Eliminate ISO 8601 formatting workaround for dates
    
    Google have fixed the issue upstream, so the workaround is no longer
    needed. Thanks Google!
    
    https://bugzilla.gnome.org/show_bug.cgi?id=737799
    https://code.google.com/a/google.com/p/apps-api-issues/issues/detail?id=3595

 gdata/gdata-parser.c | 20 +-------------------
 1 file changed, 1 insertion(+), 19 deletions(-)
Comment 10 Ankur Sinha (FranciscoD) 2014-11-16 13:38:16 UTC
Confirming that 0.16.1 fixes it for me. Thanks Philip.