[mythtv-users] mythcal updated for the new Google Calendar API
Eric Sharkey
eric at lisaneric.org
Thu Jan 15 22:49:51 UTC 2015
On Thu, Jan 15, 2015 at 2:05 PM, Richard Fearn <richardfearn at gmail.com> wrote:
> Hi,
>
> mythcal is a script that synchronises your MythTV recordings to your
> Google Calendar.
Interesting. I gave it a whirl, but it failed for me.
./mythcal --dry-run
Getting recordings from MythTV backend...
found 430 upcoming recording(s)
found 0 current recording(s)
Cache file does not exist.
Logging into Google Calendar...
Done.
Getting all calendars...
Traceback (most recent call last):
File "./mythcal", line 221, in <module>
calendars_feed = calendar_service.GetOwnCalendarsFeed()
File "/usr/lib/python2.7/dist-packages/gdata/calendar/service.py",
line 84, in GetOwnCalendarsFeed
return self.Get(uri, converter=gdata.calendar.CalendarListFeedFromString)
File "/usr/lib/python2.7/dist-packages/gdata/service.py", line 1107, in Get
'reason': server_response.reason, 'body': result_body}
gdata.service.RequestError: {'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'}
The login did succeed (I get a different error if I deliberately use a
wrong password) but the fetch of the calendar info still fails with
Forbidden for some reason.
Any ideas?
Eric
More information about the mythtv-users
mailing list