vdirsyncer
vdirsyncer copied to clipboard
trouble with google "Contacts" calendar
I have vdirsyncer working fine with google calendars except for the calendar named "Contacts". The error I get is:
warning: No collection "#[email protected]" found for storage google_calendar_remote.
Should vdirsyncer attempt to create it? [y/N]: N
critical: Unable to find or create collection "#[email protected]" for storage "google_calendar_remote". Please create the collection yourself.
error: 1 out of 1 tasks failed.
This calendar is some sort of virtual calendar created automatically by google (it's populated with birthdays gathered from the contacts). The ID of this calendar seems to be of a different format than the other calendars:
as opposed to the usual:
This the config file I'm using (which as I said works fine for the other calendars):
[general]
status_path = "/Users/uriel/.config/vdirsyncer/status/"
[pair google_contacts]
a = "google_calendar_remote"
b = "google_calendar_local"
#collections = ["[email protected]"]
collections = ["#[email protected]"]
[storage google_calendar_local]
type = "filesystem"
path = "/Users/uriel/.calendars/google/"
fileext = ".ics"
[storage google_calendar_remote]
type = "google_calendar"
token_file = "~/.config/vdirsyncer/token_file"
client_id = xxx
client_secret = xxx
Any help would be appreciated. Thanks.
My system:
- Your vdirsyncer version: 0.16.4
- Your Python version: 3.6
- Your operating system: macOS 10.13.6