Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 532668 - net-misc/googlecl-0.9.14 - /usr/bin/google calendar produces error 403
Summary: net-misc/googlecl-0.9.14 - /usr/bin/google calendar produces error 403
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard: Pending removal: 2016-09-21
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2014-12-16 00:44 UTC by DEMAINE Benoît-Pierre, aka DoubleHP
Modified: 2016-10-01 07:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DEMAINE Benoît-Pierre, aka DoubleHP 2014-12-16 00:44:08 UTC
Long time ago, I wrote this script:

G="/usr/bin/google"
U="MyEmail"
O="${BACKUP}/$(basename $0)_$(/bin/date +%Y-%m-%d_%H-%M-%S)"
for i in contacts calendar
do
        F="${O}.${i}.xml"
        "$G" -u "$U" "$i" list --title '.*' --fields xml > "${F}"
        gzip "${F}"
done

Since november 18th (18/11/2014) I get this error message on calendar:

Failed to get entries: {'status': 403, 'body': '<HTML>\n<HEAD>\n<TITLE>Forbidden</TITLE>\n</HEAD>\n<BODY BGCOLOR="#FFFFFF" TEXT="#000000">\n<H1>Forbidden</H1>\n<H2>Error 403</H2>\n</BODY>\n</HTML>\n', 'reason': 'Forbidden'}

contacts work fine; just as good as before (I checked 3 times: contacts really does what it should: get contacts). Only cal fails; means the error is not in my password, conf corruption, or account issue. The issue is ... well ... probably on Google side changing protos. Still, we need a fix.

On 17/11/14 it worked fine. It's a daily cron running at 5:17 AM, CET (Europe, Paris). 

I had been waiting a few days before reporting, in case there would be a fix on Google side, but apparently not.

These people seem to talk about the issue:
http://code.google.com/p/googlecl/issues/detail?id=567
Comment 1 Luca Santarelli 2016-08-27 09:47:59 UTC
Development has moves to https://github.com/vinitkumar/googlecl

By going through the existing commits, there is one in apr-2015 where support for the new gdata is added. I don't know if this fixes OP's issue, but at least the package removal for 2016-09-21 could be (at the very least) postponed?
Comment 2 Pacho Ramos gentoo-dev 2016-10-01 07:31:11 UTC
removed