pimutils / pimutils/vdirsyncer

trouble with google "Contacts" calendar

Open
#759 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.9k
Forks
185
Avg merge
11h 49m
Merged PRs (30d)
1

Description

I have vdirsyncer working fine with google calendars except for the calendar named "Contacts". The error I get is:

warning: No collection "#contacts@group.v.calendar.google.com" found for storage google_calendar_remote.
Should vdirsyncer attempt to create it? [y/N]: N
critical: Unable to find or create collection "#contacts@group.v.calendar.google.com" 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:

#contacts@group.v.calendar.google.com

as opposed to the usual:

xxxx@group.calendar.google.com

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 = ["xxxxx@group.calendar.google.com"]
collections = ["#contacts@group.v.calendar.google.com"]

[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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with the provided vdirsyncer configuration and the #contacts@group.v.calendar.google.com collection, then inspect how the google_calendar storage handles collection discovery and creation. Done means determining whether this Google virtual calendar can sync successfully or documenting that it is unsupported.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.