-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failing to fetch events from personal Google/Google Apps Calendars #202
Comments
|
Not sure how my previous comment didn't get posted completely.
|
|
Thanks for the quick response. I know the google support is untested and I really appreciate your taking time to look at this anyway. I set but it didn't seem to make any difference. This is the first DAV client I've tried using, though I did try out I was doing a bit more searching around myself and I found this: https://developers.google.com/google-apps/calendar/caldav/v2/guide specifically:
which is the URL described in the page linked from the docs, so it may be just that the old API is failing me and Google expects everyone to migrate to the OAuth API. :-/ |
|
It is quite possible that Google is intentionally limiting the DAV API this way to force users and devs to OAuth (see also #8, personally I don't really care about Google support). What you can do at this point is using vdirsyncer's HTTP storage to access the "Private Addresses" in iCal format: This is insanely repetitive, but it probably works. |
|
FWIW I think you'll get a better user experience if you use e.g. gcalcli and other software that is specifically built around Google's infrastructure. |
|
I tried the ical/http option and that works for reading, which is all I need right now anyway. Thanks! The main reason I'd like to have vdirsyncer working is because it also works really well right now for me with my work (exchange) calendar and I'm willing to trade some functionality on the local update / push side for the convenience of using a single tool. Again, thanks for the assistance. |
|
You're welcome! |
I'm not convinced this is an issue at all and not just pilot error, but this is what I'm seeing.
I've configured vdirsyncer thus:
My password is enclosed in quotes because it contains a # mark.
vdirsyncer discoverseems to operate successfully and when I runvdirsyncer syncI see a bunch of stuff gets populated into/home/jjm/.calendars/gmail/eventsbut it turns out that nothing in there is actually out of my personal calendar, they're just the public holidays calendar (eg. New Year's Day, Martin Luther King Day, etc.).Looking at the instructions here: https://support.google.com/calendar/answer/99358 I thought perhaps I should change the url to be
url = https://www.google.com/calendar/dav/joe.macdonald@gmail.com/user/but that results in an error:This is all from a vdirsyncer I installed from git:
Current as of today and python2.7. I had previously installed directly via pip but that used python3.4 on my system (an up-to-date Debian 8 / Jessie) and failed in the same ways, so I tried using an older version of python also installed on my system. I did that with this command:
which ensures I'm using python2.7:
Does any of this make any sense? I looked for a similar issue in the list of open issues and didn't see one, but it's entirely possible I've just missed it, since I'm not really sure what I want to be searching for.
Oh, maybe it is worth mentioning, the first time I ran
vdirsyncer discoverit displayed this:Which I thought made since, since I had only create the top level
.calendars/directory, nothing underneath it.I've placed the debug output from my latest
vdirsyncer syncrun in a gist at https://gist.github.com/joeythesaint/6156d85a4e9d881020ddThe text was updated successfully, but these errors were encountered: