Skip to content

Google calendar crashes with start/end date set #657

@vestingz

Description

@vestingz

I am using vdirsyncer v0.16.0, Python 3.6.2 on Arch 4.12.3-1. I set up a pair for syncing between my local calendar and the calendars of my organization hosted by Google. Discovering the collections (vdirsyncer discover) works well, as did the sync, at least for the first time. Since then I have been trying to sync this pair without any success; vdirsyncer returns "Unknown error..." (see debugfile).

Here is my (sanitized) config:

status_path = "~/.vdirsyncer/status/"

[storage calendar_remote]
type = "google_calendar"
read_only = "true"
token_file = "~/.vdirsyncer/token"
client_id = "<SOMETHING>.apps.googleusercontent.com"
client_secret = "<SOMETHING>"
start_date = "datetime.now() - timedelta(days=10)"
end_date = "datetime.now() + timedelta(days=100)"

[storage calendar_khal_loc]
type = "filesystem"
path = "~/.calendars/calendar_khal/"
fileext = ".ics"

[pair calendar_khal]
a = "calendar_khal_loc"
b = "calendar_remote"
collections = ["from a", "from b"]
partial_sync = "ignore"
conflict_resolution = "b wins"
metadata = ["displayname"]

and the error log:
out0.txt

Edit: I did some more testing and it seems that deleting everything in ~/.vdirsyncer/status/ helps.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions