vdirsyncer icon indicating copy to clipboard operation
vdirsyncer copied to clipboard

google_contacts storage doesn't take the parameters: type

Open waclaw66 opened this issue 2 years ago • 0 comments

  • Your vdirsyncer version - 1f7497c9d1dd6018cb277a51ebf59a551bfb20f0
  • Your Python version - 3.10.5
  • Your operating system - Fedora 36
[general]
status_path = "/var/lib/vdirsyncer"

[pair google_to_local]
a = "google_contacts"
b = "local_contacts"
collections = ["from a", "from b"]

[pair nextcloud_to_local]
a = "nextcloud_contacts"
b = "local_contacts"
collections = ["from a", "from b"]

[storage local_contacts]
type = "filesystem"
path = "/var/lib/vdirsyncer/contacts/"
fileext = ".vcf"

[storage nextcloud_contacts]
type = "carddav"
url = "https://[redacted]"
username = "[redacted]"
password = "[redacted]"

[storage google_contacts]
type = "google_contacts"
token_file = "/var/lib/vdirsyncer/google_token"
client_id = "[redacted]"
client_secret = "[redacted]"

Command: /opt/vdirsyncer/bin/python -m vdirsyncer -vdebug --config /etc/vdirsyncer/config discover

Output:

Discovering collections for pair google_to_local
critical: Failed to initialize google_contacts
critical:   - google_contacts storage doesn't take the parameters: type

waclaw66 avatar Jul 01 '22 05:07 waclaw66